summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-10-02 18:32:25 +0400
committerKim Phillips <kim.phillips@freescale.com>2008-10-21 18:34:08 -0500
commit1da83a63d8e1b4bddeb82581b1745a09aac3e2d3 (patch)
tree6f18419b18f857942012bf226bac9534b166d68a /include
parente6d9c8916de9c24f2c52d0b01cf00d2e74a04cd8 (diff)
downloadu-boot-imx-1da83a63d8e1b4bddeb82581b1745a09aac3e2d3.zip
u-boot-imx-1da83a63d8e1b4bddeb82581b1745a09aac3e2d3.tar.gz
u-boot-imx-1da83a63d8e1b4bddeb82581b1745a09aac3e2d3.tar.bz2
mpc83xx: add SGMII riser module support for the MPC8378E-MDS boards
This involves configuring the SerDes and fixing up the flags and PHY addresses for the TSECs. For Linux we also fix up the device tree. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC837XEMDS.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/MPC837XEMDS.h b/include/configs/MPC837XEMDS.h
index aeb61a9..e2f0942 100644
--- a/include/configs/MPC837XEMDS.h
+++ b/include/configs/MPC837XEMDS.h
@@ -382,6 +382,8 @@
#define CONFIG_TSEC2_NAME "eTSEC1"
#define TSEC1_PHY_ADDR 2
#define TSEC2_PHY_ADDR 3
+#define TSEC1_PHY_ADDR_SGMII 8
+#define TSEC2_PHY_ADDR_SGMII 4
#define TSEC1_PHYIDX 0
#define TSEC2_PHYIDX 0
#define TSEC1_FLAGS (TSEC_GIGABIT | TSEC_REDUCED)