summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-08-31 16:33:28 -0500
committerBen Warren <biggerbadderben@gmail.com>2008-09-02 21:18:15 -0700
commit652f7c2eef76a1340928bd660845441e932d86a2 (patch)
treec5812ea5bf44adde7fd7d53537f86fa2161e813f /include
parent2abe361c03b43e6dcf68f54e96b5c05156c49284 (diff)
downloadu-boot-imx-652f7c2eef76a1340928bd660845441e932d86a2.zip
u-boot-imx-652f7c2eef76a1340928bd660845441e932d86a2.tar.gz
u-boot-imx-652f7c2eef76a1340928bd660845441e932d86a2.tar.bz2
Add support for Freescale SGMII Riser Card
The 8544DS and 8572DS systems have an optional SGMII riser card which exposes new ethernet ports which are connected to the eTSECs via an SGMII interface. The SGMII PHYs for this board are offset from the standard PHY addresses, so this code modifies the passed in tsec_info structure to use the SGMII PHYs on the card, instead. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/MPC8544DS.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index 5738192..a428e88 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -369,6 +369,9 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
#define CONFIG_TSEC3 1
#define CONFIG_TSEC3_NAME "eTSEC3"
+#define CONFIG_FSL_SGMII_RISER 1
+#define SGMII_RISER_PHY_OFFSET 0x1c
+
#define TSEC1_PHY_ADDR 0
#define TSEC3_PHY_ADDR 1