aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-01-02 19:10:50 +0100
committerDavid Bauer <mail@david-bauer.net>2020-01-02 21:41:58 +0100
commita272fafc9c507820cc62aa12464588bac45f250a (patch)
tree6f9c160255bd2a01519456c0ceccc1e23c2e9671
parent1e7c6381f0058e49caab8de54eaad4862732f95d (diff)
downloadupstream-a272fafc9c507820cc62aa12464588bac45f250a.tar.gz
upstream-a272fafc9c507820cc62aa12464588bac45f250a.tar.bz2
upstream-a272fafc9c507820cc62aa12464588bac45f250a.zip
ramips: add system LED indicators for TP-Link C20i
Use the WPS LED to indicate system status like it is done for the TP-Link Archer C2 v1 and many other boards. Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts
index 694528d749..a363af96cd 100644
--- a/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts
+++ b/target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts
@@ -7,6 +7,10 @@
model = "TP-Link Archer C20i";
aliases {
+ led-boot = &led_wps;
+ led-failsafe = &led_wps;
+ led-running = &led_wps;
+ led-upgrade = &led_wps;
label-mac-device = &ethernet;
};
@@ -25,7 +29,7 @@
linux,default-trigger = "usbport";
};
- wps {
+ led_wps: wps {
label = "archer-c20i:blue:wps";
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};