Changeset 44526


Ignore:
Timestamp:
2015-02-24T13:00:50+01:00 (3 years ago)
Author:
blogic
Message:

ar71xx: TL-WA7210n v2 support

This patch adds support for TP-Link TL-WA7210n[0]

[0] http://www.tplink.com/en/products/details/?model=TL-WA7210N

Signed-off-by: Hendrik Frenzel <hfrenzel@…>

Location:
trunk
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

    r44417 r44526  
    299299        ;; 
    300300 
     301tl-wa7210n-v2) 
     302        ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0" 
     303        ucidef_set_rssimon "wlan0" "40000" "1" 
     304        ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:signal1" "wlan0" "1" "100" "0" "13" 
     305        ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:signal2" "wlan0" "26" "100" "-25" "13" 
     306        ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:signal3" "wlan0" "51" "100" "-50" "13" 
     307        ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:signal4" "wlan0" "76" "100" "-75" "13" 
     308        ;; 
     309 
    301310tl-wa750re) 
    302311        ucidef_set_led_netdev "lan" "LAN" "tp-link:orange:lan" "eth0" 
  • trunk/target/linux/ar71xx/base-files/etc/uci-defaults/02_network

    r44426 r44526  
    326326tl-mr3040-v2 |\ 
    327327tl-wa701nd-v2 |\ 
     328tl-wa7210n-v2 |\ 
    328329tl-wa750re |\ 
    329330tl-wa850re |\ 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r44426 r44526  
    131131                model="TP-Link TL-WA750RE" 
    132132                ;; 
     133        "721000"*) 
     134                model="TP-Link TL-WA7210N" 
     135                ;; 
    133136        "751000"*) 
    134137                model="TP-Link TL-WA7510N" 
     
    652655                name="tl-wa701nd-v2" 
    653656                ;; 
     657        *"TL-WA7210N v2") 
     658                name="tl-wa7210n-v2" 
     659                ;; 
    654660        *TL-WA750RE) 
    655661                name="tl-wa750re" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r44426 r44526  
    313313        tl-mr3420-v2 | \ 
    314314        tl-wa701nd-v2 | \ 
     315        tl-wa7210n-v2 | \ 
    315316        tl-wa7510n | \ 
    316317        tl-wa750re | \ 
  • trunk/target/linux/ar71xx/config-3.18

    r44456 r44526  
    9999CONFIG_ATH79_MACH_TL_MR3X20=y 
    100100CONFIG_ATH79_MACH_TL_WA701ND_V2=y 
     101CONFIG_ATH79_MACH_TL_WA7210N_V2=y 
    101102CONFIG_ATH79_MACH_TL_WA830RE_V2=y 
    102103CONFIG_ATH79_MACH_TL_WA901ND=y 
  • trunk/target/linux/ar71xx/generic/profiles/tp-link.mk

    r44427 r44526  
    161161$(eval $(call Profile,TLWA701)) 
    162162 
     163define Profile/TLWA7210 
     164        NAME:=TP-LINK TL-WA7210N 
     165        PACKAGES:=rssileds kmod-ledtrig-netdev 
     166endef 
     167 
     168define Profile/TLWA7210/Description 
     169        Package set optimized for the TP-LINK TL-WA7210N. 
     170endef 
     171$(eval $(call Profile,TLWA7210)) 
     172 
    163173define Profile/TLWA730RE 
    164174        NAME:=TP-LINK TL-WA730RE 
  • trunk/target/linux/ar71xx/image/Makefile

    r44427 r44526  
    13951395$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLMR3420V2,tl-mr3420-v2,TL-MR3420-v2,ttyS0,115200,0x34200002,1,4Mlzma)) 
    13961396$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWA701NV2,tl-wa701nd-v2,TL-WA701ND-v2,ttyATH0,115200,0x07010002,1,4Mlzma)) 
     1397$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWA7210NV2,tl-wa7210n-v2,TL-WA7210N-v2,ttyATH0,115200,0x72100002,1,4Mlzma)) 
    13971398$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR703,tl-wr703n-v1,TL-WR703N,ttyATH0,115200,0x07030101,1,4Mlzma)) 
    13981399$(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWR710,tl-wr710n-v1,TL-WR710N,ttyATH0,115200,0x07100001,1,8Mlzma)) 
     
    14821483$(eval $(call MultiProfile,TLMR3420,TLMR3420V1 TLMR3420V2)) 
    14831484$(eval $(call MultiProfile,TLWA701,TLWA701NV1 TLWA701NV2)) 
     1485$(eval $(call MultiProfile,TLWA7210,TLWA7210NV2)) 
    14841486$(eval $(call MultiProfile,TLWA730RE,TLWA730REV1)) 
    14851487$(eval $(call MultiProfile,TLWA801,TLWA801NV1 TLWA801NV2)) 
  • trunk/target/linux/ar71xx/patches-3.18/610-MIPS-ath79-openwrt-machines.patch

    r44456 r44526  
    11--- a/arch/mips/ath79/machtypes.h 
    22+++ b/arch/mips/ath79/machtypes.h 
    3 @@ -16,22 +16,188 @@ 
     3@@ -16,22 +16,189 @@ 
    44  
    55 enum ath79_mach_type { 
     
    117117+       ATH79_MACH_TL_WA701ND_V2,       /* TP-LINK TL-WA701ND v2 */ 
    118118+       ATH79_MACH_TL_WA750RE,          /* TP-LINK TL-WA750RE */ 
     119+       ATH79_MACH_TL_WA7210N_V2,       /* TP-LINK TL-WA7210N v2 */ 
    119120+       ATH79_MACH_TL_WA7510N_V1,       /* TP-LINK TL-WA7510N v1*/ 
    120121+       ATH79_MACH_TL_WA850RE,          /* TP-LINK TL-WA850RE */ 
     
    263264        bool "Atheros AP121 reference board" 
    264265        select SOC_AR933X 
    265 @@ -11,62 +75,960 @@ config ATH79_MACH_AP121 
     266@@ -11,62 +75,970 @@ config ATH79_MACH_AP121 
    266267        select ATH79_DEV_M25P80 
    267268        select ATH79_DEV_USB 
     
    10071008+       select ATH79_DEV_USB 
    10081009+       select ATH79_DEV_WMAC 
     1010+ 
     1011+config ATH79_MACH_TL_WA7210N_V2 
     1012+       bool "TP-LINK TL-WA7210N v2 support" 
     1013+       select SOC_AR724X 
     1014+       select ATH79_DEV_AP9X_PCI if PCI 
     1015+       select ATH79_DEV_ETH 
     1016+       select ATH79_DEV_LEDS_GPIO 
     1017+       select ATH79_DEV_GPIO_BUTTONS 
     1018+       select ATH79_DEV_M25P80 
     1019+       select ATH79_DEV_WMAC 
    10091020  
    10101021-config ATH79_MACH_AP136 
     
    13721383--- a/arch/mips/ath79/Makefile 
    13731384+++ b/arch/mips/ath79/Makefile 
    1374 @@ -38,9 +38,117 @@ obj-$(CONFIG_ATH79_ROUTERBOOT)              += route 
     1385@@ -38,9 +38,118 @@ obj-$(CONFIG_ATH79_ROUTERBOOT)              += route 
    13751386 # 
    13761387 # Machines 
     
    14481459+obj-$(CONFIG_ATH79_MACH_TL_WAX50RE)     += mach-tl-wax50re.o 
    14491460+obj-$(CONFIG_ATH79_MACH_TL_WA701ND_V2) += mach-tl-wa701nd-v2.o 
     1461+obj-$(CONFIG_ATH79_MACH_TL_WA7210N_V2) += mach-tl-wa7210n-v2.o 
    14501462+obj-$(CONFIG_ATH79_MACH_TL_WA830RE_V2) += mach-tl-wa830re-v2.o 
    14511463+obj-$(CONFIG_ATH79_MACH_TL_WA901ND)    += mach-tl-wa901nd.o 
  • trunk/tools/firmware-utils/src/mktplinkfw.c

    r44063 r44526  
    4242#define HWID_TL_WA701N_V1       0x07010001 
    4343#define HWID_TL_WA701N_V2       0x07010002 
     44#define HWID_TL_WA7210N_V2      0x72100002 
    4445#define HWID_TL_WA7510N_V1      0x75100001 
    4546#define HWID_TL_WA801ND_V1      0x08010001 
     
    261262                .layout_id      = "4Mlzma", 
    262263        }, { 
     264                .id             = "TL-WA7210N", 
     265                .hw_id          = HWID_TL_WA7210N_V2, 
     266                .hw_rev         = 2, 
     267                .layout_id      = "4Mlzma", 
     268        }, { 
    263269                .id             = "TL-WA7510N", 
    264270                .hw_id          = HWID_TL_WA7510N_V1, 
Note: See TracChangeset for help on using the changeset viewer.