aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-01-04 17:30:47 +0000
commit2526c08008cbd157f8dc9cd0a99f511f0bb2b95f (patch)
tree319ae382d2e5675cadf937aee2c4222bb298ec56 /target/linux/ar71xx/base-files
parentb81818bf2f5a6e61300f146bf6dc6f97b31fdecd (diff)
downloadupstream-2526c08008cbd157f8dc9cd0a99f511f0bb2b95f.tar.gz
upstream-2526c08008cbd157f8dc9cd0a99f511f0bb2b95f.tar.bz2
upstream-2526c08008cbd157f8dc9cd0a99f511f0bb2b95f.zip
ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very similiar to the TL-WR703N. The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions. Only four LEDs can be controlled via GPIO. The power LED is connected to the power supply. The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals of the sliding switch have been mapped to BTN_0 and BTN_1. I have also setup a wiki page with details here: http://wiki.openwrt.org/toh/tp-link/tl-mr3020 USB is working and has been tested with USB mass storage and USB UMTS stick. Wifi also seems to work. Ethernet is working too. Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/uci-defaults/network1
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/upgrade/platform.sh1
3 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network
index ba556c1075..bf46fd765a 100755
--- a/target/linux/ar71xx/base-files/etc/uci-defaults/network
+++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network
@@ -108,6 +108,7 @@ aw-nr580 |\
bullet-m |\
eap7660d |\
rb-411 |\
+tl-mr3020 |\
tl-wa901nd-v2 |\
tl-wr703n |\
wp543)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index b259b67865..b26a8debfa 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -94,6 +94,9 @@ tplink_board_detect() {
"104300"*)
model="TP-Link TL-WR1043N/ND"
;;
+ "302000"*)
+ model="TP-Link TL-MR3020"
+ ;;
"322000"*)
model="TP-Link TL-MR3220"
;;
@@ -238,6 +241,9 @@ ar71xx_board_detect() {
*"DIR-615 rev. C1")
name="dir-615-c1"
;;
+ *TL-MR3020)
+ name="tl-mr3020"
+ ;;
*TL-MR3220)
name="tl-mr3220"
;;
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index ec0d03b684..c2bfa08dbb 100755
--- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@ -119,6 +119,7 @@ platform_check_image() {
}
return 0
;;
+ tl-mr3020 | \
tl-mr3220 | \
tl-mr3420 | \
tl-wa901nd | \