From 1045c83527d8c1b178321de104305c3a491ef923 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 4 Jan 2012 17:30:47 +0000 Subject: 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 SVN-Revision: 29651 --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 ++++++ target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 + 2 files changed, 7 insertions(+) (limited to 'target/linux/ar71xx/base-files/lib') 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 | \ -- cgit v1.2.3