summaryrefslogtreecommitdiff
path: root/drivers/net/tsec.h
diff options
context:
space:
mode:
authorTor Krill <tor@excito.com>2008-03-28 15:29:45 +0100
committerBen Warren <biggerbadderben@gmail.com>2008-03-31 23:11:46 -0400
commit2d934ea51f276522b532f870a820e844ff480b5b (patch)
treeb5124ad1a7998274f7f34db7d34474e36d4092fc /drivers/net/tsec.h
parent3eac6402a508b0f68a21cc9cbc2cc49347de0c31 (diff)
downloadu-boot-imx-2d934ea51f276522b532f870a820e844ff480b5b.zip
u-boot-imx-2d934ea51f276522b532f870a820e844ff480b5b.tar.gz
u-boot-imx-2d934ea51f276522b532f870a820e844ff480b5b.tar.bz2
Add Vitesse 8601 support to TSEC driver
Add phy_info for Vitesse VSC8601. Add config option, CFG_VSC8601_SKEWFIX, to enable RGMII skew timing compensation. Signed-off-by: Tor Krill <tor@excito.com> Reviewed-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/tsec.h')
-rw-r--r--drivers/net/tsec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/tsec.h b/drivers/net/tsec.h
index d4dc15a..cfa7d1a 100644
--- a/drivers/net/tsec.h
+++ b/drivers/net/tsec.h
@@ -159,6 +159,11 @@
#define MIIM_VSC8244_LED_CON 0x1b
#define MIIM_VSC8244_LEDCON_INIT 0xF011
+/* Entry for Vitesse VSC8601 regs starts here (Not complete) */
+/* Vitesse VSC8601 Extended PHY Control Register 1 */
+#define MIIM_VSC8601_EPHY_CON 0x17
+#define MIIM_VSC8601_EPHY_CON_INIT_SKEW 0x1120
+
/* 88E1011 PHY Status Register */
#define MIIM_88E1011_PHY_STATUS 0x11
#define MIIM_88E1011_PHYSTAT_SPEED 0xc000