[PATCH v2 6/9] arm64: dts: allwinner: orangepi-4-pro: Enable PCIe

Alastair D'Silva alastair at d-silva.org
Sun Nov 29 21:24:47 PST 2026


Enable the Cadence Combo PHY and PCIe Root Complex for the M.2 Key-M
slot on the Xunlong OrangePi 4 Pro.

Add the CLDO5 1.8V PHY supply and PL3-controlled 3.3V slot regulator,
with PERST# on PD22.

Signed-off-by: Alastair D'Silva <alastair at d-silva.org>
---
 .../allwinner/sun60i-a733-orangepi-4-pro.dts  | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-orangepi-4-pro.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-orangepi-4-pro.dts
index 68ad09bb5d3b..57cd8a1bf46d 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-orangepi-4-pro.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-orangepi-4-pro.dts
@@ -21,6 +21,20 @@ aliases {
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
+
+	reg_vcc3v3_pcie: regulator-vcc3v3-pcie {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3-pcie";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */
+		enable-active-high;
+	};
+};
+
+&combophy1 {
+	phy-supply = <&reg_cldo5>;
+	status = "okay";
 };
 
 &hosc {
@@ -35,6 +49,12 @@ &mmc0 {
 	status = "okay";
 };
 
+&pcie {
+	reset-gpios = <&pio 3 22 GPIO_ACTIVE_LOW>; /* PD22 */
+	vpcie3v3-supply = <&reg_vcc3v3_pcie>;
+	status = "okay";
+};
+
 &r_i2c0 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&r_i2c0_pl_pins>;
@@ -50,6 +70,12 @@ axp318w: pmic at 36 {
 		#interrupt-cells = <1>;
 
 		regulators {
+			reg_cldo5: cldo5 {
+				regulator-name = "vcc18-pcie-combo";
+				regulator-min-microvolt = <1800000>;
+				regulator-max-microvolt = <1800000>;
+			};
+
 			reg_dcdc2: dcdc2 {
 				regulator-name = "vdd-cpu";
 				regulator-min-microvolt = <500000>;
-- 
2.53.0




More information about the linux-arm-kernel mailing list