aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-11 18:01:19 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-09-12 01:24:30 +0200
commit3fc78609615fc88133bc8fb9eff2c6f7b02f7684 (patch)
tree91612883a5fe771b1435cde9f5a4b37c52e999af /target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
parent77825f3cfe6f1f1088416ddddfd068af085e9888 (diff)
downloadupstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.tar.gz
upstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.tar.bz2
upstream-3fc78609615fc88133bc8fb9eff2c6f7b02f7684.zip
ramips: assign LEDs for RAVPower RP-WD03
According to the User Manual, there is a "Wi-Fi LED" with blue and green colors, doing the following by default: Flashing Blue: System loading Solid Blue: System loaded Flashing Green: Connecting to the Internet Solid Green: Connected to the Internet According to this vendor behavior, we keep refer to the LED as "wifi" but implement the according default behavior as in OEM firmware. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts')
-rw-r--r--target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
index 82b8a6b83f..0078103da3 100644
--- a/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
+++ b/target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
@@ -11,6 +11,10 @@
aliases {
label-mac-device = &ethernet;
+ led-boot = &led_wifi_blue;
+ led-failsafe = &led_wifi_blue;
+ led-running = &led_wifi_blue;
+ led-upgrade = &led_wifi_blue;
};
chosen {
@@ -20,12 +24,12 @@
leds {
compatible = "gpio-leds";
- green-wifi {
+ wifi_green {
label = "rp-wd03:green:wifi";
gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
};
- blue-wifi {
+ led_wifi_blue: wifi_blue {
label = "rp-wd03:blue:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
};