summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@freescale.com>2015-01-21 11:54:12 +0200
committerYork Sun <yorksun@freescale.com>2015-01-21 09:23:36 -0600
commitdb4a1767c09a4696792204d1cac33631cb38424e (patch)
tree21c1d788e5862041cb233cafee34c536045913da /include
parenta83fccc2c979263ba88a6801130258124caca51a (diff)
downloadu-boot-imx-db4a1767c09a4696792204d1cac33631cb38424e.zip
u-boot-imx-db4a1767c09a4696792204d1cac33631cb38424e.tar.gz
u-boot-imx-db4a1767c09a4696792204d1cac33631cb38424e.tar.bz2
board/T1040rdb: Add VSC9953 support for T1040rdb board
This patch configures and initializes the L2 switch on T1040rdb board. The external L2 switch ports may be connected to PHYs only over QSGMII, for T1040rdb. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/T104xRDB.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index 57cdf72..d47f1be 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -726,6 +726,14 @@
#define CONFIG_SYS_RGMII1_PHY_ADDR 0x01
#define CONFIG_SYS_RGMII2_PHY_ADDR 0x02
+/* Enable VSC9953 L2 Switch driver on T1040 SoC */
+#ifdef CONFIG_T1040RDB
+#define CONFIG_VSC9953
+#define CONFIG_VSC9953_CMD
+#define CONFIG_SYS_FM1_QSGMII11_PHY_ADDR 0x04
+#define CONFIG_SYS_FM1_QSGMII21_PHY_ADDR 0x08
+#endif
+
#define CONFIG_MII /* MII PHY management */
#define CONFIG_ETHPRIME "FM1@DTSEC4"
#define CONFIG_PHY_GIGE /* Include GbE speed/duplex detection */