From: Jonas Jelonek Date: Mon, 18 May 2026 09:06:38 +0000 (+0000) Subject: realtek: add additional LED for XS1930-12HP X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=50185c8708f555f503c618df79fa889a7bb95188;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/23428 Signed-off-by: Robert Marko --- diff --git a/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts b/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts index 86faa74d4c9..007ef377d95 100644 --- a/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts +++ b/target/linux/realtek/dts/rtl9313_zyxel_xs1930-12hp.dts @@ -12,6 +12,14 @@ / { compatible = "zyxel,xs1930-12hp", "realtek,rtl9313-soc"; model = "Zyxel XS1930-12HP"; + + leds { + led_poe_max: led-7 { + color = ; + function = "poe-usage"; + gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + }; + }; }; &led_set {