summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/macb.txt
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2015-12-11 11:34:53 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-14 22:04:12 -0500
commit5833e0526820c3216de8ae60661fb307c89c8710 (patch)
tree7e81f56638235fbc4b22c769b57c59353e70b694 /Documentation/devicetree/bindings/net/macb.txt
parentbda13fed677bdb423b97dcf054f68b9eb4c6dbfb (diff)
net/macb: add support for resetting PHY using GPIO
With device tree it is no more possible to reset the PHY at board level. Furthermore, doing in the driver allow to power down the PHY when the network interface is no more used. This reset can't be done at the PHY driver level. The PHY must be able to answer the to the mii bus scan to let the kernel creating a PHY device. The patch introduces a new optional property "phy-reset-gpios" inspired from the one use for the FEC. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/macb.txt')
-rw-r--r--Documentation/devicetree/bindings/net/macb.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt
index b5d79761ac97..4a7fb6ccf298 100644
--- a/Documentation/devicetree/bindings/net/macb.txt
+++ b/Documentation/devicetree/bindings/net/macb.txt
@@ -19,6 +19,9 @@ Required properties:
Optional elements: 'tx_clk'
- clocks: Phandles to input clocks.
+Optional properties:
+- phy-reset-gpios : Should specify the gpio for phy reset
+
Examples:
macb0: ethernet@fffc4000 {