realtek: add additional LED for XS1930-12HP

The -12HP variant has a dedicated red LED on GPIO 3 that lights up
when the PoE budget is exhausted. Add it as led_poe_max with
function = "poe-usage" so userspace can drive it from the PoE stack.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23428
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Jonas Jelonek
2026-05-18 09:06:38 +00:00
committed by Robert Marko
parent 9114f49446
commit 50185c8708
@@ -12,6 +12,14 @@
/ {
compatible = "zyxel,xs1930-12hp", "realtek,rtl9313-soc";
model = "Zyxel XS1930-12HP";
leds {
led_poe_max: led-7 {
color = <LED_COLOR_ID_RED>;
function = "poe-usage";
gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
};
};
};
&led_set {