arm: dart6ul: enable DM_ETH for the dart6ul
authorMarc Ferland <ferlandm@amotus.ca>
Mon, 4 Jan 2021 15:41:57 +0000 (10:41 -0500)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
commit9452d58e1064aa55d75263e7a5134043688671f2
treeb4895cd4e6b434f3923832b5fe39eb5e2df0e4ed
parent4736871dc29956af84532fd6c306edf7533c34a5
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>
arch/arm/dts/imx6ull-dart-6ul.dts
arch/arm/dts/imx6ull-dart-6ul.dtsi
board/variscite/dart_6ul/dart_6ul.c
board/variscite/dart_6ul/spl.c
configs/variscite_dart6ul_defconfig
include/configs/dart_6ul.h