diff options
Diffstat (limited to 'board/scalys/grapeboard/eth.c')
-rw-r--r-- | board/scalys/grapeboard/eth.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/board/scalys/grapeboard/eth.c b/board/scalys/grapeboard/eth.c index 256f996..16885cc 100644 --- a/board/scalys/grapeboard/eth.c +++ b/board/scalys/grapeboard/eth.c @@ -70,9 +70,14 @@ int board_eth_init(bd_t *bis) ls1012a_set_mdio(1, miiphy_get_dev_by_name(DEFAULT_PFE_MDIO_NAME)); ls1012a_set_phy_address_mode(1, EMAC2_PHY_ADDR, PHY_INTERFACE_MODE_SGMII); - /* Initialize TI83867CS PHY LEDs */ - miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC1_PHY_ADDR,0x18,0x61B6); - miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC2_PHY_ADDR,0x18,0x61B6); + /* Initialize TI83867CS PHY LEDs as: + * LED_3 = 0x0: Link established (not connected) + * LED_2 = 0x0: Link established (not connected) + * LED_1 = 0xB: Link established, blink for activity (green LED) + * LED_0 = 0x8: 10/100BT link established (orange LED) + */ + miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC1_PHY_ADDR,0x18,0x00B8); + miiphy_write(DEFAULT_PFE_MDIO_NAME,EMAC2_PHY_ADDR,0x18,0x00B8); cpu_eth_init(bis); #endif |