From: Joseph Telaak <redacted>
The standalone GSW1xx switches have a hardware reset input, and boards
wire it to a SoC GPIO. Allow describing it. The SoC-integrated GSWIP
variants have no such pin.
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Joseph Telaak <redacted>
---
Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
index 49af5573e4..9a74ea2a6d 100644
--- a/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/lantiq,gswip.yaml
@@ -40,6 +40,11 @@ properties:
- const: mdio
- const: mii
+ reset-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the hardware reset input of a standalone switch.
+
mdio:
$ref: /schemas/net/mdio.yaml#
unevaluatedProperties: false@@ -173,6 +178,7 @@ allOf:
mdio:
required:
- compatible
+ reset-gpios: false
else:
properties:
reg:
--
Git-155)