]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq60xx: eap6xx-outdoor: add PHY reset pinctrl
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Tue, 13 May 2025 20:59:00 +0000 (15:59 -0500)
committerRobert Marko <robimarko@gmail.com>
Wed, 14 May 2025 17:38:25 +0000 (19:38 +0200)
It was suggested that the pinctrl property of the mdio node should
include the PHY reset GPIO. Add them in.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18584
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-tplink-eap6xx-outdoor.dtsi

index 486ea7ad2576afac9ad71586b46e4a8eb4a1d204..0a551e73ca6c5684dba9df6788cb7decdb172319 100644 (file)
                };
        };
 
+       phy_reset_pin: phy-reset-pin {
+               pins = "gpio77";
+               function = "gpio";
+               bias-pull-up;
+       };
+
        led_enable {
                gpio-hog;
                output-high;
 };
 
 &mdio {
-       pinctrl-0 = <&mdio_pins>;
+       pinctrl-0 = <&mdio_pins>, <&phy_reset_pin>;
        pinctrl-names = "default";
        reset-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>;
        reset-delay-us = <10000>;