diff options
author | Stefano Babic <sbabic@denx.de> | 2013-09-02 15:42:28 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2013-11-22 16:50:51 -0600 |
commit | 71817a16f1f0848b268ea627197e2b65cdc550ed (patch) | |
tree | 969b202a0f327fd7440180f33c35effc1fa859da | |
parent | 42205047674d7fc9e0aa747273fbc7dcfbac3183 (diff) | |
download | u-boot-71817a16f1f0848b268ea627197e2b65cdc550ed.tar.gz u-boot-71817a16f1f0848b268ea627197e2b65cdc550ed.tar.bz2 u-boot-71817a16f1f0848b268ea627197e2b65cdc550ed.zip |
phy: add missing constants for Micrel KSZ9031
Signed-off-by: Stefano Babic <sbabic@denx.de>
-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 e1c62d83cb..04c9ecf3bf 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); |