mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-19 02:29:29 -04:00
On the LS1012A-FRDM both PHY reset pins are tied to GPIO1_23. Up to Linux 6.6, pinctrl did not touch this GPIO and the reset line remained in the state set by U-Boot. Starting from 6.12, the kernel requires explicit configuration of this pin, otherwise the PHYs fail to be detected. This adds a gpio-hog node to ensure the reset line stays asserted, fixing PHY detection on boot. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Link: https://github.com/openwrt/openwrt/pull/20614 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>