aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid SantamarĂ­a Rogado <howl.nsp@gmail.com>2019-05-23 23:38:07 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-05-31 11:21:22 +0200
commit4d6da056836aa017e1006ff8dd463dfd5d7341df (patch)
tree4de99da291be9f599527ce1b93c0ffaeedccf513
parent7c91144ae6a45dc8d7ca6b68b3403e166185a498 (diff)
downloadupstream-4d6da056836aa017e1006ff8dd463dfd5d7341df.tar.gz
upstream-4d6da056836aa017e1006ff8dd463dfd5d7341df.tar.bz2
upstream-4d6da056836aa017e1006ff8dd463dfd5d7341df.zip
ath79: add leds migrations for archer-c7-v2 and v4
In ar71xx v2 has blue color defined because the same mach-*.c is also used for TL-WDR4900 model with blue leds. ath79 v2 dts defines them as green. For v4 the situation is the same as v5 so the conversion is identical only v4 instead v5. So now upgrading from ar71xx to ath79 should be also smoother for v2 and v4. Signed-off-by: David SantamarĂ­a Rogado <howl.nsp@gmail.com>
-rw-r--r--target/linux/ath79/base-files/etc/uci-defaults/04_led_migration6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
index fe4a9c3cc0..bc40d22c09 100644
--- a/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
+++ b/target/linux/ath79/base-files/etc/uci-defaults/04_led_migration
@@ -9,6 +9,12 @@ case "$board" in
engenius,epg5000)
migrate_leds ":wlan-2g=:wlan2g" ":wlan-5g=:wlan5g"
;;
+tplink,archer-c7-v2)
+ migrate_leds ":blue:=:green:"
+ ;;
+tplink,archer-c7-v4)
+ migrate_leds "archer-c7-v4:=tp-link:"
+ ;;
tplink,archer-c7-v5)
migrate_leds "archer-c7-v5:=tp-link:"
;;