ath79: migrate LED paths of TL-WDR4300 board
authorSungbo Eo <mans0n@gorani.run>
Sun, 15 Dec 2019 09:16:55 +0000 (18:16 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 17 Dec 2019 12:35:24 +0000 (13:35 +0100)
TL-WDR4300 board uses only green LED names in DTSI.
This patch adds migration for them.

The actual LED colors on the devices have been reported to vary
across subrevisions (v1.x). Despite, the USB LEDs on the back might
have different color than the other LEDs on the front.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
[extended commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath79/generic/base-files/etc/uci-defaults/04_led_migration

index b23e5f7db63ccf3b43d5ba94d8b3647b39387191..c8301d0769946642b9db1b3a202040d88d5c201b 100644 (file)
@@ -20,7 +20,10 @@ tplink,archer-c7-v4|\
 tplink,archer-c7-v5)
        migrate_leds "^$boardonly:=tp-link:"
        ;;
 tplink,archer-c7-v5)
        migrate_leds "^$boardonly:=tp-link:"
        ;;
-tplink,archer-c7-v2)
+tplink,archer-c7-v2|\
+tplink,tl-wdr3600-v1|\
+tplink,tl-wdr4300-v1|\
+tplink,tl-wdr4300-v1-il)
        migrate_leds ":blue:=:green:"
        ;;
 tplink,re355-v1)
        migrate_leds ":blue:=:green:"
        ;;
 tplink,re355-v1)