diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-04 17:30:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-04 17:30:47 +0000 |
commit | 1045c83527d8c1b178321de104305c3a491ef923 (patch) | |
tree | 3c32d80dbf7bbfd64d18ba97c9d27514553dbcb0 /target/linux/ar71xx/base-files/lib | |
parent | 55e13f4e6a46b9b1ce753b269deec4b6322a679f (diff) | |
download | upstream-1045c83527d8c1b178321de104305c3a491ef923.tar.gz upstream-1045c83527d8c1b178321de104305c3a491ef923.tar.bz2 upstream-1045c83527d8c1b178321de104305c3a491ef923.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>
SVN-Revision: 29651
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 6 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/upgrade/platform.sh | 1 |
2 files changed, 7 insertions, 0 deletions
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 | \ |