arm64: dts: imx8mp-evk: Improve the Ethernet PHY description
authorFabio Estevam <festevam@gmail.com>
Thu, 18 Mar 2021 11:13:30 +0000 (08:13 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Mar 2021 01:49:57 +0000 (09:49 +0800)
According to the datasheet RTL8211, it must be asserted low for at least
10ms and at least 72ms "for internal circuits settling time" before
accessing the PHY registers.

Add properties to describe such requirements.

Reported-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-evk.dts

index 7db4273cc88bc099b4f392ce7a4daa28115173cb..2c28e589677ea1de04c2edd0ebe8f0e5c127192d 100644 (file)
@@ -98,6 +98,8 @@
                        reg = <1>;
                        eee-broken-1000t;
                        reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
+                       reset-assert-us = <10000>;
+                       reset-deassert-us = <80000>;
                };
        };
 };