diff options
author | Haiying Wang <Haiying.Wang@freescale.com> | 2008-09-24 11:42:12 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:00 +0200 |
commit | 41410eee472b0f42e03a77f961bbc55ef58f3c01 (patch) | |
tree | 696428e03aefc4030f0623d278f2d21b59f36f16 /drivers/qe/uec_phy.h | |
parent | 69710092172409cfcc43b84cd71287f428a4e319 (diff) | |
download | u-boot-imx-41410eee472b0f42e03a77f961bbc55ef58f3c01.zip u-boot-imx-41410eee472b0f42e03a77f961bbc55ef58f3c01.tar.gz u-boot-imx-41410eee472b0f42e03a77f961bbc55ef58f3c01.tar.bz2 |
Change UEC PHY interface to RGMII on MPC8568MDS
Change UEC phy interface from GMII to RGMII on MPC8568MDS board
Because on MPC8568MDS, GMII interface is only recommended for 1000Mbps speed,
but RGMII interface can work at 10/100/1000Mbps, and RGMII interface works more stable.
Now both UEC1 and UEC2 can work properly under u-boot.
It is also in consistent with the kernel setting for 8568 UEC phy interface.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/qe/uec_phy.h')
-rw-r--r-- | drivers/qe/uec_phy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/qe/uec_phy.h b/drivers/qe/uec_phy.h index 6f769fb..7ac1ff9 100644 --- a/drivers/qe/uec_phy.h +++ b/drivers/qe/uec_phy.h @@ -77,6 +77,14 @@ #define MII_M1011_IMASK_INIT 0x6400 #define MII_M1011_IMASK_CLEAR 0x0000 +/* 88E1111 PHY Register */ +#define MII_M1111_PHY_EXT_CR 0x14 +#define MII_M1111_RX_DELAY 0x80 +#define MII_M1111_TX_DELAY 0x2 +#define MII_M1111_PHY_EXT_SR 0x1b +#define MII_M1111_HWCFG_MODE_MASK 0xf +#define MII_M1111_HWCFG_MODE_RGMII 0xb + #define MII_DM9161_SCR 0x10 #define MII_DM9161_SCR_INIT 0x0610 #define MII_DM9161_SCR_RMII_INIT 0x0710 |