@@ -19,11 +19,17 @@ description:
properties:
compatible:
- items:
- - enum:
- - renesas,r7s72100-ostm # RZ/A1H
- - renesas,r7s9210-ostm # RZ/A2M
- - const: renesas,ostm # Generic
+ oneOf:
+ - items:
+ - enum:
+ - renesas,r7s72100-ostm # RZ/A1H
+ - renesas,r7s9210-ostm # RZ/A2M
+ - const: renesas,ostm # Generic
+
+ - items:
+ - enum:
+ - renesas,r9a07g044-ostm # RZ/G2{L,LC}
+ - const: renesas,rzg2l-ostm # RZ/G2L
reg:
maxItems: 1
@@ -37,6 +43,9 @@ properties:
power-domains:
maxItems: 1
+ resets:
+ maxItems: 1
+
required:
- compatible
- reg
@@ -44,6 +53,16 @@ required:
- clocks
- power-domains
+if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - renesas,rzg2l-ostm
+then:
+ required:
+ - resets
+
additionalProperties: false
examples: