[PATCH 10/11] arm64: dts: allwinner: sun60i-a733: Add USB 3.0 controller and PHYs

From
Alastair D'Silva <hidden>
Date
2026-11-27 07:33:52
Also in
linux-arm-kernel, linux-clk, linux-phy, linux-sunxi, linux-usb, lkml
Reply to
Alastair D'Silva, 2026-11-27
Add dwc3, u2phy, and combophy0 nodes to sun60i-a733.dtsi.

Signed-off-by: Alastair D'Silva <redacted>
---
 .../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 61 +++++++++++++++++++
 1 file changed, 61 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
index 8ac2fcd11937..6999adfc246c 100644
--- a/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun60i-a733.dtsi
@@ -4,6 +4,7 @@
 #include <dt-bindings/clock/allwinner,sun60i-a733-r-ccu.h>
 #include <dt-bindings/clock/sun6i-rtc.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/phy/phy.h>
 #include <dt-bindings/power/allwinner,sun60i-a733-pck-600.h>
 #include <dt-bindings/reset/allwinner,sun60i-a733-ccu.h>
 #include <dt-bindings/reset/allwinner,sun60i-a733-r-ccu.h>
@@ -547,12 +548,72 @@ mmc2: mmc@4022000 {
 			status = "disabled";
 		};
 
+		dwc3: usb@6a00000 {
+			compatible = "allwinner,sun60i-a733-dwc3";
+			reg = <0x06a00000 0x100000>;
+			interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&ccu CLK_BUS_USB2>,
+				 <&ccu CLK_USB2_MF>,
+				 <&ccu CLK_USB2_SUSPEND>,
+				 <&ccu CLK_AHB_USB_SYS>,
+				 <&ccu CLK_USB2_U3_UTMI>,
+				 <&ccu CLK_USB2_U2_PIPE>,
+				 <&ccu CLK_USB2_SYS>;
+			clock-names = "bus_early", "ref", "suspend",
+				      "ahb", "utmi", "pipe", "sys";
+			assigned-clocks = <&ccu CLK_USB2_SUSPEND>,
+					  <&ccu CLK_USB2_MF>;
+			assigned-clock-parents = <&ccu CLK_SYS_24M>,
+						 <&ccu CLK_SYS_24M>;
+			assigned-clock-rates = <24000000>, <24000000>;
+			resets = <&ccu RST_BUS_USB2>;
+			power-domains = <&pck600 PD_USB2>;
+			phys = <&u2phy>, <&combophy0 PHY_TYPE_USB3>;
+			phy-names = "usb2-phy", "usb3-phy";
+			maximum-speed = "super-speed-plus";
+			phy_type = "utmi";
+			snps,dis_enblslpm_quirk;
+			snps,dis-u1-entry-quirk;
+			snps,dis-u2-entry-quirk;
+			snps,dis_u2_susphy_quirk;
+			snps,dis_u3_susphy_quirk;
+			status = "disabled";
+		};
+
+		u2phy: phy@6b00000 {
+			compatible = "allwinner,sun60i-a733-u2phy";
+			reg = <0x06b00000 0x800>;
+			clocks = <&ccu CLK_BUS_OTG>, <&ccu CLK_AHB_USB_SYS>;
+			clock-names = "bus", "ahb";
+			resets = <&ccu RST_BUS_OTG>;
+			#phy-cells = <0>;
+			status = "disabled";
+		};
+
 		serdes_syscon: syscon@6c00000 {
 			compatible = "allwinner,sun60i-a733-serdes-syscon",
 				     "syscon";
 			reg = <0x06c00000 0x8000>;
 		};
 
+		combophy0: phy@6c80000 {
+			compatible = "allwinner,sun60i-a733-combophy0";
+			reg = <0x06c80000 0x20000>;
+			clocks = <&ccu CLK_SERDES_PHY>,
+				 <&ccu CLK_AHB_SERDES>,
+				 <&ccu CLK_MBUS_SERDES>,
+				 <&rtc CLK_HOSC_SERDES0>;
+			clock-names = "serdes", "ahb", "mbus", "ref";
+			assigned-clocks = <&ccu CLK_SERDES_PHY>;
+			assigned-clock-parents = <&ccu CLK_PLL_PERIPH0_600M>;
+			assigned-clock-rates = <100000000>;
+			resets = <&ccu RST_BUS_SERDES>;
+			power-domains = <&pck600 PD_PCIE>;
+			#phy-cells = <1>;
+			allwinner,serdes-syscon = <&serdes_syscon>;
+			status = "disabled";
+		};
+
 		r_ccu: clock-controller@7010000 {
 			compatible = "allwinner,sun60i-a733-r-ccu";
 			reg = <0x07010000 0x250>;
-- 
2.53.0
Thread (15 messages) 15 messages, 3 authors, last reply 4d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help