aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt305x
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-08 13:36:54 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-21 11:59:17 +0200
commit42dc5c2a3fb680c481200ce8da5a772af83428f6 (patch)
treeeadd4827b70ee5f220fe44c4ac11a056b520cdd0 /target/linux/ramips/rt305x
parent05c74e4000ecdd205d24315984ac300a59c8fea0 (diff)
downloadupstream-42dc5c2a3fb680c481200ce8da5a772af83428f6.tar.gz
upstream-42dc5c2a3fb680c481200ce8da5a772af83428f6.tar.bz2
upstream-42dc5c2a3fb680c481200ce8da5a772af83428f6.zip
ramips: improve LED support for D-Link DIR-615 D series
This patch adds a trigger for the WAN LED and enhances support for the WiFi LED by enabling activity indication. This is based on bug report feedback (see reference below). While at it, update the LED node names in DTS file. Fixes: FS#732 Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/rt305x')
-rwxr-xr-xtarget/linux/ramips/rt305x/base-files/etc/board.d/01_leds5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/rt305x/base-files/etc/board.d/01_leds b/target/linux/ramips/rt305x/base-files/etc/board.d/01_leds
index ae813e85d6..8260b09821 100755
--- a/target/linux/ramips/rt305x/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/rt305x/base-files/etc/board.d/01_leds
@@ -33,7 +33,6 @@ dlink,dir-300-b7|\
dlink,dir-320-b1|\
dlink,dir-600-b1|\
dlink,dir-610-a1|\
-dlink,dir-615-d|\
dlink,dir-615-h1|\
dlink,dir-620-a1|\
engenius,esr-9753|\
@@ -66,6 +65,10 @@ asiarf,awapn2403)
dlink,dcs-930l-b1)
ucidef_set_led_netdev "wifi" "WiFi" "$boardname:blue:wps"
;;
+dlink,dir-615-d)
+ ucidef_set_led_netdev "wan" "WAN (green)" "$boardname:green:wan" "eth0.2"
+ set_wifi_led "rt2800soc-phy0::radio"
+ ;;
dlink,dir-620-d1|\
trendnet,tew-714tru)
set_wifi_led "$boardname:green:wifi"