[PATCH v2 7/9] arm64: dts: allwinner: sun60i-a733-cubie-a7a: Enable USB 2.0 host
From: Alastair D'Silva
Date: Sun Nov 29 2026 - 20:17:50 EST
Add the USB1 VBUS regulator (PL2) and enable usbphy, ehci1, and ohci1 on
the Radxa Cubie A7A.
Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
---
.../dts/allwinner/sun60i-a733-cubie-a7a.dts | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
index 9017cadf6c6a..c10fe2014e76 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733-cubie-a7a.dts
@@ -69,6 +69,17 @@ reg_vcc5v: regulator-5v {
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
+
+ /* SGM2576 current-limited VBUS switch for the USB-A 3.0 port */
+ reg_usb1_vbus: regulator-usb1-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb1-vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ vin-supply = <®_vcc5v>;
+ gpios = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
+ enable-active-high;
+ };
};
&cpu0 {
@@ -103,6 +114,10 @@ &cpu7 {
cpu-supply = <®_dcdc3>;
};
+&ehci1 {
+ status = "okay";
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pg_pins>;
@@ -132,6 +147,10 @@ &hosc {
clock-frequency = <26000000>;
};
+&ohci1 {
+ status = "okay";
+};
+
&pio {
vcc-pb-supply = <®_swout2>; // via VCC-IO
vcc-pc-supply = <®_cldo5>;
@@ -383,3 +402,8 @@ &uart0 {
pinctrl-0 = <&uart0_pb_pins>;
status = "okay";
};
+
+&usbphy {
+ usb1_vbus-supply = <®_usb1_vbus>;
+ status = "okay";
+};
--
2.53.0