summaryrefslogtreecommitdiff
path: root/drivers/tsec.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-09-19 10:02:20 -0500
committerJon Loeliger <jdl@freescale.com>2006-09-19 10:02:20 -0500
commit504b5cd0e2e7b58c6265fb684a850a158c85e1b2 (patch)
tree2125bf738ec1ea6ea87c807ee045832fecf27fe6 /drivers/tsec.h
parentafbdc649f8751e4f4f1a6f527edfe139773f2c15 (diff)
parent8272dc2f58f2473d8995fcc9b916440cfba080f0 (diff)
downloadu-boot-imx-504b5cd0e2e7b58c6265fb684a850a158c85e1b2.zip
u-boot-imx-504b5cd0e2e7b58c6265fb684a850a158c85e1b2.tar.gz
u-boot-imx-504b5cd0e2e7b58c6265fb684a850a158c85e1b2.tar.bz2
Merge branch 'mpc85xx'
Conflicts: drivers/tsec.c
Diffstat (limited to 'drivers/tsec.h')
-rw-r--r--drivers/tsec.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/tsec.h b/drivers/tsec.h
index 31f1867..4aa331c 100644
--- a/drivers/tsec.h
+++ b/drivers/tsec.h
@@ -160,6 +160,23 @@
#define MIIM_88E1011_PHYSTAT_SPDDONE 0x0800
#define MIIM_88E1011_PHYSTAT_LINK 0x0400
+#define MIIM_88E1011_PHY_SCR 0x10
+#define MIIM_88E1011_PHY_MDI_X_AUTO 0x0060
+
+/* 88E1111 PHY LED Control Register */
+#define MIIM_88E1111_PHY_LED_CONTROL 24
+#define MIIM_88E1111_PHY_LED_DIRECT 0x4100
+#define MIIM_88E1111_PHY_LED_COMBINE 0x411C
+
+/* 88E1145 Extended PHY Specific Control Register */
+#define MIIM_88E1145_PHY_EXT_CR 20
+#define MIIM_M88E1145_RGMII_RX_DELAY 0x0080
+#define MIIM_M88E1145_RGMII_TX_DELAY 0x0002
+
+#define MIIM_88E1145_PHY_PAGE 29
+#define MIIM_88E1145_PHY_CAL_OV 30
+
+
/* DM9161 Control register values */
#define MIIM_DM9161_CR_STOP 0x0400
#define MIIM_DM9161_CR_RSTAN 0x1200