aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2019-11-13 23:47:14 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-11-13 16:05:19 +0100
commitfe6a04a8fe85755f080971280aa6a2b34f79718c (patch)
tree363de9df1bddf50a78029989e5fee3dfecd36a95
parentaabdf6991cce55a76540c91ff3b5177afd8dce99 (diff)
downloadupstream-fe6a04a8fe85755f080971280aa6a2b34f79718c.tar.gz
upstream-fe6a04a8fe85755f080971280aa6a2b34f79718c.tar.bz2
upstream-fe6a04a8fe85755f080971280aa6a2b34f79718c.zip
ramips: change status LED of Samsung CY-SWR1100
Use power LED for status indication and free WPS LED for other uses. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
-rw-r--r--target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts b/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
index 7bab768fe4..0d98a43e0b 100644
--- a/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
+++ b/target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
@@ -10,8 +10,10 @@
model = "Samsung CY-SWR1100";
aliases {
- led-boot = &led_wps;
- led-failsafe = &led_wps;
+ led-boot = &led_power;
+ led-failsafe = &led_power;
+ led-running = &led_power;
+ led-upgrade = &led_power;
};
nor-flash@1c000000 {
@@ -88,7 +90,7 @@
leds {
compatible = "gpio-leds";
- led_wps: wps {
+ wps {
label = "cy-swr1100:blue:wps";
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
};
@@ -100,7 +102,7 @@
linux,default-trigger = "usbport";
};
- power {
+ led_power: power {
label = "cy-swr1100:blue:power";
gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
};