@@ -17,7 +17,9 @@ properties:
- const: renesas,rza1-usbhs
- items:
- - const: renesas,usbhs-r7s9210 # RZ/A2
+ - enum:
+ - renesas,usbhs-r7s9210 # RZ/A2
+ - renesas,usbhs-r9a07g044 # RZ/G2{L,LC}
- const: renesas,rza2-usbhs
- items:
@@ -60,7 +62,8 @@ properties:
- description: USB 2.0 clock selector
interrupts:
- maxItems: 1
+ minItems: 1
+ maxItems: 4
renesas,buswait:
$ref: /schemas/types.yaml#/definitions/uint32
@@ -74,11 +77,12 @@ properties:
enabled.
phys:
- maxItems: 1
+ minItems: 1
+ maxItems: 2
phy-names:
- items:
- - const: usb
+ minItems: 1
+ maxItems: 2
dmas:
minItems: 2
@@ -111,6 +115,36 @@ required:
- clocks
- interrupts
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,usbhs-r9a07g044
+ then:
+ properties:
+ interrupts:
+ items:
+ - description: U2P_IXL_INT
+ - description: U2P_INT_DMA[0]
+ - description: U2P_INT_DMA[1]
+ - description: U2P_INT_DMAERR
+ phys:
+ maxItems: 2
+ phy-names:
+ items:
+ - const: usbphyctrl
+ - const: usb
+ else:
+ properties:
+ interrupts:
+ maxItems: 1
+ phys:
+ maxItems: 1
+ phy-names:
+ items:
+ - const: usb
+
additionalProperties: false
examples: