1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-16 17:13:10 +02:00

ar71xx: add user-space support for the TL-MR3220 v2

Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34780 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-12-19 08:50:41 +00:00
parent 452fe04a12
commit 3ef3d8ca13
5 changed files with 16 additions and 0 deletions

View File

@ -126,6 +126,7 @@ get_status_led() {
status_led="tp-link:green:wps"
;;
tl-mr3220 | \
tl-mr3220-v2 | \
tl-mr3420 | \
tl-wa901nd | \
tl-wa901nd-v2 | \

View File

@ -118,6 +118,16 @@ tl-mr3420 )
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
tl-mr3220-v2)
ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
;;
tl-wa901nd)
ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
;;

View File

@ -200,6 +200,7 @@ rb-751 |\
tew-632brp |\
tew-712br |\
tl-mr3220 |\
tl-mr3220-v2 |\
tl-mr3420 |\
tl-wr741nd |\
tl-wr741nd-v4 |\

View File

@ -345,6 +345,9 @@ ar71xx_board_detect() {
*TL-MR3220)
name="tl-mr3220"
;;
*"TL-MR3220 v2")
name="tl-mr3220-v2"
;;
*TL-MR3420)
name="tl-mr3420"
;;

View File

@ -151,6 +151,7 @@ platform_check_image() {
tl-mr3020 | \
tl-mr3040 | \
tl-mr3220 | \
tl-mr3220-v2 | \
tl-mr3420 | \
tl-wa7510n | \
tl-wa901nd | \