diff options
author | Felipe Balbi <balbi@ti.com> | 2014-06-10 15:01:21 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-19 17:53:58 -0400 |
commit | 619ce62d2ddb3af64240451d571e93a356767357 (patch) | |
tree | 16924640b34cf56a207fe1c4557f939c8980d5c8 /board/ti | |
parent | 9cb9f3331b20b79c7b1cf6428d4b985860c5dbb6 (diff) | |
download | u-boot-imx-619ce62d2ddb3af64240451d571e93a356767357.zip u-boot-imx-619ce62d2ddb3af64240451d571e93a356767357.tar.gz u-boot-imx-619ce62d2ddb3af64240451d571e93a356767357.tar.bz2 |
board: ti: am43xx: add AM437x SK PHY Address
pass correct PHY Address when running on SK
so that we have working ethernet with this board
too.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'board/ti')
-rw-r--r-- | board/ti/am43xx/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index 6379cef..054a452 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -594,6 +594,11 @@ int board_eth_init(bd_t *bis) writel(RMII_MODE_ENABLE | RMII_CHIPCKL_ENABLE, &cdev->miisel); cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RMII; cpsw_slaves[0].phy_addr = 16; + } else if (board_is_sk()) { + writel(RGMII_MODE_ENABLE, &cdev->miisel); + cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII; + cpsw_slaves[0].phy_addr = 4; + cpsw_slaves[1].phy_addr = 5; } else { writel(RGMII_MODE_ENABLE, &cdev->miisel); cpsw_slaves[0].phy_if = PHY_INTERFACE_MODE_RGMII; |