summaryrefslogtreecommitdiff
path: root/include/configs/cl-som-am57x.h
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2016-12-28 18:28:35 +0200
committerTom Rini <trini@konsulko.com>2017-01-02 11:14:07 -0500
commitfc300e2c5d9b6217400d89a58e35a69b362ad288 (patch)
treec612e3719583bff2e349799e69acac409cd9805d /include/configs/cl-som-am57x.h
parent965c509f0a06ea506432e1f90fdd43a0faff6c23 (diff)
downloadu-boot-imx-fc300e2c5d9b6217400d89a58e35a69b362ad288.zip
u-boot-imx-fc300e2c5d9b6217400d89a58e35a69b362ad288.tar.gz
u-boot-imx-fc300e2c5d9b6217400d89a58e35a69b362ad288.tar.bz2
arm: am57xx: cl-som-am57x: add ETH support
Add MAC support. Use PHY, connected to RGMII1 as a default Eth adapter, by appropriate setting of 'cpsw_data.active_slave'. 'cpsw_phy' env variable can override this setting. Set the MAC addresses in the U-Boot environment. The addresses are retrieved from the on-board EEPROM or from the SOC's MAC fuses. Set the following PHYs RGMII clock delays: - Enable RX delay - Disable TX delay Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> [uri.mashiach@compulab.co.il: add RGMII clock delays] Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/cl-som-am57x.h')
-rw-r--r--include/configs/cl-som-am57x.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 48c0f7f..2001b0c 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -114,6 +114,23 @@
#define CONFIG_USB_ETHER_ASIX
#define CONFIG_USB_ETHER_MCS7830
+/* CPSW Ethernet */
+#define CONFIG_DRIVER_TI_CPSW
+#define CONFIG_MII
+#define CONFIG_BOOTP_DEFAULT
+#define CONFIG_BOOTP_SEND_HOSTNAME
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_PHY_GIGE
+#define CONFIG_PHY_ATHEROS
+#define CONFIG_PHYLIB
+#define CONFIG_SYS_RX_ETH_BUFFER 64
+#define PHY_ANEG_TIMEOUT 8000
+
+#define CONFIG_BOOTP_DNS
+#define CONFIG_BOOTP_DNS2
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_NET_RETRY_COUNT 10
+
#endif /* !CONFIG_SPL_BUILD */
#endif /* __CONFIG_CL_SOM_AM57X_H */