ar71xx: add support for the wzr-hp-g300nh2
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / Kconfig
1 if ATHEROS_AR71XX
2
3 menu "Atheros AR71xx machine selection"
4 config AR71XX_MACH_HORNET_UB
5 bool "Alfa Networks Hornet-UB board support"
6 select SOC_AR933X
7 select AR71XX_DEV_M25P80
8 select AR71XX_DEV_GPIO_BUTTONS
9 select AR71XX_DEV_LEDS_GPIO
10 select AR71XX_DEV_USB
11 select AR71XX_DEV_AR9XXX_WMAC
12
13 config AR71XX_MACH_ALL0258N
14 bool "Allnet ALL0258N support"
15 select SOC_AR724X
16 select AR71XX_DEV_M25P80
17 select AR71XX_DEV_AP91_PCI if PCI
18 select AR71XX_DEV_GPIO_BUTTONS
19 select AR71XX_DEV_LEDS_GPIO
20
21 config AR71XX_MACH_AP81
22 bool "Atheros AP81 board support"
23 select SOC_AR913X
24 select AR71XX_DEV_M25P80
25 select AR71XX_DEV_AR9XXX_WMAC
26 select AR71XX_DEV_GPIO_BUTTONS
27 select AR71XX_DEV_LEDS_GPIO
28 select AR71XX_DEV_USB
29
30 config AR71XX_MACH_AP83
31 bool "Atheros AP83 board support"
32 select SOC_AR913X
33 select AR71XX_DEV_AR9XXX_WMAC
34 select AR71XX_DEV_GPIO_BUTTONS
35 select AR71XX_DEV_LEDS_GPIO
36 select AR71XX_DEV_USB
37
38 config AR71XX_MACH_AP96
39 bool "Atheros AP96 board support"
40 select SOC_AR71XX
41 select AR71XX_DEV_M25P80
42 select AR71XX_DEV_AP94_PCI if PCI
43 select AR71XX_DEV_GPIO_BUTTONS
44 select AR71XX_DEV_LEDS_GPIO
45 select AR71XX_DEV_USB
46
47 config AR71XX_MACH_AP121
48 bool "Atheros AP121 board support"
49 select AR71XX_DEV_M25P80
50 select AR71XX_DEV_GPIO_BUTTONS
51 select AR71XX_DEV_LEDS_GPIO
52 select AR71XX_DEV_USB
53 select AR71XX_DEV_AR9XXX_WMAC
54 select SOC_AR933X
55
56 config AR71XX_MACH_DB120
57 bool "Atheros DB120 board support"
58 select SOC_AR934X
59 select AR71XX_DEV_AR9XXX_WMAC
60 select AR71XX_DEV_DB120_PCI if PCI
61 select AR71XX_DEV_GPIO_BUTTONS
62 select AR71XX_DEV_LEDS_GPIO
63 select AR71XX_DEV_USB
64
65 config AR71XX_MACH_DIR_600_A1
66 bool "D-Link DIR-600 rev. A1 support"
67 select SOC_AR724X
68 select AR71XX_DEV_AP91_PCI if PCI
69 select AR71XX_DEV_M25P80
70 select AR71XX_DEV_GPIO_BUTTONS
71 select AR71XX_DEV_LEDS_GPIO
72 select AR71XX_NVRAM
73
74 config AR71XX_MACH_DIR_615_C1
75 bool "D-Link DIR-615 rev. C1 support"
76 select SOC_AR913X
77 select AR71XX_DEV_M25P80
78 select AR71XX_DEV_AR9XXX_WMAC
79 select AR71XX_DEV_GPIO_BUTTONS
80 select AR71XX_DEV_LEDS_GPIO
81 select AR71XX_NVRAM
82
83 config AR71XX_MACH_DIR_825_B1
84 bool "D-Link DIR-825 rev. B1 board support"
85 select SOC_AR71XX
86 select AR71XX_DEV_M25P80
87 select AR71XX_DEV_AP94_PCI if PCI
88 select AR71XX_DEV_GPIO_BUTTONS
89 select AR71XX_DEV_LEDS_GPIO
90 select AR71XX_DEV_USB
91
92 config AR71XX_MACH_JA76PF
93 bool "jjPlus JA76PF board support"
94 select SOC_AR71XX
95 select AR71XX_DEV_M25P80
96 select AR71XX_DEV_GPIO_BUTTONS
97 select AR71XX_DEV_PB42_PCI if PCI
98 select AR71XX_DEV_LEDS_GPIO
99 select AR71XX_DEV_USB
100
101 config AR71XX_MACH_JWAP003
102 bool "jjPlus JWAP003 board support"
103 select SOC_AR71XX
104 select AR71XX_DEV_M25P80
105 select AR71XX_DEV_GPIO_BUTTONS
106 select AR71XX_DEV_PB42_PCI if PCI
107 select AR71XX_DEV_USB
108
109 config AR71XX_MACH_PB42
110 bool "Atheros PB42 board support"
111 select SOC_AR71XX
112 select AR71XX_DEV_M25P80
113 select AR71XX_DEV_GPIO_BUTTONS
114 select AR71XX_DEV_PB42_PCI if PCI
115
116 config AR71XX_MACH_PB44
117 bool "Atheros PB44 board support"
118 select SOC_AR71XX
119 select AR71XX_DEV_GPIO_BUTTONS
120 select AR71XX_DEV_PB42_PCI if PCI
121 select AR71XX_DEV_LEDS_GPIO
122 select AR71XX_DEV_USB
123
124 config AR71XX_MACH_PB92
125 bool "Atheros PB92 board support"
126 select SOC_AR724X
127 select AR71XX_DEV_GPIO_BUTTONS
128 select AR71XX_DEV_PB9X_PCI if PCI
129 select AR71XX_DEV_LEDS_GPIO
130 select AR71XX_DEV_USB
131
132 config AR71XX_MACH_AW_NR580
133 bool "AzureWave AW-NR580 board support"
134 select SOC_AR71XX
135 select AR71XX_DEV_M25P80
136 select AR71XX_DEV_GPIO_BUTTONS
137 select AR71XX_DEV_PB42_PCI if PCI
138 select AR71XX_DEV_LEDS_GPIO
139
140 config AR71XX_MACH_WZR_HP_AG300H
141 bool "Buffalo WZR-HP-AG300H board support"
142 select SOC_AR71XX
143 select AR71XX_DEV_M25P80
144 select AR71XX_DEV_GPIO_BUTTONS
145 select AR71XX_DEV_LEDS_GPIO
146 select AR71XX_DEV_USB
147
148 config AR71XX_MACH_WZR_HP_G450H
149 bool "Buffalo WZR-HP-G450H board support"
150 select SOC_AR724X
151 select AR71XX_DEV_M25P80
152 select AR71XX_DEV_AP91_PCI if PCI
153 select AR71XX_DEV_GPIO_BUTTONS
154 select AR71XX_DEV_LEDS_GPIO
155 select AR71XX_DEV_USB
156
157 config AR71XX_MACH_WZR_HP_G300NH
158 bool "Buffalo WZR-HP-G300NH board support"
159 select SOC_AR913X
160 select AR71XX_DEV_AR9XXX_WMAC
161 select AR71XX_DEV_GPIO_BUTTONS
162 select AR71XX_DEV_LEDS_GPIO
163 select AR71XX_DEV_USB
164 select RTL8366_SMI
165
166 config AR71XX_MACH_WZR_HP_G300NH2
167 bool "Buffalo WZR-HP-G300NH2 board support"
168 select SOC_AR724X
169 select AR71XX_DEV_M25P80
170 select AR71XX_DEV_GPIO_BUTTONS
171 select AR71XX_DEV_AP91_PCI if PCI
172 select AR71XX_DEV_LEDS_GPIO
173 select AR71XX_DEV_USB
174
175 config AR71XX_MACH_WHR_HP_G300N
176 bool "Buffalo WHR-HP-G300N board support"
177 select SOC_AR724X
178 select AR71XX_DEV_M25P80
179 select AR71XX_DEV_AP91_PCI if PCI
180 select AR71XX_DEV_GPIO_BUTTONS
181 select AR71XX_DEV_LEDS_GPIO
182
183 config AR71XX_MACH_WP543
184 bool "Compex WP543/WPJ543 board support"
185 select SOC_AR71XX
186 select MYLOADER
187 select AR71XX_DEV_M25P80
188 select AR71XX_DEV_GPIO_BUTTONS
189 select AR71XX_DEV_PB42_PCI if PCI
190 select AR71XX_DEV_LEDS_GPIO
191 select AR71XX_DEV_USB
192
193 config AR71XX_MACH_WRT160NL
194 bool "Linksys WRT160NL board support"
195 select SOC_AR913X
196 select AR71XX_DEV_M25P80
197 select AR71XX_DEV_AR9XXX_WMAC
198 select AR71XX_DEV_GPIO_BUTTONS
199 select AR71XX_DEV_LEDS_GPIO
200 select AR71XX_DEV_USB
201 select AR71XX_NVRAM
202
203 config AR71XX_MACH_WRT400N
204 bool "Linksys WRT400N board support"
205 select SOC_AR71XX
206 select AR71XX_DEV_AP94_PCI if PCI
207 select AR71XX_DEV_M25P80
208 select AR71XX_DEV_GPIO_BUTTONS
209 select AR71XX_DEV_LEDS_GPIO
210
211 config AR71XX_MACH_RB4XX
212 bool "MikroTik RouterBOARD 4xx series support"
213 select SOC_AR71XX
214 select AR71XX_DEV_GPIO_BUTTONS
215 select AR71XX_DEV_LEDS_GPIO
216 select AR71XX_DEV_USB
217
218 config AR71XX_MACH_RB750
219 bool "MikroTik RouterBOARD 750 support"
220 select SOC_AR724X
221
222 config AR71XX_MACH_WNDR3700
223 bool "NETGEAR WNDR3700 board support"
224 select SOC_AR71XX
225 select AR71XX_DEV_M25P80
226 select AR71XX_DEV_AP94_PCI if PCI
227 select AR71XX_DEV_GPIO_BUTTONS
228 select AR71XX_DEV_LEDS_GPIO
229 select AR71XX_DEV_USB
230
231 config AR71XX_MACH_WNR2000
232 bool "NETGEAR WNR2000 board support"
233 select SOC_AR913X
234 select AR71XX_DEV_M25P80
235 select AR71XX_DEV_AR9XXX_WMAC
236 select AR71XX_DEV_GPIO_BUTTONS
237 select AR71XX_DEV_LEDS_GPIO
238
239 config AR71XX_MACH_OM2P
240 bool "OpenMesh OM2P board support"
241 select SOC_AR724X
242 select AR71XX_DEV_M25P80
243 select AR71XX_DEV_AP91_PCI if PCI
244 select AR71XX_DEV_GPIO_BUTTONS
245 select AR71XX_DEV_LEDS_GPIO
246
247 config AR71XX_MACH_MZK_W04NU
248 bool "Planex MZK-W04NU board support"
249 select SOC_AR913X
250 select AR71XX_DEV_M25P80
251 select AR71XX_DEV_AR9XXX_WMAC
252 select AR71XX_DEV_GPIO_BUTTONS
253 select AR71XX_DEV_LEDS_GPIO
254 select AR71XX_DEV_USB
255
256 config AR71XX_MACH_MZK_W300NH
257 bool "Planex MZK-W300NH board support"
258 select SOC_AR913X
259 select AR71XX_DEV_M25P80
260 select AR71XX_DEV_AR9XXX_WMAC
261 select AR71XX_DEV_GPIO_BUTTONS
262 select AR71XX_DEV_LEDS_GPIO
263
264 config AR71XX_MACH_NBG460N
265 bool "Zyxel NBG460N/550N/550NH board support"
266 select SOC_AR913X
267 select AR71XX_DEV_M25P80
268 select AR71XX_DEV_AR9XXX_WMAC
269 select AR71XX_DEV_GPIO_BUTTONS
270 select AR71XX_DEV_LEDS_GPIO
271
272 config AR71XX_MACH_TL_MR3X20
273 bool "TP-LINK TL-MR3220/3420 support"
274 select SOC_AR724X
275 select AR71XX_DEV_M25P80
276 select AR71XX_DEV_AP91_PCI if PCI
277 select AR71XX_DEV_GPIO_BUTTONS
278 select AR71XX_DEV_LEDS_GPIO
279 select AR71XX_DEV_USB
280
281 config AR71XX_MACH_TL_WA901ND
282 bool "TP-LINK TL-WA901ND support"
283 select SOC_AR724X
284 select AR71XX_DEV_M25P80
285 select AR71XX_DEV_AP91_PCI if PCI
286 select AR71XX_DEV_GPIO_BUTTONS
287 select AR71XX_DEV_LEDS_GPIO
288
289 config AR71XX_MACH_TL_WA901ND_V2
290 bool "TP-LINK TL-WA901ND v2 support"
291 select SOC_AR913X
292 select AR71XX_DEV_M25P80
293 select AR71XX_DEV_AR9XXX_WMAC
294 select AR71XX_DEV_GPIO_BUTTONS
295 select AR71XX_DEV_LEDS_GPIO
296
297 config AR71XX_MACH_TL_WR703N
298 bool "TP-LINK TL-WR703N support"
299 select SOC_AR933X
300 select AR71XX_DEV_M25P80
301 select AR71XX_DEV_GPIO_BUTTONS
302 select AR71XX_DEV_LEDS_GPIO
303 select AR71XX_DEV_USB
304 select AR71XX_DEV_AR9XXX_WMAC
305
306 config AR71XX_MACH_TL_WR741ND
307 bool "TP-LINK TL-WR741ND support"
308 select SOC_AR724X
309 select AR71XX_DEV_M25P80
310 select AR71XX_DEV_AP91_PCI if PCI
311 select AR71XX_DEV_GPIO_BUTTONS
312 select AR71XX_DEV_LEDS_GPIO
313
314 config AR71XX_MACH_TL_WR741ND_V4
315 bool "TP-LINK TL-WR741ND v4 support"
316 select SOC_AR933X
317 select AR71XX_DEV_M25P80
318 select AR71XX_DEV_GPIO_BUTTONS
319 select AR71XX_DEV_LEDS_GPIO
320 select AR71XX_DEV_AR9XXX_WMAC
321
322 config AR71XX_MACH_TL_WR841N_V1
323 bool "TP-LINK TL-WR841N v1 support"
324 select SOC_AR71XX
325 select AR71XX_DEV_M25P80
326 select AR71XX_DEV_PB42_PCI if PCI
327 select AR71XX_DEV_DSA
328 select AR71XX_DEV_GPIO_BUTTONS
329 select AR71XX_DEV_LEDS_GPIO
330
331 config AR71XX_MACH_TL_WR941ND
332 bool "TP-LINK TL-WR941ND support"
333 select SOC_AR913X
334 select AR71XX_DEV_M25P80
335 select AR71XX_DEV_AR9XXX_WMAC
336 select AR71XX_DEV_DSA
337 select AR71XX_DEV_GPIO_BUTTONS
338 select AR71XX_DEV_LEDS_GPIO
339
340 config AR71XX_MACH_TL_WR1043ND
341 bool "TP-LINK TL-WR1043ND support"
342 select SOC_AR913X
343 select AR71XX_DEV_M25P80
344 select AR71XX_DEV_AR9XXX_WMAC
345 select AR71XX_DEV_GPIO_BUTTONS
346 select AR71XX_DEV_LEDS_GPIO
347 select AR71XX_DEV_USB
348
349 config AR71XX_MACH_TEW_632BRP
350 bool "TRENDnet TEW-632BRP support"
351 select SOC_AR913X
352 select AR71XX_DEV_M25P80
353 select AR71XX_DEV_AR9XXX_WMAC
354 select AR71XX_DEV_GPIO_BUTTONS
355 select AR71XX_DEV_LEDS_GPIO
356 select AR71XX_NVRAM
357
358 config AR71XX_MACH_UBNT
359 bool "Ubiquiti AR71xx based boards support"
360 select SOC_AR71XX
361 select SOC_AR724X
362 select AR71XX_DEV_M25P80
363 select AR71XX_DEV_AP91_PCI if PCI
364 select AR71XX_DEV_GPIO_BUTTONS
365 select AR71XX_DEV_LEDS_GPIO
366 select AR71XX_DEV_PB42_PCI if PCI
367 select AR71XX_DEV_USB
368
369 config AR71XX_MACH_EAP7660D
370 bool "Senao EAP7660D support"
371 select SOC_AR71XX
372 select AR71XX_DEV_M25P80
373 select AR71XX_DEV_GPIO_BUTTONS
374 select AR71XX_DEV_LEDS_GPIO
375
376 config AR71XX_MACH_ZCN_1523H
377 bool "Zcomax ZCN-1523H support"
378 select SOC_AR724X
379 select AR71XX_DEV_M25P80
380 select AR71XX_DEV_AP91_PCI if PCI
381 select AR71XX_DEV_GPIO_BUTTONS
382 select AR71XX_DEV_LEDS_GPIO
383
384 endmenu
385
386 config SOC_AR71XX
387 bool
388 select USB_ARCH_HAS_EHCI
389 select USB_ARCH_HAS_OHCI
390
391 config SOC_AR724X
392 bool
393 select USB_ARCH_HAS_EHCI
394 select USB_ARCH_HAS_OHCI
395
396 config SOC_AR913X
397 bool
398 select USB_ARCH_HAS_EHCI
399
400 config SOC_AR934X
401 bool
402 select USB_ARCH_HAS_EHCI
403
404 config AR71XX_DEV_M25P80
405 def_bool n
406
407 config AR71XX_DEV_AP91_PCI
408 select AR71XX_PCI_ATH9K_FIXUP
409 def_bool n
410
411 config AR71XX_DEV_AP94_PCI
412 select AR71XX_PCI_ATH9K_FIXUP
413 def_bool n
414
415 config AR71XX_DEV_AR9XXX_WMAC
416 def_bool n
417
418 config AR71XX_DEV_DB120_PCI
419 select AR71XX_PCI_ATH9K_FIXUP
420 def_bool n
421
422 config AR71XX_DEV_DSA
423 def_bool n
424
425 config AR71XX_DEV_GPIO_BUTTONS
426 def_bool n
427
428 config AR71XX_DEV_LEDS_GPIO
429 def_bool n
430
431 config AR71XX_DEV_PB42_PCI
432 def_bool n
433
434 config AR71XX_DEV_PB9X_PCI
435 def_bool n
436
437 config AR71XX_DEV_USB
438 def_bool n
439
440 config AR71XX_NVRAM
441 def_bool n
442
443 config AR71XX_PCI_ATH9K_FIXUP
444 def_bool n
445
446 config SOC_AR933X
447 bool
448 select USB_ARCH_HAS_EHCI
449
450 endif