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