mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 02:19:06 +04:00
Use the realtek-pse-mcu kernel driver instead of realtek-poe. The MCU is a Nuvoton M05xx using the gen1 protocol over UART at 19200 baud. realtek-poe turns off the MCU's port mapping at startup, which reversed the PoE port numbering and the front-panel PoE LEDs. The kernel driver leaves the mapping alone, so both now match the front panel. The MCU keeps this state across a warm reboot, so a unit sysupgraded from a realtek-poe image stays reversed until its first power cycle. Tested on a GS110TPP v1: the driver probes the MCU and its BCM59121, and a PoE device on lan1 is powered. Signed-off-by: Kel Modderman <kelvmod@gmail.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Link: https://github.com/openwrt/openwrt/pull/25298 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>