diff options
author | Marc Ferland <ferlandm@amotus.ca> | 2021-01-04 10:41:57 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-01-23 11:30:31 +0100 |
commit | 9452d58e1064aa55d75263e7a5134043688671f2 (patch) | |
tree | b4895cd4e6b434f3923832b5fe39eb5e2df0e4ed /include/configs | |
parent | 4736871dc29956af84532fd6c306edf7533c34a5 (diff) | |
download | u-boot-9452d58e1064aa55d75263e7a5134043688671f2.tar.gz u-boot-9452d58e1064aa55d75263e7a5134043688671f2.tar.xz u-boot-9452d58e1064aa55d75263e7a5134043688671f2.zip |
arm: dart6ul: enable DM_ETH for the dart6ul
This patch converts the dart6ul ethernet support to DM_ETH and cleans
up the legacy ethernet code. The clean up, more specifically:
* moves the fec2 node and pin definition to the carrier board DTS
since the phy associated with it is on the carrier board and not on
the SoM;
* add the reset pin associated to each phy;
* separate the ethernet, mdio and reset pins of each fec so that they
are easier to reference;
* add clock properties to the phy nodes since they are connected to the
50Mhz ENET[12]_TX_CLK clock of the SoC;
* remove CONFIG_BOARD_EARLY_INIT_F since the function is now empty.
Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/dart_6ul.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/dart_6ul.h b/include/configs/dart_6ul.h index 4eb50f841e..dccfa034a4 100644 --- a/include/configs/dart_6ul.h +++ b/include/configs/dart_6ul.h @@ -22,16 +22,9 @@ #ifdef CONFIG_CMD_NET #define CONFIG_FEC_ENET_DEV 0 - #if (CONFIG_FEC_ENET_DEV == 0) -#define IMX_FEC_BASE ENET_BASE_ADDR -#define CONFIG_FEC_MXC_PHYADDR 0x1 -#define CONFIG_FEC_XCV_TYPE RMII #define CONFIG_ETHPRIME "eth0" #elif (CONFIG_FEC_ENET_DEV == 1) -#define IMX_FEC_BASE ENET2_BASE_ADDR -#define CONFIG_FEC_MXC_PHYADDR 0x3 -#define CONFIG_FEC_XCV_TYPE RMII #define CONFIG_ETHPRIME "eth1" #endif #endif |