[PATCH 2/2] arm64: dts: imx8mp-evk: Improve the Ethernet PHY description

Fabio Estevam festevam at gmail.com
Thu Mar 18 11:13:30 GMT 2021


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 at nxp.com>
Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index 7db4273cc88b..2c28e589677e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -98,6 +98,8 @@ ethphy1: ethernet-phy at 1 {
 			reg = <1>;
 			eee-broken-1000t;
 			reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
+			reset-assert-us = <10000>;
+			reset-deassert-us = <80000>;
 		};
 	};
 };
-- 
2.25.1




More information about the linux-arm-kernel mailing list