aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt76x8
diff options
context:
space:
mode:
authorAlex Lewontin <alex.c.lewontin@gmail.com>2020-02-21 15:58:12 -0500
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-23 21:53:22 +0200
commit888afe7c698d94af6543d8be86d341cf99c998d8 (patch)
treeb9c9b2f3a454da433a1ac74e4ff2b03abab37e8f /target/linux/ramips/mt76x8
parent3c20bb06440ae9f57337dc00383143b993e447e1 (diff)
downloadupstream-888afe7c698d94af6543d8be86d341cf99c998d8.tar.gz
upstream-888afe7c698d94af6543d8be86d341cf99c998d8.tar.bz2
upstream-888afe7c698d94af6543d8be86d341cf99c998d8.zip
ramips: move Netgear R6120 LED trigger to DTS
This moves the trigger for the Netgear R6120's wlan2g_green LED from base-files/etc/board.d/01_leds to the device-tree file. This has been applied to R6120 based on findings for the very similar Netgear R6080. Signed-off-by: Alex Lewontin <alex.c.lewontin@gmail.com> [merge case in 01_leds, slightly adjust commit message/title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/mt76x8')
-rwxr-xr-xtarget/linux/ramips/mt76x8/base-files/etc/board.d/01_leds8
1 files changed, 2 insertions, 6 deletions
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
index 685895452a..0837f9d003 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
@@ -22,7 +22,8 @@ alfa-network,awusfree1)
;;
asus,rt-n10p-v3|\
asus,rt-n11p-b1|\
-asus,rt-n12-vp-b1)
+asus,rt-n12-vp-b1|\
+netgear,r6120)
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0xf"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
;;
@@ -46,11 +47,6 @@ hiwifi,hc5761a)
mediatek,linkit-smart-7688)
ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt"
;;
-netgear,r6120)
- ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0f"
- ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
- ucidef_set_led_wlan "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "phy0tpt"
- ;;
rakwireless,rak633)
set_wifi_led "$boardname:blue:wifi"
;;