dt-bindings: pinctrl: ocelot: add reset property
authorMichael Walle <michael@walle.cc>
Wed, 20 Apr 2022 19:19:25 +0000 (21:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Apr 2022 22:38:47 +0000 (00:38 +0200)
On the LAN966x SoC the GPIO controller will be resetted together with
the SGPIO and the switch core. Add a phandle to register the shared
reset line.

Signed-off-by: Michael Walle <michael@walle.cc>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220420191926.3411830-2-michael@walle.cc
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/mscc,ocelot-pinctrl.yaml

index 7149a66..98d547c 100644 (file)
@@ -42,6 +42,14 @@ properties:
   "#interrupt-cells":
     const: 2
 
+  resets:
+    maxItems: 1
+
+  reset-names:
+    description: Optional shared switch reset.
+    items:
+      - const: switch
+
 patternProperties:
   '-pins$':
     type: object