From 4b00d025585819f2b86b74def61471f766e82768 Mon Sep 17 00:00:00 2001 From: Mugunthan V N Date: Thu, 13 Oct 2016 19:33:37 +0530 Subject: include: configs: am335x: add Atheros phy support In AM335x GP EVM, Atheros 8031 phy is used, enable the driver as AM335x SoC RGMII delay mode has to be enabled in phy as mentioned in the silicon errata Advisory 1.0.10 Signed-off-by: Mugunthan V N Acked-by: Joe Hershberger --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 272c71b76b..daa7dd8b9f 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -432,6 +432,8 @@ #define CONFIG_PHY_GIGE #define CONFIG_PHYLIB #define CONFIG_PHY_SMSC +/* Enable Atheros phy driver */ +#define CONFIG_PHY_ATHEROS /* * NOR Size = 16 MiB -- cgit v1.2.3 From ab9715303d0b32e9a71dfa9c43d6629f54e2f236 Mon Sep 17 00:00:00 2001 From: Mugunthan V N Date: Thu, 13 Oct 2016 19:33:38 +0530 Subject: driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection cpsw driver supports only selection of phy mode in control module but control module has more setting like RGMII ID mode selection, RMII clock source selection. So ported to cpsw-phy-sel driver from kernel to u-boot. Signed-off-by: Mugunthan V N Signed-off-by: Lokesh Vutla Acked-by: Joe Hershberger --- include/cpsw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/cpsw.h b/include/cpsw.h index 257d12a08d..f135e7bfe0 100644 --- a/include/cpsw.h +++ b/include/cpsw.h @@ -48,6 +48,7 @@ struct cpsw_platform_data { void (*control)(int enabled); u32 host_port_num; u32 active_slave; + bool rmii_clock_external; u8 version; }; -- cgit v1.2.3