[PATCH v5 2/2] arm64: dts: allwinner: h6: Add Orange Pi 3 LTS

From: Cristian Filipescu via B4 Relay

Date: Mon Nov 16 2026 - 11:44:43 EST


From: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>

Add the board description for the Allwinner H6-based Orange Pi 3 LTS,
using the common Orange Pi H6 description for shared hardware.
Describe the LTS regulators, storage, Motorcomm YT8531C Ethernet PHY,
wireless module supplies, LEDs and USB ports.

Reset the sole Ethernet PHY at MDIO bus registration and keep reset
outside interface detach so its configured 125 MHz output is retained.
Use generic Clause 22 discovery and PHY-internal RGMII delays.

Inherit the schematic LED roles and defaults: red power on and green
status off. Select the weakest GPIO drive level for both LEDs and enable
1.8 V eMMC DDR52 and HS200 modes while retaining the H6 maximum frequency
of 150 MHz. Inherit the CPU/GPU OPP tables, CPU supply and regulator ramp
delays from the common include. Remove inherited USB ID detection for
fixed host mode.

Link: https://lore.kernel.org/linux-sunxi/20250413134318.66681-3-jernej.skrabec@xxxxxxxxx/
Signed-off-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
Signed-off-by: Cristian Filipescu <filipescu.cristian@xxxxxxxxx>
---
arch/arm64/boot/dts/allwinner/Makefile | 1 +
.../dts/allwinner/sun50i-h6-orangepi-3-lts.dts | 164 +++++++++++++++++++++
2 files changed, 165 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/Makefile b/arch/arm64/boot/dts/allwinner/Makefile
index d1f768dd6..da39f0225 100644
--- a/arch/arm64/boot/dts/allwinner/Makefile
+++ b/arch/arm64/boot/dts/allwinner/Makefile
@@ -42,6 +42,7 @@ dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h5-orangepi-zero-plus2.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-beelink-gs1.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3.dtb
+dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-3-lts.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-lite2.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-orangepi-one-plus.dtb
dtb-$(CONFIG_ARCH_SUNXI) += sun50i-h6-pine-h64.dtb
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
new file mode 100644
index 000000000..6dbdba4a8
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
@@ -0,0 +1,164 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2025 Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
+// Based on sun50i-h6-orangepi-3.dts, which is:
+// Copyright (C) 2019 Ondřej Jirman <megous@xxxxxxxxxx>
+
+#include "sun50i-h6-orangepi.dtsi"
+
+/ {
+ model = "OrangePi 3 LTS";
+ compatible = "xunlong,orangepi-3-lts", "allwinner,sun50i-h6";
+
+ aliases {
+ ethernet0 = &emac;
+ ethernet1 = &aw859a;
+ };
+
+ leds {
+ led-0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_red_pin>;
+ };
+
+ led-1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&led_green_pin>;
+ };
+ };
+
+ reg_gmac_3v3: gmac-3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "gmac-3v3";
+ vin-supply = <&reg_vcc5v>;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ startup-delay-us = <150000>;
+ enable-active-high;
+ gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>; /* PD6 */
+ };
+
+ reg_wifi_3v3: wifi-3v3 {
+ /* 3.3V regulator for WiFi and BT */
+ compatible = "regulator-fixed";
+ regulator-name = "wifi-3v3";
+ vin-supply = <&reg_vcc5v>;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ enable-active-high;
+ gpio = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+ };
+
+ wifi_pwrseq: wifi-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ clocks = <&rtc CLK_OSC32K_FANOUT>;
+ clock-names = "ext_clock";
+ reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
+ post-power-on-delay-ms = <200>;
+ };
+};
+
+&axp805 {
+ /* ALDO3 is shorted to CLDO1; both inherit regulator-always-on. */
+ regulators {
+ cldo2 {
+ /* unused */
+ /delete-property/ regulator-min-microvolt;
+ /delete-property/ regulator-max-microvolt;
+ };
+
+ cldo3 {
+ /* unused */
+ /delete-property/ regulator-min-microvolt;
+ /delete-property/ regulator-max-microvolt;
+ };
+
+ /* DCDCB is polyphased with DCDCA. */
+ dcdca {
+ regulator-min-microvolt = <800000>;
+ };
+ };
+};
+
+&dwc3 {
+ status = "okay";
+};
+
+&emac {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ext_rgmii_pins>;
+ phy-mode = "rgmii-id";
+ phy-handle = <&ext_rgmii_phy>;
+ phy-supply = <&reg_gmac_3v3>;
+ allwinner,rx-delay-ps = <0>;
+ allwinner,tx-delay-ps = <0>;
+ status = "okay";
+};
+
+&hdmi {
+ hvcc-supply = <&reg_bldo2>;
+};
+
+&mdio {
+ reset-gpios = <&pio 3 14 GPIO_ACTIVE_LOW>; /* PD14 */
+ reset-delay-us = <15000>;
+ reset-post-delay-us = <100000>;
+
+ ext_rgmii_phy: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+
+ motorcomm,clk-out-frequency-hz = <125000000>;
+ rx-internal-delay-ps = <1950>;
+ tx-internal-delay-ps = <1950>;
+ };
+};
+
+&mmc1 {
+ vmmc-supply = <&reg_wifi_3v3>;
+ vqmmc-supply = <&reg_bldo3>;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ bus-width = <4>;
+ non-removable;
+ status = "okay";
+
+ aw859a: wifi@1 {
+ reg = <1>;
+ };
+};
+
+&mmc2 {
+ vmmc-supply = <&reg_cldo1>;
+ vqmmc-supply = <&reg_bldo2>;
+ mmc-ddr-1_8v;
+ mmc-hs200-1_8v;
+ cap-mmc-hw-reset;
+ non-removable;
+ bus-width = <8>;
+ status = "okay";
+};
+
+&pio {
+ vcc-pg-supply = <&reg_bldo3>;
+};
+
+&r_pio {
+ led_green_pin: led-green-pin {
+ pins = "PL7";
+ function = "gpio_out";
+ drive-strength = <10>;
+ };
+
+ led_red_pin: led-red-pin {
+ pins = "PL4";
+ function = "gpio_out";
+ drive-strength = <10>;
+ };
+};
+
+&usb2phy {
+ /delete-property/ usb0_id_det-gpios;
+};
+
+&usb3phy {
+ status = "okay";
+};

--
2.47.3