dt-bindings: reset: Add lan966x support
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Mon, 18 Oct 2021 09:15:21 +0000 (11:15 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 18 Oct 2021 12:09:56 +0000 (14:09 +0200)
This patch extends the existing file microchip,rst.yaml to support
also the lan966x. For this is added only a new compatible string.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20211018091522.1113510-2-horatiu.vultur@microchip.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Documentation/devicetree/bindings/reset/microchip,rst.yaml

index 370579a..578bfa5 100644 (file)
@@ -20,7 +20,9 @@ properties:
     pattern: "^reset-controller@[0-9a-f]+$"
 
   compatible:
-    const: microchip,sparx5-switch-reset
+    enum:
+      - microchip,sparx5-switch-reset
+      - microchip,lan966x-switch-reset
 
   reg:
     items: