[PATCH 05/11] dt-bindings: usb: allwinner,sun60i-a733-dwc3: Add Allwinner A733 DWC3

From
Alastair D'Silva <hidden>
Date
2026-11-27 07:33:17
Also in
linux-clk, linux-devicetree, linux-phy, linux-sunxi, linux-usb, lkml
Reply to
Alastair D'Silva, 2026-11-27
Add DT binding schema for the Allwinner A733 DWC3 USB 3.0 controller.

Signed-off-by: Alastair D'Silva <redacted>
---
 .../usb/allwinner,sun60i-a733-dwc3.yaml       | 103 ++++++++++++++++++
 1 file changed, 103 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/allwinner,sun60i-a733-dwc3.yaml
diff --git a/Documentation/devicetree/bindings/usb/allwinner,sun60i-a733-dwc3.yaml b/Documentation/devicetree/bindings/usb/allwinner,sun60i-a733-dwc3.yaml
new file mode 100644
index 000000000000..012247ba0ac2
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/allwinner,sun60i-a733-dwc3.yaml
@@ -0,0 +1,103 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/usb/allwinner,sun60i-a733-dwc3.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner A733 SuperSpeed DWC3 USB Controller
+
+maintainers:
+  - Alastair D'Silva <alastair@d-silva.org>
+
+allOf:
+  - $ref: snps,dwc3-common.yaml#
+
+properties:
+  compatible:
+    const: allwinner,sun60i-a733-dwc3
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  clocks:
+    items:
+      - description: USB2 bus clock
+      - description: USB2 main function reference clock
+      - description: USB2 suspend clock
+      - description: USB subsystem AHB clock
+      - description: USB3 UTMI clock
+      - description: USB2 PIPE clock
+      - description: USB2 system clock
+
+  clock-names:
+    items:
+      - const: bus_early
+      - const: ref
+      - const: suspend
+      - const: ahb
+      - const: utmi
+      - const: pipe
+      - const: sys
+
+  resets:
+    maxItems: 1
+
+  power-domains:
+    maxItems: 1
+
+  phys:
+    items:
+      - description: USB 2.0 PHY
+      - description: USB 3.0 ComboPHY
+
+  phy-names:
+    items:
+      - const: usb2-phy
+      - const: usb3-phy
+
+  vbus-supply:
+    description: Regulator supplying VBUS in host mode.
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - clocks
+  - clock-names
+  - resets
+  - power-domains
+  - phys
+  - phy-names
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/clock/allwinner,sun60i-a733-ccu.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>
+
+    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";
+        resets = <&ccu RST_BUS_USB2>;
+        power-domains = <&pck600 PD_USB2>;
+        phys = <&u2phy>, <&combophy0 PHY_TYPE_USB3>;
+        phy-names = "usb2-phy", "usb3-phy";
+        dr_mode = "host";
+    };
-- 
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