aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig
blob: f80974b361c1f99ff22520aa2a5f85612a559561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
if ATHEROS_AR71XX

menu "Atheros AR71xx machine selection"
config AR71XX_MACH_ALL0258N
	bool "Allnet ALL0258N support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_AP81
	bool "Atheros AP81 board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_AP83
	bool "Atheros AP83 board support"
	select SOC_AR913X
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_AP96
	bool "Atheros AP96 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP94_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_AP121
	bool "Atheros AP121 board support"
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB
	select AR71XX_DEV_AR9XXX_WMAC
	select SOC_AR933X

config AR71XX_MACH_DB120
	bool "Atheros DB120 board support"
	select SOC_AR934X
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_DB120_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_DIR_600_A1
	bool "D-Link DIR-600 rev. A1 support"
	select SOC_AR724X
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_NVRAM

config AR71XX_MACH_DIR_615_C1
	bool "D-Link DIR-615 rev. C1 support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_NVRAM

config AR71XX_MACH_DIR_825_B1
	bool "D-Link DIR-825 rev. B1 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP94_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_JA76PF
	bool "jjPlus JA76PF board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_JWAP003
	bool "jjPlus JWAP003 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_USB

config AR71XX_MACH_PB42
	bool "Atheros PB42 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI

config AR71XX_MACH_PB44
	bool "Atheros PB44 board support"
	select SOC_AR71XX
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_PB92
	bool "Atheros PB92 board support"
	select SOC_AR724X
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB9X_PCI if PCI
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_AW_NR580
	bool "AzureWave AW-NR580 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_WZR_HP_AG300H
	bool "Buffalo WZR-HP-AG300H board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_WZR_HP_G300NH
	bool "Buffalo WZR-HP-G300NH board support"
	select SOC_AR913X
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB
	select RTL8366_SMI

config AR71XX_MACH_WHR_HP_G300N
	bool "Buffalo WHR-HP-G300N board support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_WP543
	bool "Compex WP543/WPJ543 board support"
	select SOC_AR71XX
	select MYLOADER
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_WRT160NL
	bool "Linksys WRT160NL board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB
	select AR71XX_NVRAM

config AR71XX_MACH_WRT400N
	bool "Linksys WRT400N board support"
	select SOC_AR71XX
	select AR71XX_DEV_AP94_PCI if PCI
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_RB4XX
	bool "MikroTik RouterBOARD 4xx series support"
	select SOC_AR71XX
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_RB750
	bool "MikroTik RouterBOARD 750 support"
	select SOC_AR724X

config AR71XX_MACH_WNDR3700
	bool "NETGEAR WNDR3700 board support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP94_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_WNR2000
	bool "NETGEAR WNR2000 board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_OM2P
	bool "OpenMesh OM2P board support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_MZK_W04NU
	bool "Planex MZK-W04NU board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_MZK_W300NH
	bool "Planex MZK-W300NH board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_NBG460N
	bool "Zyxel NBG460N/550N/550NH board support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_MR3X20
	bool "TP-LINK TL-MR3220/3420 support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_TL_WA901ND
	bool "TP-LINK TL-WA901ND support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_WA901ND_V2
	bool "TP-LINK TL-WA901ND v2 support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_WR703N
	bool "TP-LINK TL-WR703N support"
	select SOC_AR933X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB
	select AR71XX_DEV_AR9XXX_WMAC

config AR71XX_MACH_TL_WR741ND
	bool "TP-LINK TL-WR741ND support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_WR741ND_V4
	bool "TP-LINK TL-WR741ND v4 support"
	select SOC_AR933X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_AR9XXX_WMAC

config AR71XX_MACH_TL_WR841N_V1
	bool "TP-LINK TL-WR841N v1 support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_DSA
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_WR941ND
	bool "TP-LINK TL-WR941ND support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_DSA
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_TL_WR1043ND
	bool "TP-LINK TL-WR1043ND support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_USB

config AR71XX_MACH_TEW_632BRP
	bool "TRENDnet TEW-632BRP support"
	select SOC_AR913X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AR9XXX_WMAC
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_NVRAM

config AR71XX_MACH_UBNT
	bool "Ubiquiti AR71xx based boards support"
	select SOC_AR71XX
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO
	select AR71XX_DEV_PB42_PCI if PCI
	select AR71XX_DEV_USB

config AR71XX_MACH_EAP7660D
	bool "Senao EAP7660D support"
	select SOC_AR71XX
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

config AR71XX_MACH_ZCN_1523H
	bool "Zcomax ZCN-1523H support"
	select SOC_AR724X
	select AR71XX_DEV_M25P80
	select AR71XX_DEV_AP91_PCI if PCI
	select AR71XX_DEV_GPIO_BUTTONS
	select AR71XX_DEV_LEDS_GPIO

endmenu

config SOC_AR71XX
	bool
	select USB_ARCH_HAS_EHCI
	select USB_ARCH_HAS_OHCI

config SOC_AR724X
	bool
	select USB_ARCH_HAS_EHCI
	select USB_ARCH_HAS_OHCI

config SOC_AR913X
	bool
	select USB_ARCH_HAS_EHCI

config SOC_AR934X
	bool
	select USB_ARCH_HAS_EHCI

config AR71XX_DEV_M25P80
	def_bool n

config AR71XX_DEV_AP91_PCI
	select AR71XX_PCI_ATH9K_FIXUP
	def_bool n

config AR71XX_DEV_AP94_PCI
	select AR71XX_PCI_ATH9K_FIXUP
	def_bool n

config AR71XX_DEV_AR9XXX_WMAC
	def_bool n

config AR71XX_DEV_DB120_PCI
	select AR71XX_PCI_ATH9K_FIXUP
	def_bool n

config AR71XX_DEV_DSA
	def_bool n

config AR71XX_DEV_GPIO_BUTTONS
	def_bool n

config AR71XX_DEV_LEDS_GPIO
	def_bool n

config AR71XX_DEV_PB42_PCI
	def_bool n

config AR71XX_DEV_PB9X_PCI
	def_bool n

config AR71XX_DEV_USB
	def_bool n

config AR71XX_NVRAM
	def_bool n

config AR71XX_PCI_ATH9K_FIXUP
	def_bool n

config SOC_AR933X
	bool
	select USB_ARCH_HAS_EHCI

endif