Commit b54dd90c authored by David Bauer's avatar David Bauer Committed by David S. Miller

dt-bindings: net: add PHY reset controller binding

Add the documentation for PHY reset lines controlled by a reset controller.
Signed-off-by: default avatarDavid Bauer <mail@david-bauer.net>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a99aa5d
...@@ -51,6 +51,10 @@ Optional Properties: ...@@ -51,6 +51,10 @@ Optional Properties:
to ensure the integrated PHY is used. The absence of this property indicates 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. 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-gpios: The GPIO phandle and specifier for the PHY reset signal.
- reset-assert-us: Delay after the reset was asserted in microseconds. - reset-assert-us: Delay after the reset was asserted in microseconds.
...@@ -67,6 +71,8 @@ ethernet-phy@0 { ...@@ -67,6 +71,8 @@ ethernet-phy@0 {
interrupts = <35 IRQ_TYPE_EDGE_RISING>; interrupts = <35 IRQ_TYPE_EDGE_RISING>;
reg = <0>; reg = <0>;
resets = <&rst 8>;
reset-names = "phy";
reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; reset-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
reset-assert-us = <1000>; reset-assert-us = <1000>;
reset-deassert-us = <2000>; reset-deassert-us = <2000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment