diff options
author | Giuseppe Pagano <giuseppe.pagano@seco.com> | 2013-11-15 17:42:51 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-11-28 08:28:54 +0100 |
commit | 078813d21db0600d440625327a1728c32e9fcc90 (patch) | |
tree | 5be0164d8e7ab7be3744f97070d7ee73502a32fe /include/micrel.h | |
parent | 953ab736afa0fca087b9e7626daa28ca7adc9fa8 (diff) | |
download | u-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.zip u-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.tar.gz u-boot-imx-078813d21db0600d440625327a1728c32e9fcc90.tar.bz2 |
udoo: Add ethernet support (FEC + Micrel KSZ9031).
Add Ethernet and networking support on uDoo board (FEC +phy Micrel KSZ9031).
Ethernet speed is currently limited to 10/100Mbps.
Signed-off-by: Giuseppe Pagano <giuseppe.pagano@seco.com>
Tested-by: Fabio Estevam <fabio.estevam@freescale.com>
CC: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/micrel.h')
-rw-r--r-- | include/micrel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h index e1c62d8..1d72b50 100644 --- a/include/micrel.h +++ b/include/micrel.h @@ -15,6 +15,11 @@ #define MII_KSZ9031_MOD_DATA_POST_INC_RW 0x8000 #define MII_KSZ9031_MOD_DATA_POST_INC_W 0xC000 +#define MII_KSZ9031_EXT_RGMII_CTRL_SIG_SKEW 0x4 +#define MII_KSZ9031_EXT_RGMII_RX_DATA_SKEW 0x5 +#define MII_KSZ9031_EXT_RGMII_TX_DATA_SKEW 0x6 +#define MII_KSZ9031_EXT_RGMII_CLOCK_SKEW 0x8 + struct phy_device; int ksz9021_phy_extended_write(struct phy_device *phydev, int regnum, u16 val); int ksz9021_phy_extended_read(struct phy_device *phydev, int regnum); |