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>
};
};
+ 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>;