aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2019-10-22 03:30:04 +0000
committerStefano Babic <sbabic@denx.de>2019-11-05 10:27:18 +0100
commitbdcf3a88cc582ce8bb9ea024fa917d9a52e05479 (patch)
tree63315feb47ea62c7d2d890c6cf85c23bf84c81ab /include
parent673f6597321d0e1b27a99fb7758a338a6b915318 (diff)
downloadu-boot-bdcf3a88cc582ce8bb9ea024fa917d9a52e05479.zip
u-boot-bdcf3a88cc582ce8bb9ea024fa917d9a52e05479.tar.gz
u-boot-bdcf3a88cc582ce8bb9ea024fa917d9a52e05479.tar.bz2
imx: imx8mm-evk: enable ethernet
add phy-reset-gpios to reset phy Add board_phy_config to configure phy Enable DM_ETH Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8mm_evk.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h
index a9d99ec..e0c5f5a 100644
--- a/include/configs/imx8mm_evk.h
+++ b/include/configs/imx8mm_evk.h
@@ -150,4 +150,12 @@
#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_ETHPRIME "FEC"
+
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_FEC_MXC_PHYADDR 0
+#define FEC_QUIRK_ENET_MAC
+
+#define IMX_FEC_BASE 0x30BE0000
+
#endif