ar71xx: add preliminary support for wzr-hp-g450h
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
index abc8346ff9b874907d7a3147690d9f6a071d142d..13d18030a891437b419fbc76b40a3934bd6b3f87 100644 (file)
@@ -1,6 +1,13 @@
 if ATHEROS_AR71XX
 
 menu "Atheros AR71xx machine selection"
+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 +17,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 +25,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 +34,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 +52,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 +61,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 +70,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 +79,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 +88,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 +96,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 +103,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 +111,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 +119,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 +127,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 +152,15 @@ 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_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 +171,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 +181,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 +189,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 +196,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 +209,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 +217,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 +234,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 +242,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 +250,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 +259,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 +267,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 +275,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 +292,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 +309,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 +318,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 +327,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 +336,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 +347,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 +354,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 +362,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
 
@@ -393,4 +425,8 @@ config AR71XX_NVRAM
 config AR71XX_PCI_ATH9K_FIXUP
        def_bool n
 
+config SOC_AR933X
+       bool
+       select USB_ARCH_HAS_EHCI
+
 endif