From: David Bauer Date: Thu, 2 Jan 2020 18:10:50 +0000 (+0100) Subject: ramips: add system LED indicators for TP-Link C20i X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a272fafc9c507820cc62aa12464588bac45f250a;p=openwrt%2Fstaging%2Fblocktrron.git 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 --- 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 = ðernet; }; @@ -25,7 +29,7 @@ linux,default-trigger = "usbport"; }; - wps { + led_wps: wps { label = "archer-c20i:blue:wps"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; };