ARM: dts: imx6qdl-dhcom: Align PHY reset timing with other DHCOM SoMs
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Wed, 8 Dec 2021 15:05:43 +0000 (16:05 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Dec 2021 08:29:23 +0000 (16:29 +0800)
According to datasheet Microchip LAN8710A/LAN8710Ai DS00002164B [1]
the reset should stay asserted for at least 100uS and software
should wait at least 200nS. On other DHCOM SoMs with the SMSC
LAN8710Ai PHY both reset delays are 500us. This should be plenty
and for consistency, the i.MX6 SoM should also use these delays.

[1] https://ww1.microchip.com/downloads/en/DeviceDoc/00002164B.pdf

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi

index 5d10c40313cbd220c09d771b7c9740baf47d01e2..e71687061161082008d68f5b30f6bb09213f4848 100644 (file)
                        pinctrl-0 = <&pinctrl_ethphy0>;
                        pinctrl-names = "default";
                        reg = <0>;
-                       reset-assert-us = <1000>;
-                       reset-deassert-us = <1000>;
+                       reset-assert-us = <500>;
+                       reset-deassert-us = <500>;
                        reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
                        smsc,disable-energy-detect; /* Make plugin detection reliable */
                };