realtek: add PoE enable line to Netgear GS110TPP
authorSander Vanheule <sander@svanheule.net>
Mon, 27 Jan 2025 21:17:57 +0000 (22:17 +0100)
committerSander Vanheule <sander@svanheule.net>
Tue, 28 Jan 2025 19:59:04 +0000 (20:59 +0100)
commit807074309dff4eff4097900b9de53abce8684e2f
tree4b056301264eb0741f69300086df1643f2cc2664
parentf31c9bb237c306c89b553a96c96460f194202df2
realtek: add PoE enable line to Netgear GS110TPP

By switching to the new RTL8231 driver in commit b7af54d5c18c ("realtek:
Simple conversions to RTL8231 MFD driver"), the bootloader state of the
RTL8231's pins is now maintained. As the bootloader de-asserts the PoE
enable signal, this means PoE output is no longer available.

Add a gpio-hog with high output, restoring the line value from when the
pin was configured (by default) as an input with a pull-up resistor.
This will hard-enable the PoE output, but the individual ports can still
be administratively disabled by realtek-poe or a similar tool.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts/rtl8380_netgear_gs110tpp-v1.dts