This patch documents the qca8k's reset-gpios property that
can be used if the QCA8337N ends up in a bad state during
reset.

Signed-off-by: Christian Lamparter <chunk...@gmail.com>
---
 Documentation/devicetree/bindings/net/dsa/qca8k.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/dsa/qca8k.txt 
b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
index 93a7469e70d4..ccbc6d89325d 100644
--- a/Documentation/devicetree/bindings/net/dsa/qca8k.txt
+++ b/Documentation/devicetree/bindings/net/dsa/qca8k.txt
@@ -9,6 +9,10 @@ Required properties:
 - #size-cells: must be 0
 - #address-cells: must be 1
 
+Optional properties:
+
+- reset-gpios: GPIO to be used to reset the whole device
+
 Subnodes:
 
 The integrated switch subnode should be specified according to the binding
@@ -66,6 +70,7 @@ for the external mdio-bus configuration:
                        #address-cells = <1>;
                        #size-cells = <0>;
 
+                       reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                        reg = <0x10>;
 
                        ports {
@@ -123,6 +128,7 @@ for the internal master mdio-bus configuration:
                        #address-cells = <1>;
                        #size-cells = <0>;
 
+                       reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                        reg = <0x10>;
 
                        ports {
-- 
2.20.1

Reply via email to