-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Heiko Schocher
authored and
David S. Miller
committed
Oct 21, 2015
1 parent
9e42f71
commit d88ecb3
Showing
2 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters