summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-06-19 11:51:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-06-19 11:51:18 +0000
commit2d97a5204514c0a0ad8eae503f14664bdb837a78 (patch)
treedb9205825ffec084ec5ea683382573c8aa637990 /target/linux/ar71xx/base-files/etc/uci-defaults
parent8b9931fd27f1db6755c9b84302f26375f0d399b1 (diff)
downloadmtk-20170518-2d97a5204514c0a0ad8eae503f14664bdb837a78.zip
mtk-20170518-2d97a5204514c0a0ad8eae503f14664bdb837a78.tar.gz
mtk-20170518-2d97a5204514c0a0ad8eae503f14664bdb837a78.tar.bz2
ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/leds6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
2 files changed, 7 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 0a111cb..0415221 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds
@@ -84,6 +84,12 @@ tl-wa901nd)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;
+tl-wdr4300)
+ ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1.1"
+ ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "1-1.2"
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
+ ;;
+
tl-wr741nd)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index 993e024..521cffd 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -89,6 +89,7 @@ ap113)
ucidef_add_switch_vlan "eth0" "2" "0t 2"
;;
+tl-wdr4300|\
tl-wr1041n-v2)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "eth0" "1" "1"