[PATCH v2 2/9] dt-bindings: usb: generic-{ehci,ohci}: Add Allwinner A733

From: Alastair D'Silva

Date: Sun Nov 29 2026 - 20:16:52 EST


Add the Allwinner A733 EHCI and OHCI compatible strings to the generic
EHCI and OHCI bindings.

The A733 EHCI controller requires 5 clocks (bus EHCI, bus OHCI, OHCI
module, AHB USB SYS, and MBUS MSI-Lite2) and the OHCI controller
requires 4 clocks. Constrain the clock counts for the A733 compatibles.

Signed-off-by: Alastair D'Silva <alastair@xxxxxxxxxxx>
---
.../devicetree/bindings/usb/generic-ehci.yaml | 17 ++++++++++++++++-
.../devicetree/bindings/usb/generic-ohci.yaml | 5 ++++-
2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/usb/generic-ehci.yaml b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
index 908b02d9175e..ae376b8d7c04 100644
--- a/Documentation/devicetree/bindings/usb/generic-ehci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ehci.yaml
@@ -21,6 +21,7 @@ properties:
- allwinner,sun50i-h616-ehci
- allwinner,sun55i-a523-ehci
- allwinner,sun5i-a13-ehci
+ - allwinner,sun60i-a733-ehci
- allwinner,sun6i-a31-ehci
- allwinner,sun7i-a20-ehci
- allwinner,sun8i-a23-ehci
@@ -98,7 +99,7 @@ properties:

clocks:
minItems: 1
- maxItems: 4
+ maxItems: 5
description: |
In case the Renesas R-Car Gen3 SoCs:
- if a host only channel: first clock should be host.
@@ -217,6 +218,20 @@ allOf:
required:
- access-controllers
- clocks
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: allwinner,sun60i-a733-ehci
+ then:
+ properties:
+ clocks:
+ minItems: 5
+ else:
+ properties:
+ clocks:
+ minItems: 1
+ maxItems: 4

unevaluatedProperties: false

diff --git a/Documentation/devicetree/bindings/usb/generic-ohci.yaml b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
index 7a8c3c231815..65d057f247fe 100644
--- a/Documentation/devicetree/bindings/usb/generic-ohci.yaml
+++ b/Documentation/devicetree/bindings/usb/generic-ohci.yaml
@@ -21,6 +21,7 @@ properties:
- allwinner,sun50i-h616-ohci
- allwinner,sun55i-a523-ohci
- allwinner,sun5i-a13-ohci
+ - allwinner,sun60i-a733-ohci
- allwinner,sun6i-a31-ohci
- allwinner,sun7i-a20-ohci
- allwinner,sun8i-a23-ohci
@@ -210,7 +211,9 @@ allOf:
properties:
compatible:
contains:
- const: rockchip,rk3588-ohci
+ enum:
+ - allwinner,sun60i-a733-ohci
+ - rockchip,rk3588-ohci
then:
properties:
clocks:
--
2.53.0