aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/base-files
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-21 01:02:10 +0300
committerJohn Crispin <john@phrozen.org>2018-06-26 08:57:26 +0200
commit2a7e03af37d1112c2c2f6b6c80283d4d49407889 (patch)
tree6a93d85715b63894d1dcad4012e9335e54efbd74 /target/linux/ath79/base-files
parentd375d5fafefb4de453ee36108b64f8df49aa2bec (diff)
downloadupstream-2a7e03af37d1112c2c2f6b6c80283d4d49407889.tar.gz
upstream-2a7e03af37d1112c2c2f6b6c80283d4d49407889.tar.bz2
upstream-2a7e03af37d1112c2c2f6b6c80283d4d49407889.zip
ath79: add tl-wr2543-v1 support
to switch between wlan leds we need a userspace implementation Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/base-files')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/board.d/02_network4
-rw-r--r--target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom1
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 743b877aba..d978c3441e 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -70,6 +70,10 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan" "6@eth0"
;;
+ "tplink,tl-wr2543-v1")
+ ucidef_add_switch "switch0" \
+ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0"
+ ;;
"netgear,wndr3800")
ucidef_set_interfaces_lan_wan "eth0" "eth1"
ucidef_add_switch "switch0" \
diff --git a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
index 5b22b1544f..7023fa5e58 100644
--- a/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
+++ b/target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom
@@ -57,6 +57,7 @@ case "$FIRMWARE" in
"netgear,wnr612-v2"|\
"on,n150r"|\
"tplink,tl-wr740n-v2"|\
+ "tplink,tl-wr2543-v1"|\
"ubnt,unifi")
ath9k_eeprom_extract "art" 4096 2048
;;