mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04:00
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:
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 {
|
||||
|
||||
Reference in New Issue
Block a user