summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/phy.txt
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-04-17 23:59:20 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-19 02:41:51 +0200
commitb54dd90cab00f5b64ed8ce533991c20bf781a3cd (patch)
treef4ae16ee0fb7f77b86e878dea242af13c02b0451 /Documentation/devicetree/bindings/net/phy.txt
parentMerge branch 'net-some-build-fixes-and-other-improvements' (diff)
downloadlinux-b54dd90cab00f5b64ed8ce533991c20bf781a3cd.tar.xz
linux-b54dd90cab00f5b64ed8ce533991c20bf781a3cd.zip
dt-bindings: net: add PHY reset controller binding
Add the documentation for PHY reset lines controlled by a reset controller. Signed-off-by: David Bauer <mail@david-bauer.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/net/phy.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt
index 17c1d2bd00f6..9b9e5b1765dd 100644
--- a/Documentation/devicetree/bindings/net/phy.txt
+++ b/Documentation/devicetree/bindings/net/phy.txt
@@ -51,6 +51,10 @@ Optional Properties:
to ensure the integrated PHY is used. The absence of this property indicates
the muxers should be configured so that the external PHY is used.
+- resets: The reset-controller phandle and specifier for the PHY reset signal.
+
+- reset-names: Must be "phy" for the PHY reset signal.
+
- reset-gpios: The GPIO phandle and specifier for the PHY reset signal.
- reset-assert-us: Delay after the reset was asserted in microseconds.
@@ -67,6 +71,8 @@ ethernet-phy@0 {
interrupts = <35 IRQ_TYPE_EDGE_RISING>;
reg = <0>;
+ resets = <&rst 8>;
+ reset-names = "phy";
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
reset-assert-us = <1000>;
reset-deassert-us = <2000>;