net/macb: Update device tree binding for resetting PHY using GPIO
[cascardo/linux.git] / Documentation / devicetree / bindings / net / macb.txt
index b5d7976..38c8e84 100644 (file)
@@ -19,6 +19,9 @@ Required properties:
        Optional elements: 'tx_clk'
 - clocks: Phandles to input clocks.
 
+Optional properties for PHY child node:
+- reset-gpios : Should specify the gpio for phy reset
+
 Examples:
 
        macb0: ethernet@fffc4000 {
@@ -29,4 +32,8 @@ Examples:
                local-mac-address = [3a 0e 03 04 05 06];
                clock-names = "pclk", "hclk", "tx_clk";
                clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>;
+               ethernet-phy@1 {
+                       reg = <0x1>;
+                       reset-gpios = <&pioE 6 1>;
+               };
        };