board: colibri-imx6ull: fix detecting ethernet phy
authorPhilippe Schenker <philippe.schenker@toradex.com>
Fri, 8 Apr 2022 08:07:11 +0000 (10:07 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000 (19:10 +0200)
commitaa6f57d87767089a8685ada55ca99e67c90a86d9
treedbcd22dcd20dcd99434942e6ae8547fc956a7a33
parentf3b5100aff3a7edd53fd5d15bd6db92d294865e2
board: colibri-imx6ull: fix detecting ethernet phy

Now that it is possible to use regulator-fixed-clock make use
of it. This makes U-Boot detect the PHY on first cold-boot.

This commit also adjusts the code in setup_fec and follows
how it is done in mx6ullevk.c

This commit also slows down the boot-process by about 150ms
as it now waits for the regulator-fixed-clock voltage that
drives the PHY to go up.
If you rely on very fast boot-speeds and don't need ethernet
for your boot-process you can safely revert the changes on
imx6ull-colibri.dtsi

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
arch/arm/dts/imx6ull-colibri.dtsi
board/toradex/colibri-imx6ull/colibri-imx6ull.c