]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit2897967e1a0a0132a712337821302adfad6af8e5
treedbcd22dcd20dcd99434942e6ae8547fc956a7a33
parent5cba93ca3575b4587de1c21543e416a8a42903cc
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