summaryrefslogtreecommitdiff
path: root/drivers/tsec.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2006-09-13 10:34:18 -0500
committerJon Loeliger <jdl@freescale.com>2006-09-19 09:41:48 -0500
commit09f3e09e9ebcfa7919ca8931a4b5504fadd1f1d3 (patch)
tree64d49a225b13baa7ddae8792b1f9fb7c308e4990 /drivers/tsec.h
parent084d648b109c8984f83674043c1a7fa3885ef801 (diff)
downloadu-boot-imx-09f3e09e9ebcfa7919ca8931a4b5504fadd1f1d3.zip
u-boot-imx-09f3e09e9ebcfa7919ca8931a4b5504fadd1f1d3.tar.gz
u-boot-imx-09f3e09e9ebcfa7919ca8931a4b5504fadd1f1d3.tar.bz2
Add support for eTSEC 3 & 4 on 8548 CDS
* Added support for using eTSEC 3 and eTSEC 4 on the 8548 CDS. This will only work on rev 1.3 boards (but doesn't break older boards) * Cleaned up some comments to reflect the expanded role of tsec in other systems
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 b55b299..0bfca3a 100644
--- a/drivers/tsec.h
+++ b/drivers/tsec.h
@@ -142,6 +142,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