]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: ti: k3-am625-beagleplay: Fix DP83TD510E reset time
authorFrancesco Valla <francesco@valla.it>
Sun, 5 Jan 2025 16:26:30 +0000 (17:26 +0100)
committerNishanth Menon <nm@ti.com>
Wed, 8 Jan 2025 15:24:20 +0000 (09:24 -0600)
The reset deassert time for the DP83TD510E is incorrectly set to
60000us, while the datasheet states that the minimum time required
after an hard reset is 30us (while 60ms is the time required for the
Power-On Reset after supply stabilization). The error probably arose
from the two timings being indicated by the same symbol (T2).

Lower the required time to 35us, aligning it to the value required for
the PHY to complete the reset AND to be able to accept the RMII master
clock. This saves ~60ms on boot if the MDIO driver is built-in.

Signed-off-by: Francesco Valla <francesco@valla.it>
Link: https://lore.kernel.org/r/20250105162630.243899-1-francesco@valla.it
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts

index ee96f4f6deb0065d6af9e9eb3fb00cf5f82400c5..75c80290b12abad4739a4029864ea1c0de32a965 100644 (file)
                reg = <1>;
                reset-gpios = <&main_gpio1 5 GPIO_ACTIVE_LOW>;
                reset-assert-us = <25>;
-               reset-deassert-us = <60000>; /* T2 */
+               reset-deassert-us = <35>;
        };
 };