diff options
author | Heiko Schocher <hs@denx.de> | 2015-10-17 06:04:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-21 06:41:44 -0700 |
commit | d88ecb373bd1877acc43e13311a8e0e6daffc3d2 (patch) | |
tree | d29ca3aaa5196ab759d8d534f7cfad1410ba3d1d /Documentation/devicetree/bindings/net | |
parent | 9e42f715264ff158478fa30eaed847f6e131366b (diff) | |
download | op-kernel-dev-d88ecb373bd1877acc43e13311a8e0e6daffc3d2.zip op-kernel-dev-d88ecb373bd1877acc43e13311a8e0e6daffc3d2.tar.gz |
net: phy: smsc: disable energy detect mode
On some boards the energy enable detect mode leads in
trouble with some switches, so make the enabling of
this mode configurable through DT.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r-- | Documentation/devicetree/bindings/net/smsc-lan87xx.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/smsc-lan87xx.txt b/Documentation/devicetree/bindings/net/smsc-lan87xx.txt new file mode 100644 index 0000000..974edd5 --- /dev/null +++ b/Documentation/devicetree/bindings/net/smsc-lan87xx.txt @@ -0,0 +1,24 @@ +SMSC LAN87xx Ethernet PHY + +Some boards require special tuning values. Configure them +through an Ethernet OF device node. + +Optional properties: + +- smsc,disable-energy-detect: + If set, do not enable energy detect mode for the SMSC phy. + default: enable energy detect mode + +Examples: +smsc phy with disabled energy detect mode on an am335x based board. +&davinci_mdio { + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&davinci_mdio_default>; + pinctrl-1 = <&davinci_mdio_sleep>; + status = "okay"; + + ethernetphy0: ethernet-phy@0 { + reg = <0>; + smsc,disable-energy-detect; + }; +}; |