diff options
| author | Dmitry Lifshitz <[email protected]> | 2016-12-28 18:28:35 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-01-02 11:14:07 -0500 |
| commit | fc300e2c5d9b6217400d89a58e35a69b362ad288 (patch) | |
| tree | c612e3719583bff2e349799e69acac409cd9805d /include | |
| parent | 965c509f0a06ea506432e1f90fdd43a0faff6c23 (diff) | |
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 <[email protected]>
[[email protected]: add RGMII clock delays]
Signed-off-by: Uri Mashiach <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/cl-som-am57x.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h index 48c0f7f0442..2001b0c9db6 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 */ |
