ipq40xx: wpj419: use reset-gpios property for phy reset
authorDaniel Danzberger <daniel@dd-wrt.com>
Wed, 6 Nov 2019 13:06:39 +0000 (14:06 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 7 Nov 2019 21:51:37 +0000 (22:51 +0100)
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@dd-wrt.com>
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-wpj419.dts

index b6eb99278b67c31ef2ad9f7da776d84e4a86aa2e..e75d07606ad9f89588787e80a333cc3e4df1c4ff 100644 (file)
 
                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 {