diff options
author | Sandeep Paulraj <s-paulraj@ti.com> | 2010-12-28 15:43:16 -0500 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-02 00:54:44 +0100 |
commit | 840f8923a076b02b983cf58c9466b5bdf5957133 (patch) | |
tree | fd8d296cbaa23d9b83957935fa89487cd95fe3e7 /drivers | |
parent | 2a7d603f37de94cb8529c67a35e71906f3c66dce (diff) | |
download | u-boot-midas-840f8923a076b02b983cf58c9466b5bdf5957133.tar.gz u-boot-midas-840f8923a076b02b983cf58c9466b5bdf5957133.tar.bz2 u-boot-midas-840f8923a076b02b983cf58c9466b5bdf5957133.zip |
DaVinci DM6467: Added ET1011C (LSI) PHY support
Added arch/arm/cpu/arm926ejs/davinci/et1011c.c for handling
ET1011C gigabit phy. which overrides get_link_speed function
from default implementation. This enables output of 125 MHz
reference clock on SYS_CLK pin.
Signed-off-by: Prakash PM <prakash.pm@ti.com>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/davinci_emac.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 2067a54a88..c359f54f9d 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -725,6 +725,13 @@ int davinci_emac_initialize(void) phy.get_link_speed = dp83848_get_link_speed; phy.auto_negotiate = dp83848_auto_negotiate; break; + case PHY_ET1011C: + sprintf(phy.name, "ET1011C @ 0x%02x", active_phy_addr); + phy.init = gen_init_phy; + phy.is_phy_connected = gen_is_phy_connected; + phy.get_link_speed = et1011c_get_link_speed; + phy.auto_negotiate = gen_auto_negotiate; + break; default: sprintf(phy.name, "GENERIC @ 0x%02x", active_phy_addr); phy.init = gen_init_phy; |