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

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

ar71xx: add initial support for the OpenMesh OM2P board

Based on a patch by Marek Lindner <marek@…>

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