From: Alexandru Gagniuc Date: Tue, 13 May 2025 20:59:00 +0000 (-0500) Subject: qualcommax: ipq60xx: eap6xx-outdoor: add PHY reset pinctrl X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=c75223338fb0461cd658a80b8eccb8fc1192cdad;p=openwrt%2Fstaging%2Flinusw.git qualcommax: ipq60xx: eap6xx-outdoor: add PHY reset pinctrl 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 Link: https://github.com/openwrt/openwrt/pull/18584 Signed-off-by: Robert Marko --- diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-tplink-eap6xx-outdoor.dtsi b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-tplink-eap6xx-outdoor.dtsi index 486ea7ad25..0a551e73ca 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-tplink-eap6xx-outdoor.dtsi +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-tplink-eap6xx-outdoor.dtsi @@ -80,6 +80,12 @@ }; }; + phy_reset_pin: phy-reset-pin { + pins = "gpio77"; + function = "gpio"; + bias-pull-up; + }; + led_enable { gpio-hog; output-high; @@ -100,7 +106,7 @@ }; &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>;