ar71xx: add support for the ALFA Network N2/N5 boards
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
index d2ee303e30965dcb9fac5f15a96a034f64b7aa10..c2ccf8121ec644578af5c4afdda637c2171068d3 100644 (file)
@@ -1,6 +1,30 @@
 if ATHEROS_AR71XX
 
 menu "Atheros AR71xx machine selection"
+config AR71XX_MACH_HORNET_UB
+       bool "Alfa Networks Hornet-UB board support"
+       select SOC_AR933X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
+       select AR71XX_DEV_AR9XXX_WMAC
+
+config AR71XX_MACH_ALFA_NX
+       bool "ALFA Network N2/N5 board support"
+       select SOC_AR724X
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+
+config AR71XX_MACH_ALL0258N
+       bool "Allnet ALL0258N support"
+       select SOC_AR724X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
 
 config AR71XX_MACH_AP81
        bool "Atheros AP81 board support"
@@ -10,7 +34,6 @@ config AR71XX_MACH_AP81
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_AP83
        bool "Atheros AP83 board support"
@@ -19,7 +42,6 @@ config AR71XX_MACH_AP83
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_AP96
        bool "Atheros AP96 board support"
@@ -29,7 +51,15 @@ config AR71XX_MACH_AP96
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
+
+config AR71XX_MACH_AP121
+       bool "Atheros AP121 board support"
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
+       select AR71XX_DEV_AR9XXX_WMAC
+       select SOC_AR933X
 
 config AR71XX_MACH_DB120
        bool "Atheros DB120 board support"
@@ -39,7 +69,6 @@ config AR71XX_MACH_DB120
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_DIR_600_A1
        bool "D-Link DIR-600 rev. A1 support"
@@ -49,7 +78,6 @@ config AR71XX_MACH_DIR_600_A1
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_NVRAM
-       default n
 
 config AR71XX_MACH_DIR_615_C1
        bool "D-Link DIR-615 rev. C1 support"
@@ -59,7 +87,6 @@ config AR71XX_MACH_DIR_615_C1
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_NVRAM
-       default n
 
 config AR71XX_MACH_DIR_825_B1
        bool "D-Link DIR-825 rev. B1 board support"
@@ -69,7 +96,6 @@ config AR71XX_MACH_DIR_825_B1
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_JA76PF
        bool "jjPlus JA76PF board support"
@@ -79,7 +105,6 @@ config AR71XX_MACH_JA76PF
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_JWAP003
        bool "jjPlus JWAP003 board support"
@@ -88,7 +113,6 @@ config AR71XX_MACH_JWAP003
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_PB42
        bool "Atheros PB42 board support"
@@ -96,7 +120,6 @@ config AR71XX_MACH_PB42
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
-       default n
 
 config AR71XX_MACH_PB44
        bool "Atheros PB44 board support"
@@ -105,7 +128,6 @@ config AR71XX_MACH_PB44
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_PB92
        bool "Atheros PB92 board support"
@@ -114,7 +136,6 @@ config AR71XX_MACH_PB92
        select AR71XX_DEV_PB9X_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_AW_NR580
        bool "AzureWave AW-NR580 board support"
@@ -123,7 +144,23 @@ config AR71XX_MACH_AW_NR580
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
-       default n
+
+config AR71XX_MACH_WZR_HP_AG300H
+       bool "Buffalo WZR-HP-AG300H board support"
+       select SOC_AR71XX
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
+
+config AR71XX_MACH_WZR_HP_G450H
+       bool "Buffalo WZR-HP-G450H board support"
+       select SOC_AR724X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
 
 config AR71XX_MACH_WZR_HP_G300NH
        bool "Buffalo WZR-HP-G300NH board support"
@@ -132,7 +169,24 @@ config AR71XX_MACH_WZR_HP_G300NH
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default y
+       select RTL8366_SMI
+
+config AR71XX_MACH_WZR_HP_G300NH2
+       bool "Buffalo WZR-HP-G300NH2 board support"
+       select SOC_AR724X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
+
+config AR71XX_MACH_WHR_HP_G300N
+       bool "Buffalo WHR-HP-G300N board support"
+       select SOC_AR724X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
 
 config AR71XX_MACH_WP543
        bool "Compex WP543/WPJ543 board support"
@@ -143,7 +197,6 @@ config AR71XX_MACH_WP543
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_WRT160NL
        bool "Linksys WRT160NL board support"
@@ -154,7 +207,6 @@ config AR71XX_MACH_WRT160NL
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
        select AR71XX_NVRAM
-       default n
 
 config AR71XX_MACH_WRT400N
        bool "Linksys WRT400N board support"
@@ -163,7 +215,6 @@ config AR71XX_MACH_WRT400N
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_RB4XX
        bool "MikroTik RouterBOARD 4xx series support"
@@ -171,12 +222,10 @@ config AR71XX_MACH_RB4XX
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_RB750
        bool "MikroTik RouterBOARD 750 support"
        select SOC_AR724X
-       default n
 
 config AR71XX_MACH_WNDR3700
        bool "NETGEAR WNDR3700 board support"
@@ -186,7 +235,6 @@ config AR71XX_MACH_WNDR3700
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_WNR2000
        bool "NETGEAR WNR2000 board support"
@@ -195,7 +243,14 @@ config AR71XX_MACH_WNR2000
        select AR71XX_DEV_AR9XXX_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
+
+config AR71XX_MACH_OM2P
+       bool "OpenMesh OM2P board support"
+       select SOC_AR724X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_AP91_PCI if PCI
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
 
 config AR71XX_MACH_MZK_W04NU
        bool "Planex MZK-W04NU board support"
@@ -205,7 +260,6 @@ config AR71XX_MACH_MZK_W04NU
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_MZK_W300NH
        bool "Planex MZK-W300NH board support"
@@ -214,7 +268,6 @@ config AR71XX_MACH_MZK_W300NH
        select AR71XX_DEV_AR9XXX_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_NBG460N
        bool "Zyxel NBG460N/550N/550NH board support"
@@ -223,7 +276,6 @@ config AR71XX_MACH_NBG460N
        select AR71XX_DEV_AR9XXX_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_TL_MR3X20
        bool "TP-LINK TL-MR3220/3420 support"
@@ -233,7 +285,6 @@ config AR71XX_MACH_TL_MR3X20
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_TL_WA901ND
        bool "TP-LINK TL-WA901ND support"
@@ -242,7 +293,6 @@ config AR71XX_MACH_TL_WA901ND
        select AR71XX_DEV_AP91_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_TL_WA901ND_V2
        bool "TP-LINK TL-WA901ND v2 support"
@@ -251,7 +301,15 @@ config AR71XX_MACH_TL_WA901ND_V2
        select AR71XX_DEV_AR9XXX_WMAC
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
+
+config AR71XX_MACH_TL_WR703N
+       bool "TP-LINK TL-WR703N support"
+       select SOC_AR933X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_USB
+       select AR71XX_DEV_AR9XXX_WMAC
 
 config AR71XX_MACH_TL_WR741ND
        bool "TP-LINK TL-WR741ND support"
@@ -260,7 +318,14 @@ config AR71XX_MACH_TL_WR741ND
        select AR71XX_DEV_AP91_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
+
+config AR71XX_MACH_TL_WR741ND_V4
+       bool "TP-LINK TL-WR741ND v4 support"
+       select SOC_AR933X
+       select AR71XX_DEV_M25P80
+       select AR71XX_DEV_GPIO_BUTTONS
+       select AR71XX_DEV_LEDS_GPIO
+       select AR71XX_DEV_AR9XXX_WMAC
 
 config AR71XX_MACH_TL_WR841N_V1
        bool "TP-LINK TL-WR841N v1 support"
@@ -270,7 +335,6 @@ config AR71XX_MACH_TL_WR841N_V1
        select AR71XX_DEV_DSA
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_TL_WR941ND
        bool "TP-LINK TL-WR941ND support"
@@ -280,7 +344,6 @@ config AR71XX_MACH_TL_WR941ND
        select AR71XX_DEV_DSA
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_TL_WR1043ND
        bool "TP-LINK TL-WR1043ND support"
@@ -290,7 +353,6 @@ config AR71XX_MACH_TL_WR1043ND
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_TEW_632BRP
        bool "TRENDnet TEW-632BRP support"
@@ -300,7 +362,6 @@ config AR71XX_MACH_TEW_632BRP
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_NVRAM
-       default n
 
 config AR71XX_MACH_UBNT
        bool "Ubiquiti AR71xx based boards support"
@@ -312,7 +373,6 @@ config AR71XX_MACH_UBNT
        select AR71XX_DEV_LEDS_GPIO
        select AR71XX_DEV_PB42_PCI if PCI
        select AR71XX_DEV_USB
-       default n
 
 config AR71XX_MACH_EAP7660D
        bool "Senao EAP7660D support"
@@ -320,7 +380,6 @@ config AR71XX_MACH_EAP7660D
        select AR71XX_DEV_M25P80
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 config AR71XX_MACH_ZCN_1523H
        bool "Zcomax ZCN-1523H support"
@@ -329,7 +388,6 @@ config AR71XX_MACH_ZCN_1523H
        select AR71XX_DEV_AP91_PCI if PCI
        select AR71XX_DEV_GPIO_BUTTONS
        select AR71XX_DEV_LEDS_GPIO
-       default n
 
 endmenu