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