diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-12-08 09:11:33 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-11 11:26:59 -0500 |
commit | 24fd3190817e96b2a57531986bfb6e951df3ee96 (patch) | |
tree | 679aa227689603f14504f60c9c06093525e062ca | |
parent | b9622ed42c3e01c2a7b73ce435032698b259a957 (diff) |
dt-bindings: fec: Make the phy-reset-gpio polarity explicit
The GPIO polarity passed to phy-reset-gpio is ignored by the FEC
driver and it is assumed to be active low.
It can be active high only when the 'phy-reset-active-high' property
is present.
The current examples pass active high polarity and work fine, but
in order to improve the documentation make it explicit what the real
polarity is.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | Documentation/devicetree/bindings/net/fsl-fec.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt index f0dc94409107..2d41fb96ce0a 100644 --- a/Documentation/devicetree/bindings/net/fsl-fec.txt +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt | |||
@@ -59,7 +59,7 @@ ethernet@83fec000 { | |||
59 | reg = <0x83fec000 0x4000>; | 59 | reg = <0x83fec000 0x4000>; |
60 | interrupts = <87>; | 60 | interrupts = <87>; |
61 | phy-mode = "mii"; | 61 | phy-mode = "mii"; |
62 | phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */ | 62 | phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; /* GPIO2_14 */ |
63 | local-mac-address = [00 04 9F 01 1B B9]; | 63 | local-mac-address = [00 04 9F 01 1B B9]; |
64 | phy-supply = <®_fec_supply>; | 64 | phy-supply = <®_fec_supply>; |
65 | }; | 65 | }; |
@@ -71,7 +71,7 @@ ethernet@83fec000 { | |||
71 | reg = <0x83fec000 0x4000>; | 71 | reg = <0x83fec000 0x4000>; |
72 | interrupts = <87>; | 72 | interrupts = <87>; |
73 | phy-mode = "mii"; | 73 | phy-mode = "mii"; |
74 | phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */ | 74 | phy-reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; /* GPIO2_14 */ |
75 | local-mac-address = [00 04 9F 01 1B B9]; | 75 | local-mac-address = [00 04 9F 01 1B B9]; |
76 | phy-supply = <®_fec_supply>; | 76 | phy-supply = <®_fec_supply>; |
77 | phy-handle = <ðphy>; | 77 | phy-handle = <ðphy>; |