summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2016-12-13 17:57:06 +0100
committerStefano Babic <sbabic@denx.de>2016-12-16 18:39:06 +0100
commit854bb75be98ad792ff64c26ae38a1392ea185cd6 (patch)
tree33ae5e1d20fdd9da08828c6274a01f07cebcbda7 /include
parentfcf7748303d2320ff5cd068d1eb91b0f02e9fa9f (diff)
imx6: icorem6_rqs: Add FEC support
Add FEC support for Engicam i.CoreM6 RQS modules. Cc: Stefano Babic <sbabic@denx.de> Cc: Matteo Lisi <matteo.lisi@engicam.com> Cc: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx6qdl_icore_rqs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/imx6qdl_icore_rqs.h b/include/configs/imx6qdl_icore_rqs.h
index 796035519d..01215631b6 100644
--- a/include/configs/imx6qdl_icore_rqs.h
+++ b/include/configs/imx6qdl_icore_rqs.h
@@ -111,6 +111,17 @@
# define CONFIG_SYS_FSL_ESDHC_ADDR 0
#endif
+/* Ethernet */
+#ifdef CONFIG_FEC_MXC
+# define CONFIG_FEC_MXC_PHYADDR 3
+# define CONFIG_FEC_XCV_TYPE RGMII
+
+# define CONFIG_MII
+# define CONFIG_PHYLIB
+# define CONFIG_PHY_MICREL
+# define CONFIG_PHY_MICREL_KSZ9021
+#endif
+
/* SPL */
#ifdef CONFIG_SPL
# define CONFIG_SPL_MMC_SUPPORT