net: dsa: ksz: Add optional reset GPIO to Microchip KSZ switch binding
authorMarek Vasut <marex@denx.de>
Mon, 10 Dec 2018 13:43:05 +0000 (14:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Dec 2018 20:07:56 +0000 (12:07 -0800)
Add optional reset GPIO, as such a signal is available on the KSZ switches.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Woojung Huh <Woojung.Huh@microchip.com>
Cc: David S. Miller <davem@davemloft.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/ksz.txt

index ac145b885e955336a533469b82c5cc1e9af9f72d..0f407fb371ce1a552ebc48a593d16c4dcd0852a0 100644 (file)
@@ -8,6 +8,10 @@ Required properties:
   - "microchip,ksz9477"
   - "microchip,ksz9897"
 
+Optional properties:
+
+- reset-gpios          : Should be a gpio specifier for a reset line
+
 See Documentation/devicetree/bindings/net/dsa/dsa.txt for a list of additional
 required and optional properties.