]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx7-colibri: add delay for on-module phy supply
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>
Mon, 16 May 2022 13:47:20 +0000 (15:47 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 11 Jun 2022 09:13:26 +0000 (17:13 +0800)
commitaccfe90416c1b24858857b083725711e6739ea7e
tree2f8bf67e41a32079328c445e783dd70b271aa1b1
parent4c780c4298d97f0341a3b66121627ed6fcd5442b
ARM: dts: imx7-colibri: add delay for on-module phy supply

There is a significant time required for PHY Micrel KSZ8041 to power up.
Add a delay on start-up/wake-up before the FEC starts communicating with
the PHY.

LDO1 takes 6 ms, R39 + C44 takes ~100ms, the KSZ8041 datasheet asks for
~11 ms before starting any programming on the MIIM.

Counting that, add a 200 ms delay to be sure the PHY is ready for
programming. Also, add the same off delay time to give the capacitor
time to discharge in order to properly reset.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7-colibri.dtsi