dt-bindings: net: dsa: realtek: add reset controller
authorLuiz Angelo Daros de Luca <luizluca@gmail.com>
Sun, 25 Feb 2024 16:29:54 +0000 (13:29 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 08:21:41 +0000 (08:21 +0000)
Realtek switches can use a reset controller instead of reset-gpios.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
Cc: devicetree@vger.kernel.org
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Alvin Šipraga <alsi@bang-olufsen.dk>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/realtek.yaml

index 46e113d..70b6bda 100644 (file)
@@ -59,6 +59,9 @@ properties:
     description: GPIO to be used to reset the whole device
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
   realtek,disable-leds:
     type: boolean
     description: |