aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFabio Estevam2019-09-16 14:15:00 -0300
committerStefano Babic2019-10-08 16:35:59 +0200
commitd9033f2f422eb3d82c9e914a85ab73bcf7b2a1d5 (patch)
tree00839c686daeded85db1840ef93e7eb98f236912 /include
parent7efe52a0a7142354e428ed81f8d84a22884b8be3 (diff)
pico-imx6: Add Ethernet support
Add Ethernet support. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'include')
-rw-r--r--include/configs/pico-imx6.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/pico-imx6.h b/include/configs/pico-imx6.h
index d151da07f27..d539b88bf77 100644
--- a/include/configs/pico-imx6.h
+++ b/include/configs/pico-imx6.h
@@ -129,4 +129,14 @@
#define CONFIG_BOARD_SIZE_LIMIT 715776
#define CONFIG_SYS_MMC_ENV_DEV 0
+/* Ethernet Configuration */
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+#define IMX_FEC_BASE ENET_BASE_ADDR
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_ETHPRIME "FEC"
+#define CONFIG_FEC_MXC_PHYADDR 1
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_ATHEROS
+
#endif /* __CONFIG_H * */