summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2026-04-04 00:15:10 +0000
committerRobert Marko2026-04-10 14:28:39 +0000
commit518e4542e97e0c52226a735246f08a88e8858f2a (patch)
treee5dfd2c17b7862ca109e723c89c2f7bd56b34172
parent865229fad90af85989bbcdd294424a6f2d2723b3 (diff)
downloadopenwrt-518e4542e97e0c52226a735246f08a88e8858f2a.tar.gz
ath79: wndap360: add green LED definition
For running, have it be the green LED as in stock firmware. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22769 (cherry picked from commit 018d6091a5add9c88e618dc25dd053376b0c910b) Link: https://github.com/openwrt/openwrt/pull/22867 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--target/linux/ath79/dts/ar7161_netgear_wndap360.dts8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndap360.dts b/target/linux/ath79/dts/ar7161_netgear_wndap360.dts
index bfdca96e5e..b441a64948 100644
--- a/target/linux/ath79/dts/ar7161_netgear_wndap360.dts
+++ b/target/linux/ath79/dts/ar7161_netgear_wndap360.dts
@@ -17,13 +17,19 @@
aliases {
led-boot = &led_power_orange;
led-failsafe = &led_power_orange;
- led-running = &led_power_orange;
+ led-running = &led_power_green;
led-upgrade = &led_power_orange;
};
leds {
compatible = "gpio-leds";
+ led_power_green: power_green {
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
+ gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
+ };
+
led_power_orange: power_orange {
function = LED_FUNCTION_POWER;
color = <LED_COLOR_ID_ORANGE>;