@@ -19,6 +19,7 @@ properties:
enum:
- renesas,vsp1 # R-Car Gen2 and RZ/G1
- renesas,vsp2 # R-Car Gen3 and RZ/G2
+ - renesas,rzg2l-vsp2 # RZ/G2L and RZ/V2L
reg:
maxItems: 1
@@ -26,8 +27,8 @@ properties:
interrupts:
maxItems: 1
- clocks:
- maxItems: 1
+ clocks: true
+ clock-names: true
power-domains:
maxItems: 1
@@ -50,17 +51,42 @@ required:
additionalProperties: false
-if:
- properties:
- compatible:
- items:
- - const: renesas,vsp1
-then:
- properties:
- renesas,fcp: false
-else:
- required:
- - renesas,fcp
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,vsp1
+ then:
+ properties:
+ renesas,fcp: false
+ else:
+ required:
+ - renesas,fcp
+
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: renesas,rzg2l-vsp2
+ then:
+ properties:
+ clocks:
+ items:
+ - description: LCDC Main clock
+ - description: LCDC Register Access Clock
+ - description: LCDC Video Clock
+ clock-names:
+ items:
+ - const: du.0
+ - const: pclk
+ - const: vclk
+ required:
+ - clock-names
+ else:
+ properties:
+ clocks:
+ maxItems: 1
examples:
# R8A7790 (R-Car H2) VSP1-S