Patchwork [U-Boot,v1,1/5] phy: add missing constants for Micrel KSZ9031

login
register
mail settings
Submitter Stefano Babic
Date Sept. 2, 2013, 1:42 p.m.
Message ID <1378129352-5668-2-git-send-email-sbabic@denx.de>
Download mbox | patch
Permalink /patch/271947/
State Accepted
Delegated to: Joe Hershberger
Headers show

Comments

Stefano Babic - Sept. 2, 2013, 1:42 p.m.
Signed-off-by: Stefano Babic <sbabic@denx.de>

---
 include/micrel.h |    5 +++++
 1 file changed, 5 insertions(+)

Patch

diff --git a/include/micrel.h b/include/micrel.h
index e1c62d8..04c9ecf 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);