Commit 2ad7b756 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller

Doc: Micrel-ksz90x1.txt: Document deprecated MAC OF properties

Phy properties are expected to be found in the PHY OF node. However
this Micrel driver also allows them to be placed into the MAC OF node.
This is deprecated. Document it as such, and remove the example using
the deprecated method to prevent people copying it into new device
tree files.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fbc08857
Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY Micrel KSZ9021/KSZ9031 Gigabit Ethernet PHY
Some boards require special tuning values, particularly when it comes to Some boards require special tuning values, particularly when it comes
clock delays. You can specify clock delay values by adding to clock delays. You can specify clock delay values in the PHY OF
micrel-specific properties to an Ethernet OF device node. device node. Deprecated, but still supported, these properties can
also be added to an Ethernet OF device node.
Note that these settings are applied after any phy-specific fixup from Note that these settings are applied after any phy-specific fixup from
phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c), phy_fixup_list (see phy_init_hw() from drivers/net/phy/phy_device.c),
...@@ -57,16 +58,6 @@ KSZ9031: ...@@ -57,16 +58,6 @@ KSZ9031:
Examples: Examples:
/* Attach to an Ethernet device with autodetected PHY */
&enet {
rxc-skew-ps = <3000>;
rxdv-skew-ps = <0>;
txc-skew-ps = <3000>;
txen-skew-ps = <0>;
status = "okay";
};
/* Attach to an explicitly-specified PHY */
mdio { mdio {
phy0: ethernet-phy@0 { phy0: ethernet-phy@0 {
rxc-skew-ps = <3000>; rxc-skew-ps = <3000>;
......
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