summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-07 19:36:35 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-07 19:36:35 +0000
commit19be413163addfaf3dad614b98d7c90173475e5f (patch)
tree679720f4b2f8d0920b0cb06a580c7f69702ffd84 /target/linux/ar71xx/base-files/etc/uci-defaults
parent3e84f7b9f1ad9873cc277c5b714accbf6f53a01e (diff)
ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29680 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds4
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network7
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
index 4d04dd7abe..6fe10877d2 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -178,6 +178,10 @@ tl-wr1043nd)
set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
;;
+tl-wr2543n)
+ set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
+ ;;
+
wrt160nl)
set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
;;
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index c7bd419f1d..45a9423c62 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -81,6 +81,13 @@ tl-wr1043nd)
ucidef_add_switch_vlan "rtl8366rb" "2" "0 5t"
;;
+tl-wr2543n)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 9t"
+ ucidef_add_switch_vlan "switch0" "2" "0 9t"
+ ;;
+
tl-wr841n-v1|\
tl-wr941nd)
ucidef_set_interface_raw "eth" "eth0"