diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-31 18:37:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-31 18:37:01 +0000 |
commit | 97e4ddd012546ecaf5dea609af784e339408e502 (patch) | |
tree | 8eac46502e53997f4879ba1ffb09f53d89a89364 /target/linux/ar71xx/base-files | |
parent | 8766f32b8c10ec8f5a34c794397e90d8f9d5796a (diff) | |
download | mtk-20170518-97e4ddd012546ecaf5dea609af784e339408e502.zip mtk-20170518-97e4ddd012546ecaf5dea609af784e339408e502.tar.gz mtk-20170518-97e4ddd012546ecaf5dea609af784e339408e502.tar.bz2 |
ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.
Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade
[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]
Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>
SVN-Revision: 29972
Diffstat (limited to 'target/linux/ar71xx/base-files')
4 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index ae75f78..d961393 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -146,6 +146,7 @@ om2p) set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ;; +tl-mr11u | \ tl-mr3020) set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1" set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt" diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/network b/target/linux/ar71xx/base-files/etc/uci-defaults/network index 4d6a68b..ca99898 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/network +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/network @@ -111,6 +111,7 @@ aw-nr580 |\ bullet-m |\ eap7660d |\ rb-411 |\ +tl-mr11u |\ tl-mr3020 |\ tl-wa901nd |\ tl-wa901nd-v2 |\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 6761382..9f11722 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -100,6 +100,9 @@ tplink_board_detect() { "254300"*) model="TP-Link TL-WR2543N/ND" ;; + "110101"*) + model="TP-Link TL-MR11U" + ;; "302000"*) model="TP-Link TL-MR3020" ;; @@ -292,6 +295,9 @@ ar71xx_board_detect() { *"TL-WR703N v1") name="tl-wr703n" ;; + *"TL-MR11U") + name="tl-mr11u" + ;; *UniFi) name="unifi" ;; diff --git a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh index d07b782..49df3c3 100755 --- a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh @@ -122,6 +122,7 @@ platform_check_image() { } return 0 ;; + tl-mr11u | \ tl-mr3020 | \ tl-mr3220 | \ tl-mr3420 | \ |