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

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

ar71xx: add initial support for the TL-WR741ND v4 board

The ethernet port LEDs are not working yet.

File size: 9.7 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_WR741ND_V4
288        bool "TP-LINK TL-WR741ND v4 support"
289        select SOC_AR933X
290        select AR71XX_DEV_M25P80
291        select AR71XX_DEV_GPIO_BUTTONS
292        select AR71XX_DEV_LEDS_GPIO
293        select AR71XX_DEV_AR9XXX_WMAC
294
295config AR71XX_MACH_TL_WR841N_V1
296        bool "TP-LINK TL-WR841N v1 support"
297        select SOC_AR71XX
298        select AR71XX_DEV_M25P80
299        select AR71XX_DEV_PB42_PCI if PCI
300        select AR71XX_DEV_DSA
301        select AR71XX_DEV_GPIO_BUTTONS
302        select AR71XX_DEV_LEDS_GPIO
303
304config AR71XX_MACH_TL_WR941ND
305        bool "TP-LINK TL-WR941ND support"
306        select SOC_AR913X
307        select AR71XX_DEV_M25P80
308        select AR71XX_DEV_AR9XXX_WMAC
309        select AR71XX_DEV_DSA
310        select AR71XX_DEV_GPIO_BUTTONS
311        select AR71XX_DEV_LEDS_GPIO
312
313config AR71XX_MACH_TL_WR1043ND
314        bool "TP-LINK TL-WR1043ND support"
315        select SOC_AR913X
316        select AR71XX_DEV_M25P80
317        select AR71XX_DEV_AR9XXX_WMAC
318        select AR71XX_DEV_GPIO_BUTTONS
319        select AR71XX_DEV_LEDS_GPIO
320        select AR71XX_DEV_USB
321
322config AR71XX_MACH_TEW_632BRP
323        bool "TRENDnet TEW-632BRP support"
324        select SOC_AR913X
325        select AR71XX_DEV_M25P80
326        select AR71XX_DEV_AR9XXX_WMAC
327        select AR71XX_DEV_GPIO_BUTTONS
328        select AR71XX_DEV_LEDS_GPIO
329        select AR71XX_NVRAM
330
331config AR71XX_MACH_UBNT
332        bool "Ubiquiti AR71xx based boards support"
333        select SOC_AR71XX
334        select SOC_AR724X
335        select AR71XX_DEV_M25P80
336        select AR71XX_DEV_AP91_PCI if PCI
337        select AR71XX_DEV_GPIO_BUTTONS
338        select AR71XX_DEV_LEDS_GPIO
339        select AR71XX_DEV_PB42_PCI if PCI
340        select AR71XX_DEV_USB
341
342config AR71XX_MACH_EAP7660D
343        bool "Senao EAP7660D support"
344        select SOC_AR71XX
345        select AR71XX_DEV_M25P80
346        select AR71XX_DEV_GPIO_BUTTONS
347        select AR71XX_DEV_LEDS_GPIO
348
349config AR71XX_MACH_ZCN_1523H
350        bool "Zcomax ZCN-1523H support"
351        select SOC_AR724X
352        select AR71XX_DEV_M25P80
353        select AR71XX_DEV_AP91_PCI if PCI
354        select AR71XX_DEV_GPIO_BUTTONS
355        select AR71XX_DEV_LEDS_GPIO
356
357endmenu
358
359config SOC_AR71XX
360        bool
361        select USB_ARCH_HAS_EHCI
362        select USB_ARCH_HAS_OHCI
363
364config SOC_AR724X
365        bool
366        select USB_ARCH_HAS_EHCI
367        select USB_ARCH_HAS_OHCI
368
369config SOC_AR913X
370        bool
371        select USB_ARCH_HAS_EHCI
372
373config SOC_AR934X
374        bool
375        select USB_ARCH_HAS_EHCI
376
377config AR71XX_DEV_M25P80
378        def_bool n
379
380config AR71XX_DEV_AP91_PCI
381        select AR71XX_PCI_ATH9K_FIXUP
382        def_bool n
383
384config AR71XX_DEV_AP94_PCI
385        select AR71XX_PCI_ATH9K_FIXUP
386        def_bool n
387
388config AR71XX_DEV_AR9XXX_WMAC
389        def_bool n
390
391config AR71XX_DEV_DB120_PCI
392        select AR71XX_PCI_ATH9K_FIXUP
393        def_bool n
394
395config AR71XX_DEV_DSA
396        def_bool n
397
398config AR71XX_DEV_GPIO_BUTTONS
399        def_bool n
400
401config AR71XX_DEV_LEDS_GPIO
402        def_bool n
403
404config AR71XX_DEV_PB42_PCI
405        def_bool n
406
407config AR71XX_DEV_PB9X_PCI
408        def_bool n
409
410config AR71XX_DEV_USB
411        def_bool n
412
413config AR71XX_NVRAM
414        def_bool n
415
416config AR71XX_PCI_ATH9K_FIXUP
417        def_bool n
418
419config SOC_AR933X
420        bool
421        select USB_ARCH_HAS_EHCI
422
423endif
Note: See TracBrowser for help on using the repository browser.