fixup! dt-bindings: watchdog: add DT bindings for Cirrus EP93x
authorNikita Shubin <nikita.shubin@maquefel.me>
Tue, 2 May 2023 08:11:50 +0000 (11:11 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Tue, 2 May 2023 08:11:50 +0000 (11:11 +0300)
Documentation/devicetree/bindings/watchdog/cirrus,ep9301-wdt.yaml

index 86f6fce7bbbe3c82e9e03407efa1a4f3a4b63fe8..d54595174a12d844b347e32c30e1df0906af6358 100644 (file)
@@ -18,8 +18,15 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - cirrus,ep9301-wdt
+    oneOf:
+      - const: cirrus,ep9301-wdt
+      - items:
+          - enum:
+              - cirrus,ep9302-wdt
+              - cirrus,ep9307-wdt
+              - cirrus,ep9312-wdt
+              - cirrus,ep9315-wdt
+          - const: cirrus,ep9301-wdt
 
   reg:
     maxItems: 1
@@ -28,7 +35,7 @@ required:
   - compatible
   - reg
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |