mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-09-21 06:59:47 +00:00
By switching to the new RTL8231 driver in commitb7af54d5c1
("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> (cherry picked from commit807074309d
)
1.1 KiB
1.1 KiB