diff options
author | vojo <joris.van.vossen@sintecs.nl> | 2018-02-07 12:36:58 (GMT) |
---|---|---|
committer | vojo <joris.van.vossen@sintecs.nl> | 2018-02-07 12:36:58 (GMT) |
commit | f3420047e97980b83d6549184d159a0a901881dc (patch) | |
tree | d098c20e2f60891b52e0961ad858b93e202f9bb4 /board/scalys/grapeboard/eth.c | |
parent | 9ca9f1eaaa6de0bd7684764cf46ca62a7be02abf (diff) | |
parent | f6b76fd828c6311dec9a84c2658033d98dd75eee (diff) | |
download | u-boot-f3420047e97980b83d6549184d159a0a901881dc.tar.xz |
Merge commit 'f6b76fd828c6311dec9a84c2658033d98dd75eee' into grapeboard
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 |