From: Daniel Danzberger Date: Wed, 6 Nov 2019 13:06:39 +0000 (+0100) Subject: ipq40xx: wpj419: use reset-gpios property for phy reset X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8db44964434d0ab82d9fef8e0218d08c94039bda;p=openwrt%2Fstaging%2Frobimarko.git ipq40xx: wpj419: use reset-gpios property for phy reset 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 --- 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@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@98000 {