summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-bcmcygnus
diff options
context:
space:
mode:
authorJiandong Zheng <jdzheng@broadcom.com>2015-07-15 16:28:14 -0700
committerTom Rini <trini@konsulko.com>2015-08-12 20:47:28 -0400
commit39d0ce06599c73e6e5b8d8c43c64e5272694cbbc (patch)
tree64c4afa292065d215dadd0f685c977ffff06f1fd /arch/arm/include/asm/arch-bcmcygnus
parent3b5df50ec02efbef84cff05d279bd734c020996f (diff)
downloadblackbird-obmc-uboot-39d0ce06599c73e6e5b8d8c43c64e5272694cbbc.tar.gz
blackbird-obmc-uboot-39d0ce06599c73e6e5b8d8c43c64e5272694cbbc.zip
arm: bcmcygnus: Enable Ethernet support
Enable BCM SF2 ethernet and PHY for BCM Cygnus SoC Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Steve Rae <srae@broadcom.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/arm/include/asm/arch-bcmcygnus')
-rw-r--r--arch/arm/include/asm/arch-bcmcygnus/configs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-bcmcygnus/configs.h b/arch/arm/include/asm/arch-bcmcygnus/configs.h
index 5354637cf0..3c0716082a 100644
--- a/arch/arm/include/asm/arch-bcmcygnus/configs.h
+++ b/arch/arm/include/asm/arch-bcmcygnus/configs.h
@@ -22,4 +22,15 @@
#define CONFIG_CONS_INDEX 3
#define CONFIG_SYS_NS16550_COM3 0x18023000
+/* Ethernet */
+#define CONFIG_BCM_SF2_ETH
+#define CONFIG_BCM_SF2_ETH_GMAC
+
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_BROADCOM
+#define CONFIG_PHY_RESET_DELAY 10000 /* PHY reset delay in us*/
+
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_MII
+
#endif /* __ARCH_CONFIGS_H */
OpenPOWER on IntegriCloud