source: trunk/target/linux/ar71xx/patches-3.3/615-MIPS-ath79-WR1041N-support.patch @ 31608

Last change on this file since 31608 was 31608, checked in by juhosg, 5 years ago

ar71xx: add support for the TP-Link TL-WR1041N v2 board

Patch-by: Vince Huang <axishero@…>

File size: 1.5 KB
  • arch/mips/ath79/Kconfig

    a b config ATH79_MACH_TL_WR941ND 
    451451        select ATH79_DEV_M25P80 
    452452        select ATH79_DEV_WMAC 
    453453 
     454config ATH79_MACH_TL_WR1041N_V2 
     455        bool "TP-LINK TL-WR1041N v2 support" 
     456        select SOC_AR934X 
     457        select ATH79_DEV_AP9X_PCI if PCI 
     458        select ATH79_DEV_ETH 
     459        select ATH79_DEV_GPIO_BUTTONS 
     460        select ATH79_DEV_LEDS_GPIO 
     461        select ATH79_DEV_M25P80 
     462        select ATH79_DEV_USB 
     463        select ATH79_DEV_WMAC 
     464 
    454465config ATH79_MACH_TL_WR1043ND 
    455466        bool "TP-LINK TL-WR1043ND support" 
    456467        select SOC_AR913X 
  • arch/mips/ath79/machtypes.h

    a b enum ath79_mach_type { 
    6464        ATH79_MACH_TL_MR3420,           /* TP-LINK TL-MR3420 */ 
    6565        ATH79_MACH_TL_WA901ND,          /* TP-LINK TL-WA901ND */ 
    6666        ATH79_MACH_TL_WA901ND_V2,       /* TP-LINK TL-WA901ND v2 */ 
     67        ATH79_MACH_TL_WR1041N_V2,       /* TP-LINK TL-WR1041N v2 */ 
    6768        ATH79_MACH_TL_WR1043ND,         /* TP-LINK TL-WR1041ND */ 
    6869        ATH79_MACH_TL_WR2543N,          /* TP-LINK TL-WR2543N/ND */ 
    6970        ATH79_MACH_TL_WR703N,           /* TP-LINK TL-WR703N */ 
  • arch/mips/ath79/Makefile

    a b obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += m 
    7474obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4)  += mach-tl-wr741nd-v4.o 
    7575obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1)   += mach-tl-wr841n.o 
    7676obj-$(CONFIG_ATH79_MACH_TL_WR941ND)     += mach-tl-wr941nd.o 
     77obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2)  += mach-tl-wr1041n-v2.o 
    7778obj-$(CONFIG_ATH79_MACH_TL_WR1043ND)    += mach-tl-wr1043nd.o 
    7879obj-$(CONFIG_ATH79_MACH_TL_WR2543N)     += mach-tl-wr2543n.o 
    7980obj-$(CONFIG_ATH79_MACH_TL_WR703N)      += mach-tl-wr703n.o 
Note: See TracBrowser for help on using the repository browser.