ar71xx: add support for TP-Link TL-MR3020
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Jan 2012 17:30:47 +0000 (17:30 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 4 Jan 2012 17:30:47 +0000 (17:30 +0000)
commit2b1cf2b32ceaee4a99bf3b290f814095100962fb
tree319ae382d2e5675cadf937aee2c4222bb298ec56
parent5ecee7ec9f474d78d5808a53e44d93195d11cf92
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
target/linux/ar71xx/base-files/etc/uci-defaults/network
target/linux/ar71xx/base-files/lib/ar71xx.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/config-2.6.39
target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig
target/linux/ar71xx/files/arch/mips/ar71xx/Makefile
target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3020.c [new file with mode: 0644]
target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h
target/linux/ar71xx/generic/profiles/tp-link.mk
target/linux/ar71xx/image/Makefile