From 2526c08008cbd157f8dc9cd0a99f511f0bb2b95f 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/generic/profiles/tp-link.mk | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/ar71xx/generic') diff --git a/target/linux/ar71xx/generic/profiles/tp-link.mk b/target/linux/ar71xx/generic/profiles/tp-link.mk index 8e0fa29e4a..c9f0cacb1e 100644 --- a/target/linux/ar71xx/generic/profiles/tp-link.mk +++ b/target/linux/ar71xx/generic/profiles/tp-link.mk @@ -5,6 +5,17 @@ # See /LICENSE for more information. # +define Profile/TLMR3020 + NAME:=TP-LINK TL-MR3020 + PACKAGES:=kmod-usb-core kmod-usb2 +endef + +define Profile/TLMR3020/Description + Package set optimized for the TP-LINK TL-MR3020. +endef +$(eval $(call Profile,TLMR3020)) + + define Profile/TLMR3220 NAME:=TP-LINK TL-MR3220 PACKAGES:=kmod-usb-core kmod-usb2 kmod-ledtrig-usbdev @@ -32,6 +43,7 @@ define Profile/TLWR703 PACKAGES:=kmod-usb-core kmod-usb2 endef + define Profile/TLWR703/Description Package set optimized for the TP-LINK TL-WR703N. endef -- cgit v1.2.3