ar71xx: add support for MikroTik hAP ac
[openwrt/staging/wigyori.git] / target / linux / ar71xx / files / arch / mips / ath79 / Kconfig.openwrt
index 3c3774b..5f81ebd 100644 (file)
@@ -1,3 +1,13 @@
+config ATH79_MACH_A60
+       bool "OpenMesh A40/A60 board support"
+       select SOC_QCA955X
+       select ATH79_DEV_AP9X_PCI if PCI
+       select ATH79_DEV_ETH
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_WMAC
+       select ATH79_DEV_USB
+
 config ATH79_MACH_ALFA_AP120C
        bool "ALFA Network AP120C board support"
        select ATH79_DEV_AP9X_PCI if PCI
@@ -173,6 +183,18 @@ config ATH79_MACH_AP152
        select ATH79_DEV_WMAC
        select ATH79_DEV_AP9X_PCI if PCI
 
+config ATH79_MACH_AP531B0
+       bool "Rockeetech AP531B0 support"
+       select SOC_QCA953X
+       select ATH79_DEV_AP9X_PCI if PCI
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_SPI
+       select ATH79_DEV_USB
+       select ATH79_DEV_WMAC
+
 config ATH79_MACH_AP90Q
        bool "YunCore AP90Q support"
        select SOC_QCA953X
@@ -418,14 +440,14 @@ config ATH79_MACH_WPJ344
        select ATH79_DEV_WMAC
 
 config ATH79_MACH_WPJ531
-       bool "Compex WPJ531 board support"
-       select SOC_QCA953X
-       select ATH79_DEV_ETH
-       select ATH79_DEV_GPIO_BUTTONS
-       select ATH79_DEV_LEDS_GPIO
-       select ATH79_DEV_M25P80
-       select ATH79_DEV_USB
-       select ATH79_DEV_WMAC
+       bool "Compex WPJ531 board support"
+       select SOC_QCA953X
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_USB
+       select ATH79_DEV_WMAC
 
 config ATH79_MACH_WPJ558
        bool "Compex WPJ558 board support"
@@ -754,14 +776,14 @@ config ATH79_MACH_GS_MINIBOX_V1
        select ATH79_DEV_WMAC
 
 config ATH79_MACH_GS_OOLITE
-       bool "GS Oolite V1 support"
-       select SOC_AR933X
-       select ARH79_DEV_ETH
-       select ARH79_DEV_GPIO_BUTTONS
-       select ATH79_DEV_LEDS_GPIO
-       select ATH79_DEV_M25P80
-       select ATH79_DEV_USB
-       select ATH79_DEV_WMAC
+       bool "GS Oolite V1 support"
+       select SOC_AR933X
+       select ARH79_DEV_ETH
+       select ARH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_USB
+       select ATH79_DEV_WMAC
 
 config ATH79_MACH_HIWIFI_HC6361
        bool "HiWiFi HC6361 board support"
@@ -885,25 +907,15 @@ config ATH79_MACH_RB922
        select ATH79_ROUTERBOOT
        select RLE_DECOMPRESS
 
-config ATH79_MACH_RB941
-       bool "MikroTik RouterBOARD 941-2nd support"
-       select SOC_QCA953X
+config ATH79_MACH_RB95X
+       bool "MikroTik RouterBOARD 95X support"
+       select SOC_AR934X
        select ATH79_DEV_ETH
-       select ATH79_DEV_GPIO_BUTTONS
-       select ATH79_DEV_LEDS_GPIO
-       select ATH79_DEV_M25P80
+       select ATH79_DEV_NFC
        select ATH79_DEV_WMAC
+       select ATH79_DEV_USB
        select ATH79_ROUTERBOOT
 
-config ATH79_MACH_RB95X
-       bool "MikroTik RouterBOARD 95X support"
-       select SOC_AR934X
-       select ATH79_DEV_ETH
-       select ATH79_DEV_NFC
-       select ATH79_DEV_WMAC
-       select ATH79_DEV_USB
-       select ATH79_ROUTERBOOT
-
 config ATH79_MACH_RB2011
        bool "MikroTik RouterBOARD 2011 support"
        select SOC_AR934X
@@ -914,6 +926,32 @@ config ATH79_MACH_RB2011
        select ATH79_DEV_WMAC
        select ATH79_ROUTERBOOT
 
+config ATH79_MACH_RBSPI
+       bool "MikroTik RouterBOARD SPI-NOR support"
+       select SOC_AR934X
+       select SOC_QCA953X
+       select SOC_QCA955X
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_USB
+       select ATH79_DEV_WMAC
+       select ATH79_ROUTERBOOT
+       help
+         Say 'Y' here if you want your kernel to support the
+         MikroTik RouterBOARD mAP lite
+         MikroTik RouterBOARD hAP lite
+         MikroTik RouterBOARD hAP
+         MikroTik RouterBOARD hAP ac
+         MikroTik RouterBOARD hAP ac lite
+         MikroTik RouterBOARD hEX PoE lite
+         MikroTik RouterBOARD hEX lite
+         MikroTik RouterBOARD LHG 5
+         MikroTik RouterBOARD cAP (EXPERIMENTAL)
+         MikroTik RouterBOARD mAP (EXPERIMENTAL)
+         MikroTik RouterBOARD wAP (EXPERIMENTAL)
+
 config ATH79_MACH_RBSXTLITE
        bool "MikroTik RouterBOARD SXT Lite"
        select SOC_AR934X
@@ -1013,6 +1051,7 @@ config ATH79_MACH_OM2P
        bool "OpenMesh OM2P board support"
        select SOC_AR724X
        select SOC_AR933X
+       select SOC_QCA953X
        select ATH79_DEV_AP9X_PCI if PCI
        select ATH79_DEV_ETH
        select ATH79_DEV_GPIO_BUTTONS
@@ -1356,22 +1395,24 @@ config ATH79_MACH_TL_WA701ND_V2
        select ATH79_DEV_WMAC
 
 config ATH79_MACH_TL_WA7210N_V2
-       bool "TP-LINK TL-WA7210N v2 support"
-       select SOC_AR724X
-       select ATH79_DEV_AP9X_PCI if PCI
-       select ATH79_DEV_ETH
-       select ATH79_DEV_LEDS_GPIO
-       select ATH79_DEV_GPIO_BUTTONS
-       select ATH79_DEV_M25P80
-       select ATH79_DEV_WMAC
+       bool "TP-LINK TL-WA7210N v2 support"
+       select SOC_AR724X
+       select ATH79_DEV_AP9X_PCI if PCI
+       select ATH79_DEV_ETH
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_WMAC
+
 config ATH79_MACH_TL_WA801ND_V3
-       bool "TP-LINK TL-WA801ND v3 support"
-       select SOC_QCA953X
-       select ATH79_DEV_ETH
-       select ATH79_DEV_GPIO_BUTTONS
-       select ATH79_DEV_LEDS_GPIO
-       select ATH79_DEV_M25P80
-       select ATH79_DEV_WMAC
+       bool "TP-LINK TL-WA801ND v3 support"
+       select SOC_QCA953X
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_WMAC
+
 config ATH79_MACH_TL_WA830RE_V2
        bool "TP-LINK TL-WA830RE v2 support"
        select SOC_AR934X
@@ -1382,6 +1423,15 @@ config ATH79_MACH_TL_WA830RE_V2
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
 
+config ATH79_MACH_TL_WA850RE_V2
+       bool "TP-LINK TL-WA850RE v2 support"
+       select SOC_QCA953X
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_WMAC
+
 config ATH79_MACH_TL_WA901ND
        bool "TP-LINK TL-WA901ND/TL-WA7510N support"
        select SOC_AR724X
@@ -1500,6 +1550,14 @@ config ATH79_MACH_TL_WR802N_V1
        select ATH79_DEV_LEDS_GPIO
        select ATH79_DEV_M25P80
 
+config ATH79_MACH_TL_WR802N_V2
+       bool "TP-LINK TL-WR802N v2 support"
+       select SOC_QCA953X
+       select ATH79_DEV_ETH
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_LEDS_GPIO
+       select ATH79_DEV_M25P80
+
 config ATH79_MACH_TL_WR810N
        bool "TP-LINK TL-WR810N support"
        select SOC_QCA953X
@@ -1789,6 +1847,17 @@ config ATH79_MACH_CARAMBOLA2
        select ATH79_DEV_USB
        select ATH79_DEV_WMAC
 
+config ATH79_MACH_LIMA
+       bool "8devices Lima board"
+       select SOC_QCA953X
+       select ATH79_DEV_AP9X_PCI if PCI
+       select ATH79_DEV_GPIO_BUTTONS
+       select ATH79_DEV_M25P80
+       select ATH79_DEV_SPI
+       select ATH79_DEV_USB
+       select ATH79_DEV_WMAC
+       select ATH79_DEV_ETH
+
 config ATH79_MACH_CF_E316N_V2
        bool "COMFAST CF-E316N v2 support"
        select SOC_AR934X