ar71xx: move gpio-buttons support into a spearate file
[15.05/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
1 if ATHEROS_AR71XX
2
3 menu "Atheros AR71xx machine selection"
4
5 config AR71XX_MACH_AP81
6         bool "Atheros AP81 board support"
7         select AR71XX_DEV_M25P80
8         select AR71XX_DEV_AR913X_WMAC
9         select AR71XX_DEV_GPIO_BUTTONS
10         select AR71XX_DEV_LEDS_GPIO
11         default y
12
13 config AR71XX_MACH_AP83
14         bool "Atheros AP83 board support"
15         select AR71XX_DEV_AR913X_WMAC
16         select AR71XX_DEV_GPIO_BUTTONS
17         select AR71XX_DEV_LEDS_GPIO
18         default y
19
20 config AR71XX_MACH_DIR_615_C1
21         bool "D-Link DIR-615 rev. C1 support"
22         select AR71XX_DEV_M25P80
23         select AR71XX_DEV_AR913X_WMAC
24         select AR71XX_DEV_GPIO_BUTTONS
25         select AR71XX_DEV_LEDS_GPIO
26         default y
27
28 config AR71XX_MACH_DIR_825_B1
29         bool "D-Link DIR-825 rev. B1 board support"
30         select AR71XX_DEV_M25P80
31         select AR71XX_DEV_AP94_PCI if PCI
32         select AR71XX_DEV_GPIO_BUTTONS
33         select AR71XX_DEV_LEDS_GPIO
34         default y
35
36 config AR71XX_MACH_PB42
37         bool "Atheros PB42 board support"
38         select AR71XX_DEV_M25P80
39         select AR71XX_DEV_GPIO_BUTTONS
40         select AR71XX_DEV_PB42_PCI if PCI
41         default y
42
43 config AR71XX_MACH_PB44
44         bool "Atheros PB44 board support"
45         select AR71XX_DEV_GPIO_BUTTONS
46         select AR71XX_DEV_PB42_PCI if PCI
47         select AR71XX_DEV_LEDS_GPIO
48         default y
49
50 config AR71XX_MACH_AW_NR580
51         bool "AzureWave AW-NR580 board support"
52         select AR71XX_DEV_M25P80
53         select AR71XX_DEV_GPIO_BUTTONS
54         select AR71XX_DEV_PB42_PCI if PCI
55         select AR71XX_DEV_LEDS_GPIO
56         default y
57
58 config AR71XX_MACH_GENERIC
59         bool "Generic AR71xx based machine support"
60         default y
61
62 config AR71XX_MACH_WP543
63         bool "Compex WP543/WPJ543 board support"
64         select MYLOADER
65         select AR71XX_DEV_M25P80
66         select AR71XX_DEV_GPIO_BUTTONS
67         select AR71XX_DEV_PB42_PCI if PCI
68         select AR71XX_DEV_LEDS_GPIO
69         default y
70
71 config AR71XX_MACH_WRT160NL
72         bool "Linksys WRT160NL board support"
73         select AR71XX_DEV_M25P80
74         select AR71XX_DEV_AR913X_WMAC
75         select AR71XX_DEV_GPIO_BUTTONS
76         select AR71XX_DEV_LEDS_GPIO
77         default y
78
79 config AR71XX_MACH_WRT400N
80         bool "Linksys WRT400N board support"
81         select AR71XX_DEV_M25P80
82         select AR71XX_DEV_GPIO_BUTTONS
83         select AR71XX_DEV_LEDS_GPIO
84         default y
85
86 config AR71XX_MACH_RB_4XX
87         bool "MikroTik RouterBOARD 4xx series support"
88         select AR71XX_DEV_GPIO_BUTTONS
89         select AR71XX_DEV_LEDS_GPIO
90         default y
91
92 config AR71XX_MACH_WNDR3700
93         bool "NETGEAR WNDR3700 board support"
94         select AR71XX_DEV_M25P80
95         select AR71XX_DEV_AP94_PCI if PCI
96         select AR71XX_DEV_GPIO_BUTTONS
97         select AR71XX_DEV_LEDS_GPIO
98         default y
99
100 config AR71XX_MACH_WNR2000
101         bool "NETGEAR WNR2000 board support"
102         select AR71XX_DEV_M25P80
103         select AR71XX_DEV_AR913X_WMAC
104         select AR71XX_DEV_GPIO_BUTTONS
105         select AR71XX_DEV_LEDS_GPIO
106         default y
107
108 config AR71XX_MACH_MZK_W04NU
109         bool "Planex MZK-W04NU board support"
110         select AR71XX_DEV_M25P80
111         select AR71XX_DEV_AR913X_WMAC
112         select AR71XX_DEV_GPIO_BUTTONS
113         select AR71XX_DEV_LEDS_GPIO
114         default y
115
116 config AR71XX_MACH_MZK_W300NH
117         bool "Planex MZK-W300NH board support"
118         select AR71XX_DEV_M25P80
119         select AR71XX_DEV_AR913X_WMAC
120         select AR71XX_DEV_GPIO_BUTTONS
121         select AR71XX_DEV_LEDS_GPIO
122         default y
123
124 config AR71XX_MACH_TL_WR741ND
125         bool "TP-LINK TL-WR741ND support"
126         select AR71XX_DEV_M25P80
127         select AR71XX_DEV_AP91_PCI if PCI
128         select AR71XX_DEV_GPIO_BUTTONS
129         select AR71XX_DEV_LEDS_GPIO
130         default y
131
132 config AR71XX_MACH_TL_WR841N_V1
133         bool "TP-LINK TL-WR841N v1 support"
134         select AR71XX_DEV_M25P80
135         select AR71XX_DEV_PB42_PCI if PCI
136         select AR71XX_DEV_GPIO_BUTTONS
137         select AR71XX_DEV_LEDS_GPIO
138         default y
139
140 config AR71XX_MACH_TL_WR941ND
141         bool "TP-LINK TL-WR941ND support"
142         select AR71XX_DEV_M25P80
143         select AR71XX_DEV_AR913X_WMAC
144         select AR71XX_DEV_GPIO_BUTTONS
145         select AR71XX_DEV_LEDS_GPIO
146         default y
147
148 config AR71XX_MACH_TL_WR1043ND
149         bool "TP-LINK TL-WR1043ND support"
150         select AR71XX_DEV_M25P80
151         select AR71XX_DEV_AR913X_WMAC
152         select AR71XX_DEV_GPIO_BUTTONS
153         select AR71XX_DEV_LEDS_GPIO
154         default y
155
156 config AR71XX_MACH_TEW_632BRP
157         bool "TRENDnet TEW-632BRP support"
158         select AR71XX_DEV_M25P80
159         select AR71XX_DEV_AR913X_WMAC
160         select AR71XX_DEV_GPIO_BUTTONS
161         select AR71XX_DEV_LEDS_GPIO
162         default y
163
164 config AR71XX_MACH_UBNT
165         bool "Ubiquiti AR71xx based boards support"
166         select AR71XX_DEV_M25P80
167         select AR71XX_DEV_AP91_PCI if PCI
168         select AR71XX_DEV_GPIO_BUTTONS
169         select AR71XX_DEV_LEDS_GPIO
170         select AR71XX_DEV_PB42_PCI if PCI
171         default y
172
173 endmenu
174
175 config AR71XX_DEV_M25P80
176         def_bool n
177
178 config AR71XX_DEV_AP91_PCI
179         def_bool n
180
181 config AR71XX_DEV_AP94_PCI
182         def_bool n
183
184 config AR71XX_DEV_AR913X_WMAC
185         def_bool n
186
187 config AR71XX_DEV_GPIO_BUTTONS
188         def_bool n
189
190 config AR71XX_DEV_LEDS_GPIO
191         def_bool n
192
193 config AR71XX_DEV_PB42_PCI
194         def_bool n
195
196 endif