[OpenWrt-Devel] [PATCH] ipq40xx: wpj419: use reset-gpios property for phy reset

Daniel Danzberger daniel at dd-wrt.com
Wed Nov 6 08:06:39 EST 2019


The old GPIO based phy reset (phy-reset-gpio) will be removed form
the ipq40xx mdio driver in the future.

Signed-off-by: Daniel Danzberger <daniel at dd-wrt.com>
---
 .../files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
index b6eb99278b..e75d07606a 100644
--- a/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
+++ b/target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts
@@ -236,9 +236,10 @@
 
 		mdio at 90000 {
 			status = "okay";
-			phy-reset-gpio = <&tlmm 47 0>;
 			pinctrl-0 = <&mdio_pins>;
 			pinctrl-names = "default";
+			reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+			reset-delay-us = <5000>;
 		};
 
 		ess-psgmii at 98000 {
-- 
2.24.0.rc1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list