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 | |
parent | 55e13f4e6a46b9b1ce753b269deec4b6322a679f (diff) | |
download | mtk-20170518-1045c83527d8c1b178321de104305c3a491ef923.zip mtk-20170518-1045c83527d8c1b178321de104305c3a491ef923.tar.gz mtk-20170518-1045c83527d8c1b178321de104305c3a491ef923.tar.bz2 |
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')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/network | 1 | ||||
-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 |
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 ba556c1..bf46fd7 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 b259b67..b26a8de 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 ec0d03b..c2bfa08 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 | \ |