ipq40xx: u4019: use reset-gpios instead of phy-reset-gpio
authorKristian Evensen <kristian.evensen@gmail.com>
Thu, 7 Nov 2019 16:34:18 +0000 (17:34 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 7 Nov 2019 21:51:37 +0000 (22:51 +0100)
Use reset-gpio instead of the custom phy-reset-gpio property to do phy
reset on the U4019. phy-reset-gpio was incorrectly introduced when we
added support for the U4019, and will be deprecated.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
target/linux/ipq40xx/files-4.19/arch/arm/boot/dts/qcom-ipq4019-unielec-u4019.dtsi

index cf67fddd2b1e07275eadf0bdeee7b09077745f41..c768e25ca0006c0ea91c70c01fb44a88b7008c0f 100644 (file)
@@ -17,7 +17,8 @@
                        status = "okay";
                        pinctrl-0 = <&mdio_pins>;
                        pinctrl-names = "default";
-                       phy-reset-gpio = <&tlmm 47 0>;
+                       reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
+                       reset-delay-us = <2000>;
                };
 
                ess-psgmii@98000 {