layerscape: configure PHY reset GPIO on LS1012A-FRDM
authorPawel Dembicki <[email protected]>
Sat, 1 Nov 2025 22:26:20 +0000 (23:26 +0100)
committerChristian Marangi <[email protected]>
Tue, 4 Nov 2025 22:19:27 +0000 (23:19 +0100)
commit7e4ba852b6337f0700511fad116357cd7004cc36
tree14b3a26b194794a9558307e7e27c5cc187581585
parent2352de96c1c2fea34d31da24f8cbfc2faf6d820a
layerscape: configure PHY reset GPIO on LS1012A-FRDM

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20614
Signed-off-by: Christian Marangi <[email protected]>
target/linux/layerscape/patches-6.12/900-layerscape-dts-ls1012a-frdm-add-GPIO-hog-for-PHY-res.patch [new file with mode: 0644]