]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
authorVarshini Rajendran <varshini.rajendran@microchip.com>
Tue, 3 Sep 2024 06:42:33 +0000 (12:12 +0530)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sun, 13 Oct 2024 15:33:02 +0000 (18:33 +0300)
Add support for sam9x7 device compatible with sama5d2 compatible as the
fallback as the sam9x7 SoC uses the same tcb IP as the latter.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240903064233.49366-1-varshini.rajendran@microchip.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml

index a46411149571f19411cb29cae4f87f37ab69feda..2c7275c4503b5430e668e637ebeaadd68966a6d6 100644 (file)
@@ -15,13 +15,19 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - atmel,at91rm9200-tcb
-          - atmel,at91sam9x5-tcb
-          - atmel,sama5d2-tcb
-      - const: simple-mfd
-      - const: syscon
+    oneOf:
+      - items:
+          - enum:
+              - atmel,at91rm9200-tcb
+              - atmel,at91sam9x5-tcb
+              - atmel,sama5d2-tcb
+          - const: simple-mfd
+          - const: syscon
+      - items:
+          - const: microchip,sam9x7-tcb
+          - const: atmel,sama5d2-tcb
+          - const: simple-mfd
+          - const: syscon
 
   reg:
     maxItems: 1