summaryrefslogtreecommitdiff
path: root/include/configs/udoo_neo.h
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2016-12-06 15:38:26 -0200
committerStefano Babic <sbabic@denx.de>2016-12-16 10:21:29 +0100
commita11e30f8c877ea9aaeef0e9e762b811a08d65bd1 (patch)
tree14650e7f616abe1aba0fce01f0d0f5d3b16bffc3 /include/configs/udoo_neo.h
parent21729bcdbdcd102cdb15535331d7e4b7b204a0b4 (diff)
udoo_neo: Add Ethernet support
UDOO Neo boards has one FEC port connected to KSZ8091, add support for it. Tested on a UDOO Neo Full with "dhcp zImage" command. Signed-off-by: Breno Lima <breno.lima@nxp.com>
Diffstat (limited to 'include/configs/udoo_neo.h')
-rw-r--r--include/configs/udoo_neo.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 0c59068231..aec39db6c1 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -58,7 +58,8 @@
BOOTENV
#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0)
+ func(MMC, mmc, 0) \
+ func(DHCP, dhcp, na)
#define CONFIG_BOOTCOMMAND \
"run findfdt; " \
@@ -103,4 +104,18 @@
#define CONFIG_POWER_PFUZE3000_I2C_ADDR 0x08
#define PFUZE3000_I2C_BUS 0
+/* Network */
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+
+#define CONFIG_FEC_ENET_DEV 0
+#define IMX_FEC_BASE ENET_BASE_ADDR
+#define CONFIG_FEC_MXC_PHYADDR 0x0
+
+#define CONFIG_FEC_XCV_TYPE RMII
+#define CONFIG_ETHPRIME "FEC0"
+
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MICREL
+
#endif /* __CONFIG_H */