diff options
author | David Bauer <mail@david-bauer.net> | 2020-01-02 19:10:50 +0100 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-01-03 17:52:36 +0100 |
commit | 3e8b66e0da1aca04867d23ca2a8dbf2042e5b45b (patch) | |
tree | c7730507fc227cd5e51d51ee7e6586cc9ebee382 | |
parent | 80e0b97d079289787793ecdee4cfcd2e3a674f70 (diff) | |
download | upstream-3e8b66e0da1aca04867d23ca2a8dbf2042e5b45b.tar.gz upstream-3e8b66e0da1aca04867d23ca2a8dbf2042e5b45b.tar.bz2 upstream-3e8b66e0da1aca04867d23ca2a8dbf2042e5b45b.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>
(cherry picked from commit a272fafc9c507820cc62aa12464588bac45f250a)
-rw-r--r-- | target/linux/ramips/dts/ArcherC20i.dts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/ArcherC20i.dts b/target/linux/ramips/dts/ArcherC20i.dts index 52c2878763..94efb89dc8 100644 --- a/target/linux/ramips/dts/ArcherC20i.dts +++ b/target/linux/ramips/dts/ArcherC20i.dts @@ -9,6 +9,13 @@ compatible = "tplink,c20i", "ralink,mt7620a-soc"; model = "TP-Link Archer C20i"; + aliases { + led-boot = &led_wps; + led-failsafe = &led_wps; + led-running = &led_wps; + led-upgrade = &led_wps; + }; + chosen { bootargs = "console=ttyS0,115200"; }; @@ -25,7 +32,7 @@ trigger-sources = <&ohci_port1>, <&ehci_port1>; linux,default-trigger = "usbport"; }; - wps { + led_wps: wps { label = "c20i:blue:wps"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; |