sunxi: dts: arm64: update devicetree files
Subsystems (3)
PATCH 1/1 sunxi: dts: arm64: update devicetree files
Sync the devicetree files from the Linux kernel repo, v6.2-rc2. This enables GPU power management in the kernel for the H6, enables Bluetooth on the Pinebook, and enables USB on the H616 devices (just for newer Linux kernels at the moment, U-Boot support is pending).
As before, this omits the non-backwards compatible changes to the R_INTC controller, to remain compatible with older kernels.
Signed-off-by Andre Przywara <[email protected]>
--- arch/arm/dts/axp803.dtsi | 10 -- arch/arm/dts/sun50i-a64-pinebook.dts | 14 ++ arch/arm/dts/sun50i-h6-beelink-gs1.dts | 1 + arch/arm/dts/sun50i-h6-gpu-opp.dtsi | 87 +++++++++++ arch/arm/dts/sun50i-h6.dtsi | 52 ++++++- arch/arm/dts/sun50i-h616-orangepi-zero2.dts | 41 +++++ arch/arm/dts/sun50i-h616-x96-mate.dts | 25 +++ arch/arm/dts/sun50i-h616.dtsi | 160 ++++++++++++++++++++ 8 files changed, 378 insertions(+), 12 deletions(-) create mode 100644 arch/arm/dts/sun50i-h6-gpu-opp.dtsi
arch/arm/dts/axp803.dtsi +0 -10
@@ -25,16 +25,6 @@ compatible = "x-powers,axp803-gpio", "x-powers,axp813-gpio"; gpio-controller; #gpio-cells = <2>; - - gpio0_ldo: gpio0-ldo-pin { - pins = "GPIO0"; - function = "ldo"; - }; - - gpio1_ldo: gpio1-ldo-pin { - pins = "GPIO1"; - function = "ldo"; - }; }; battery_power_supply: battery-power {
arch/arm/dts/sun50i-a64-pinebook.dts +14 -0
@@ -406,6 +406,20 @@ status = "okay"; }; +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "realtek,rtl8723cs-bt"; + device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */ + enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ + host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + }; +}; + &usb_otg { dr_mode = "host"; };
arch/arm/dts/sun50i-h6-beelink-gs1.dts +1 -0
@@ -5,6 +5,7 @@ #include "sun50i-h6.dtsi" #include "sun50i-h6-cpu-opp.dtsi" +#include "sun50i-h6-gpu-opp.dtsi" #include <dt-bindings/gpio/gpio.h>
arch/arm/dts/sun50i-h6-gpu-opp.dtsi new file +87 -0
87 lines not on this page · raw message
arch/arm/dts/sun50i-h6.dtsi +50 -2
71 lines not on this page · raw message
arch/arm/dts/sun50i-h616-orangepi-zero2.dts +41 -0
58 lines not on this page · raw message
arch/arm/dts/sun50i-h616-x96-mate.dts +25 -0
@@ -32,6 +32,14 @@ }; }; +&ehci0 { + status = "okay"; +}; + +&ehci2 { + status = "okay"; +}; + &ir { status = "okay"; };
@@ -54,6 +62,14 @@ status = "okay"; }; +&ohci0 { + status = "okay"; +}; + +&ohci2 { + status = "okay"; +}; + &r_rsb { status = "okay";
@@ -175,3 +191,12 @@ pinctrl-0 = <&uart0_ph_pins>; status = "okay"; }; + +&usbotg { + dr_mode = "host"; /* USB A type receptable */ + status = "okay"; +}; + +&usbphy { + status = "okay"; +};
arch/arm/dts/sun50i-h616.dtsi +160 -0
166 lines not on this page · raw message
Signature · 1 line
2.35.5