[PATCH v2 12/14] arm64: dts: allwinner: sun60i-a733-cubie-a7a: Enable USB 3.0

From: Alastair D'Silva

Date: Mon Nov 30 2026 - 00:36:05 EST


Enable the DWC3 controller, USB2 PHY, and combophy0 on the Radxa Cubie
A7A. Add the PL2-controlled 5V VBUS regulator for the Type-A USB 3.0
host port and wire combophy0 to CLDO5.

Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
---
.../dts/allwinner/sun60i-a733-cubie-a7a.dts | 25 +++++++++++++++++++
1 file changed, 25 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..07cf59d9c597 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,21 @@ reg_vcc5v: regulator-5v {
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
+
+ reg_usb3_vbus: regulator-usb3-vbus {
+ compatible = "regulator-fixed";
+ regulator-name = "usb3-vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpios = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
+ enable-active-high;
+ vin-supply = <&reg_vcc5v>;
+ };
+};
+
+&combophy0 {
+ phy-supply = <&reg_cldo5>;
+ status = "okay";
};

&cpu0 {
@@ -103,6 +118,12 @@ &cpu7 {
cpu-supply = <&reg_dcdc3>;
};

+&dwc3 {
+ vbus-supply = <&reg_usb3_vbus>;
+ dr_mode = "host";
+ status = "okay";
+};
+
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pg_pins>;
@@ -378,6 +399,10 @@ &rtc {
clock-names = "bus", "hosc", "ahb", "ext-osc32k";
};

+&u2phy {
+ status = "okay";
+};
+
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pb_pins>;
--
2.53.0