Changeset 47927


Ignore:
Timestamp:
2015-12-17T10:30:05+01:00 (2 years ago)
Author:
blogic
Message:

ar71xx: add support for TRENDnet TEW-823DRU

Add support for TRENDnet TEW-823DRU:

  • cpu: QCA9558 @720MHz
  • flash: 16MB
  • ram: 256MB
  • 4+1 RJ45 100/1000Mbps
  • wifi: QCA9558 (bgn) and QCA9880-BR4A (ac)
  • 1x USB 2.0

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@…>

Location:
trunk/target/linux/ar71xx
Files:
1 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/etc/board.d/01_leds

    r47878 r47927  
    390390        ;; 
    391391 
     392tew-823dru) 
     393        ucidef_set_led_netdev "wan" "WAN" "trendnet:green:planet" "eth0" 
     394        ;; 
     395 
    392396tl-mr11u | \ 
    393397tl-mr3020 | \ 
  • trunk/target/linux/ar71xx/base-files/etc/board.d/02_network

    r47878 r47927  
    4444ap136-020 |\ 
    4545ap135-020 |\ 
     46tew-823dru |\ 
    4647tl-wr1043nd-v2 |\ 
    4748wzr-450hp2) 
  • trunk/target/linux/ar71xx/base-files/etc/diag.sh

    r47878 r47927  
    256256                ;; 
    257257        tew-712br|\ 
    258         tew-732br) 
     258        tew-732br|\ 
     259        tew-823dru) 
    259260                status_led="trendnet:green:power" 
    260261                ;; 
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r47878 r47927  
    747747                name="tew-732br" 
    748748                ;; 
     749        *TEW-823DRU) 
     750                name="tew-823dru" 
     751                ;; 
    749752        *"TL-WR1041N v2") 
    750753                name="tl-wr1041n-v2" 
  • trunk/target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k

    r46196 r47927  
    2424        # some boards have bogus mac in otp, patch the default mac in the firmware 
    2525        case $(ar71xx_board_name) in 
    26                 dgl-5500-a1) 
     26                dgl-5500-a1 | tew-823dru) 
    2727                        local mac 
    2828                        mac=$(mtd_get_mac_ascii nvram wlan1_mac) 
     
    4343check_patch_ath10k_firmware() { 
    4444        case $(ar71xx_board_name) in 
    45                 dgl-5500-a1) 
     45                dgl-5500-a1 | tew-823dru) 
    4646                        do_patch_ath10k_firmware 
    4747                ;; 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r47878 r47927  
    232232        tew-712br | \ 
    233233        tew-732br | \ 
     234        tew-823dru | \ 
    234235        wrt400n | \ 
    235236        airgateway | \ 
  • trunk/target/linux/ar71xx/config-4.1

    r47878 r47927  
    123123CONFIG_ATH79_MACH_TEW_712BR=y 
    124124CONFIG_ATH79_MACH_TEW_732BR=y 
     125CONFIG_ATH79_MACH_TEW_823DRU=y 
    125126CONFIG_ATH79_MACH_TL_MR11U=y 
    126127CONFIG_ATH79_MACH_TL_MR13U=y 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt

    r47878 r47927  
    12801280        select ATH79_DEV_WMAC 
    12811281 
     1282config ATH79_MACH_TEW_823DRU 
     1283        bool "TRENDnet TEW-823DRU support" 
     1284        select SOC_QCA955X 
     1285        select ATH79_DEV_ETH 
     1286        select ATH79_DEV_GPIO_BUTTONS 
     1287        select ATH79_DEV_LEDS_GPIO 
     1288        select ATH79_DEV_M25P80 
     1289        select ATH79_DEV_USB 
     1290        select ATH79_DEV_WMAC 
     1291 
    12821292config ATH79_MACH_UBNT 
    12831293        bool "Ubiquiti AR71xx based boards support" 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/Makefile

    r47878 r47927  
    130130obj-$(CONFIG_ATH79_MACH_TEW_712BR)      += mach-tew-712br.o 
    131131obj-$(CONFIG_ATH79_MACH_TEW_732BR)      += mach-tew-732br.o 
     132obj-$(CONFIG_ATH79_MACH_TEW_823DRU)     += mach-tew-823dru.o 
    132133obj-$(CONFIG_ATH79_MACH_TL_MR11U)       += mach-tl-mr11u.o 
    133134obj-$(CONFIG_ATH79_MACH_TL_MR13U)       += mach-tl-mr13u.o 
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/machtypes.h

    r47878 r47927  
    143143        ATH79_MACH_TEW_712BR,           /* TRENDnet TEW-712BR */ 
    144144        ATH79_MACH_TEW_732BR,           /* TRENDnet TEW-732BR */ 
     145        ATH79_MACH_TEW_823DRU,          /* TRENDnet TEW-823DRU */ 
    145146        ATH79_MACH_MC_MAC1200R,         /* MERCURY MAC1200R*/ 
    146147        ATH79_MACH_TL_MR10U,            /* TP-LINK TL-MR10U */ 
  • trunk/target/linux/ar71xx/generic/profiles/trendnet.mk

    r38133 r47927  
    6161 
    6262$(eval $(call Profile,TEW732BR)) 
     63 
     64 
     65define Profile/TEW823DRU 
     66        NAME:=TRENDNet TEW-823DRU 
     67        PACKAGES:=kmod-usb-core kmod-usb2 kmod-ath10k 
     68endef 
     69 
     70define Profile/TEW823DRU/Description 
     71        Package set optimized for the TRENDNet TEW-823DRU. 
     72endef 
     73 
     74$(eval $(call Profile,TEW823DRU)) 
  • trunk/target/linux/ar71xx/image/Makefile

    r47878 r47927  
    15211521wnr2000v4_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env)ro,3776k(firmware),64k(art)ro 
    15221522r6100_mtdlayout=mtdparts=ar934x-nfc:128k(u-boot)ro,256k(caldata),256k(caldata-backup),512k(config),512k(pot),2048k(kernel),122240k(ubi),25600k@0x1a0000(firmware),2048k(language),3072k(traffic_meter) 
     1523tew823dru_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,15296k(firmware),192k(lang)ro,512k(my-dlink)ro,64k(mac)ro,64k(art)ro 
    15231524wndr4300_mtdlayout=mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),23552k(ubi),25600k@0x6c0000(firmware),256k(caldata_backup),-(reserved) 
    15241525zcn1523h_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6208k(rootfs),1472k(kernel),64k(configure)ro,64k(mfg)ro,64k(art)ro,7680k@0x50000(firmware) 
     
    23252326 
    23262327$(eval $(call SingleProfile,CameoAP135,64kraw,DGL5500A1,dgl-5500-a1,DGL-5500-A1,ttyS0,115200,$$(dgl_5500_mtdlayout),"00AP135AR9558-RT-130508-00")) 
     2328$(eval $(call SingleProfile,CameoAP135,64kraw,TEW823DRU,tew-823dru,TEW-823DRU,ttyS0,115200,$$(tew823dru_mtdlayout) mem=256M,"00AP135AR9558-RT-131129-00")) 
    23272329 
    23282330$(eval $(call SingleProfile,CameoDB120,64kraw,DHP1565A1,dhp-1565-a1,DHP-1565-A1,ttyS0,115200,"00DB120AR9344-RT-101214-00")) 
Note: See TracChangeset for help on using the changeset viewer.