source: trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig @ 29635

Last change on this file since 29635 was 29635, checked in by juhosg, 5 years ago

ar71xx: add support for the ALFA Network N2/N5 boards

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