dt-bindings: pwm: at91: Add SAMA7G5 compatible strings list
authorSergiu Moga <sergiu.moga@microchip.com>
Mon, 7 Mar 2022 15:36:56 +0000 (17:36 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 22 Apr 2022 16:31:48 +0000 (18:31 +0200)
Add compatible strings list for SAMA7G5.

Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/atmel,at91sam-pwm.yaml

index 5e8bb5a..ab45df8 100644 (file)
@@ -15,11 +15,16 @@ allOf:
 
 properties:
   compatible:
-    enum:
-      - atmel,at91sam9rl-pwm
-      - atmel,sama5d3-pwm
-      - atmel,sama5d2-pwm
-      - microchip,sam9x60-pwm
+    oneOf:
+      - items:
+          - enum:
+              - atmel,at91sam9rl-pwm
+              - atmel,sama5d3-pwm
+              - atmel,sama5d2-pwm
+              - microchip,sam9x60-pwm
+      - items:
+          - const: microchip,sama7g5-pwm
+          - const: atmel,sama5d2-pwm
 
   reg:
     maxItems: 1