summaryrefslogtreecommitdiff
path: root/drivers/net/tsec.h
diff options
context:
space:
mode:
authorSergei Poselenov <sposelenov@emcraft.com>2008-06-06 15:52:44 +0200
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:14 -0700
commitd23dc394aa69093b6326ad917db04dc0d1aff3f8 (patch)
treeae646f06118ef53105f64ee7aec00ba7640da90f /drivers/net/tsec.h
parente99e9575bbeba1b7c48e046547cae065ec0071de (diff)
downloadu-boot-imx-d23dc394aa69093b6326ad917db04dc0d1aff3f8.zip
u-boot-imx-d23dc394aa69093b6326ad917db04dc0d1aff3f8.tar.gz
u-boot-imx-d23dc394aa69093b6326ad917db04dc0d1aff3f8.tar.bz2
PHY: Add support for the M88E1121R Marvell chip.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/tsec.h')
-rw-r--r--drivers/net/tsec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/tsec.h b/drivers/net/tsec.h
index 6a2338b..fee5934 100644
--- a/drivers/net/tsec.h
+++ b/drivers/net/tsec.h
@@ -184,6 +184,13 @@
#define MIIM_88E1111_PHY_LED_DIRECT 0x4100
#define MIIM_88E1111_PHY_LED_COMBINE 0x411C
+/* 88E1121 PHY LED Control Register */
+#define MIIM_88E1121_PHY_LED_CTRL 16
+#define MIIM_88E1121_PHY_LED_PAGE 3
+#define MIIM_88E1121_PHY_LED_DEF 0x0030
+
+#define MIIM_88E1121_PHY_PAGE 22
+
/* 88E1145 Extended PHY Specific Control Register */
#define MIIM_88E1145_PHY_EXT_CR 20
#define MIIM_M88E1145_RGMII_RX_DELAY 0x0080