[PATCH v2 9/9] arm64: dts: allwinner: cubie-a7z: Enable PCIe

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


Enable the Cadence Combo PHY and PCIe Root Complex for the 16-pin FPC
PCIe connector on the Radxa Cubie A7Z.

Use CLDO5 for the 1.8V PHY supply, PD20 for PCIe power enable, and PD22
for PERST# per the v1.10, v1.11, and v2.00 schematics.

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

diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
index 049e6b67c23a..48c09a00d126 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7z.dts
@@ -60,6 +60,16 @@ reg_ps: regulator-ps-output {
 		vin-supply = <&reg_vcc5v0>;
 	};
 
+	reg_vcc3v3_pcie: regulator-vcc3v3-pcie {
+		compatible = "regulator-fixed";
+		regulator-name = "vcc3v3-pcie";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
+		enable-active-high;
+		vin-supply = <&reg_vcc5v0>;
+	};
+
 	/* Board wide 5 V supply from the USB-C connector. */
 	reg_vcc5v0: regulator-vcc5v0 {
 		compatible = "regulator-fixed";
@@ -70,6 +80,11 @@ reg_vcc5v0: regulator-vcc5v0 {
 	};
 };
 
+&combophy1 {
+	phy-supply = <&reg_cldo5>;
+	status = "okay";
+};
+
 &cpu0 {
 	cpu-supply = <&reg_dcdc5>;
 };
@@ -117,6 +132,12 @@ &mmc0 {
 	status = "okay";
 };
 
+&pcie {
+	reset-gpios = <&pio 3 22 GPIO_ACTIVE_LOW>; /* PD22 */
+	vpcie3v3-supply = <&reg_vcc3v3_pcie>;
+	status = "okay";
+};
+
 &pio {
 	/* VCC-IO */
 	vcc-pb-supply = <&reg_swout2>;
-- 
2.53.0




More information about the linux-arm-kernel mailing list