[tools] autoconf: another relocatability fix for autom4te, substitute hardcoded prefi...
[openwrt.git] / target / linux / ar71xx / patches-3.2 / 610-MIPS-ath79-openwrt-machines.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -16,17 +16,78 @@
4
5 enum ath79_mach_type {
6 ATH79_MACH_GENERIC = 0,
7 + ATH79_MACH_ALFA_AP96, /* ALFA Network AP96 board */
8 + ATH79_MACH_ALFA_NX, /* ALFA Network N2/N5 board */
9 + ATH79_MACH_ALL0258N, /* Allnet ALL0258N */
10 ATH79_MACH_AP121, /* Atheros AP121 reference board */
11 ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */
12 ATH79_MACH_AP81, /* Atheros AP81 reference board */
13 + ATH79_MACH_AP83, /* Atheros AP83 */
14 + ATH79_MACH_AP96, /* Atheros AP96 */
15 + ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
16 ATH79_MACH_DB120, /* Atheros DB120 reference board */
17 ATH79_MACH_PB44, /* Atheros PB44 reference board */
18 + ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
19 + ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
20 + ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
21 + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
22 + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
23 + ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
24 + ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
25 + ATH79_MACH_MZK_W04NU, /* Planex MZK-W04NU */
26 + ATH79_MACH_MZK_W300NH, /* Planex MZK-W300NH */
27 + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
28 + ATH79_MACH_OM2P, /* OpenMesh OM2P */
29 + ATH79_MACH_PB42, /* Atheros PB42 */
30 + ATH79_MACH_PB92, /* Atheros PB92 */
31 + ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
32 + ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
33 + ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
34 + ATH79_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
35 + ATH79_MACH_RB_450G, /* MikroTik RouterBOARD 450G */
36 + ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
37 + ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
38 + ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
39 + ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
40 + ATH79_MACH_RW2458N, /* Redwave RW2458N */
41 + ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
42 + ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
43 + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
44 + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
45 + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
46 + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
47 + ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */
48 + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
49 + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
50 + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
51 + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
52 + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
53 + ATH79_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
54 + ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
55 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
56 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
57 + ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
58 + ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */
59 ATH79_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
60 ATH79_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
61 + ATH79_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
62 + ATH79_MACH_UBNT_RS, /* Ubiquiti RouterStation */
63 ATH79_MACH_UBNT_UNIFI, /* Ubiquiti Unifi */
64 ATH79_MACH_UBNT_XM, /* Ubiquiti Networks XM board rev 1.0 */
65 + ATH79_MACH_WHR_G301N, /* Buffalo WHR-G301N */
66 + ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
67 + ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
68 + ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
69 + ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
70 + ATH79_MACH_WP543, /* Compex WP543 */
71 + ATH79_MACH_WPE72, /* Compex WPE72 */
72 + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */
73 + ATH79_MACH_WRT400N, /* Linksys WRT400N */
74 + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
75 + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
76 + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
77 + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
78 + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
79 };
80
81 #endif /* _ATH79_MACHTYPE_H */
82 --- a/arch/mips/ath79/Kconfig
83 +++ b/arch/mips/ath79/Kconfig
84 @@ -2,6 +2,42 @@ if ATH79
85
86 menu "Atheros AR71XX/AR724X/AR913X machine selection"
87
88 +config ATH79_MACH_ALFA_AP96
89 + bool "ALFA Network AP96 board support"
90 + select SOC_AR71XX
91 + select ATH79_DEV_ETH
92 + select ATH79_DEV_GPIO_BUTTONS
93 + select ATH79_DEV_SPI
94 + select ATH79_DEV_USB
95 +
96 +config ATH79_MACH_HORNET_UB
97 + bool "ALFA Network Hornet-UB board support"
98 + select SOC_AR933X
99 + select ATH79_DEV_ETH
100 + select ATH79_DEV_GPIO_BUTTONS
101 + select ATH79_DEV_LEDS_GPIO
102 + select ATH79_DEV_M25P80
103 + select ATH79_DEV_USB
104 + select ATH79_DEV_WMAC
105 +
106 +config ATH79_MACH_ALFA_NX
107 + bool "ALFA Network N2/N5 board support"
108 + select SOC_AR724X
109 + select ATH79_DEV_AP9X_PCI if PCI
110 + select ATH79_DEV_ETH
111 + select ATH79_DEV_GPIO_BUTTONS
112 + select ATH79_DEV_LEDS_GPIO
113 + select ATH79_DEV_M25P80
114 +
115 +config ATH79_MACH_ALL0258N
116 + bool "Allnet ALL0258N support"
117 + select SOC_AR724X
118 + select ATH79_DEV_AP9X_PCI if PCI
119 + select ATH79_DEV_ETH
120 + select ATH79_DEV_GPIO_BUTTONS
121 + select ATH79_DEV_LEDS_GPIO
122 + select ATH79_DEV_M25P80
123 +
124 config ATH79_MACH_AP121
125 bool "Atheros AP121 reference board"
126 select SOC_AR933X
127 @@ -28,6 +64,36 @@ config ATH79_MACH_AP81
128 Say 'Y' here if you want your kernel to support the
129 Atheros AP81 reference board.
130
131 +config ATH79_MACH_AP83
132 + bool "Atheros AP83 board support"
133 + select SOC_AR913X
134 + select ATH79_DEV_GPIO_BUTTONS
135 + select ATH79_DEV_LEDS_GPIO
136 + select ATH79_DEV_USB
137 + select ATH79_DEV_WMAC
138 +
139 +config ATH79_MACH_AP96
140 + bool "Atheros AP96 board support"
141 + select SOC_AR71XX
142 + select ATH79_DEV_ETH
143 + select ATH79_DEV_AP9X_PCI if PCI
144 + select ATH79_DEV_GPIO_BUTTONS
145 + select ATH79_DEV_LEDS_GPIO
146 + select ATH79_DEV_M25P80
147 + select ATH79_DEV_USB
148 +
149 +config ATH79_MACH_AP121
150 + bool "Atheros AP121 reference board"
151 + select SOC_AR933X
152 + select ATH79_DEV_GPIO_BUTTONS
153 + select ATH79_DEV_LEDS_GPIO
154 + select ATH79_DEV_SPI
155 + select ATH79_DEV_USB
156 + select ATH79_DEV_WMAC
157 + help
158 + Say 'Y' here if you want your kernel to support the
159 + Atheros AP121 reference board.
160 +
161 config ATH79_MACH_DB120
162 bool "Atheros DB120 reference board"
163 select SOC_AR934X
164 @@ -42,6 +108,13 @@ config ATH79_MACH_DB120
165 Say 'Y' here if you want your kernel to support the
166 Atheros DB120 reference board.
167
168 +config ATH79_MACH_PB42
169 + bool "Atheros PB42 board support"
170 + select SOC_AR71XX
171 + select ATH79_DEV_ETH
172 + select ATH79_DEV_GPIO_BUTTONS
173 + select ATH79_DEV_M25P80
174 +
175 config ATH79_MACH_PB44
176 bool "Atheros PB44 reference board"
177 select SOC_AR71XX
178 @@ -54,6 +127,359 @@ config ATH79_MACH_PB44
179 Say 'Y' here if you want your kernel to support the
180 Atheros PB44 reference board.
181
182 +config ATH79_MACH_PB92
183 + bool "Atheros PB92 board support"
184 + select SOC_AR724X
185 + select ATH79_DEV_ETH
186 + select ATH79_DEV_GPIO_BUTTONS
187 + select ATH79_DEV_LEDS_GPIO
188 + select ATH79_DEV_PB9X_PCI if PCI
189 + select ATH79_DEV_USB
190 +
191 +config ATH79_MACH_AW_NR580
192 + bool "AzureWave AW-NR580 board support"
193 + select SOC_AR71XX
194 + select ATH79_DEV_ETH
195 + select ATH79_DEV_GPIO_BUTTONS
196 + select ATH79_DEV_LEDS_GPIO
197 + select ATH79_DEV_M25P80
198 +
199 +config ATH79_MACH_WHR_HP_G300N
200 + bool "Buffalo WHR-HP-G300N board support"
201 + select SOC_AR724X
202 + select ATH79_DEV_ETH
203 + select ATH79_DEV_AP9X_PCI if PCI
204 + select ATH79_DEV_GPIO_BUTTONS
205 + select ATH79_DEV_LEDS_GPIO
206 + select ATH79_DEV_M25P80
207 +
208 +config ATH79_MACH_WZR_HP_AG300H
209 + bool "Buffalo WZR-HP-AG300H board support"
210 + select SOC_AR71XX
211 + select ATH79_DEV_ETH
212 + select ATH79_DEV_GPIO_BUTTONS
213 + select ATH79_DEV_LEDS_GPIO
214 + select ATH79_DEV_M25P80
215 + select ATH79_DEV_USB
216 +
217 +config ATH79_MACH_WZR_HP_G300NH
218 + bool "Buffalo WZR-HP-G300NH board support"
219 + select SOC_AR913X
220 + select ATH79_DEV_ETH
221 + select ATH79_DEV_GPIO_BUTTONS
222 + select ATH79_DEV_LEDS_GPIO
223 + select ATH79_DEV_USB
224 + select ATH79_DEV_WMAC
225 + select RTL8366_SMI
226 +
227 +config ATH79_MACH_WZR_HP_G300NH2
228 + bool "Buffalo WZR-HP-G300NH2 board support"
229 + select SOC_AR724X
230 + select ATH79_DEV_AP9X_PCI if PCI
231 + select ATH79_DEV_ETH
232 + select ATH79_DEV_GPIO_BUTTONS
233 + select ATH79_DEV_LEDS_GPIO
234 + select ATH79_DEV_M25P80
235 + select ATH79_DEV_USB
236 +
237 +config ATH79_MACH_WZR_HP_G450H
238 + bool "Buffalo WZR-HP-G450H board support"
239 + select SOC_AR724X
240 + select ATH79_DEV_ETH
241 + select ATH79_DEV_AP9X_PCI if PCI
242 + select ATH79_DEV_GPIO_BUTTONS
243 + select ATH79_DEV_LEDS_GPIO
244 + select ATH79_DEV_M25P80
245 + select ATH79_DEV_USB
246 +
247 +config ATH79_MACH_WP543
248 + bool "Compex WP543/WPJ543 board support"
249 + select SOC_AR71XX
250 + select ATH79_DEV_ETH
251 + select ATH79_DEV_GPIO_BUTTONS
252 + select ATH79_DEV_LEDS_GPIO
253 + select ATH79_DEV_M25P80
254 + select ATH79_DEV_USB
255 + select MYLOADER
256 +
257 +config ATH79_MACH_WPE72
258 + bool "Compex WPE72/WPE72NX board support"
259 + select SOC_AR724X
260 + select ATH79_DEV_ETH
261 + select ATH79_DEV_GPIO_BUTTONS
262 + select ATH79_DEV_LEDS_GPIO
263 + select ATH79_DEV_M25P80
264 + select ATH79_DEV_USB
265 + select MYLOADER
266 +
267 +config ATH79_MACH_DIR_600_A1
268 + bool "D-Link DIR-600 rev. A1 support"
269 + select SOC_AR724X
270 + select ATH79_DEV_AP9X_PCI if PCI
271 + select ATH79_DEV_ETH
272 + select ATH79_DEV_GPIO_BUTTONS
273 + select ATH79_DEV_LEDS_GPIO
274 + select ATH79_DEV_M25P80
275 + select ATH79_NVRAM
276 +
277 +config ATH79_MACH_DIR_615_C1
278 + bool "D-Link DIR-615 rev. C1 support"
279 + select SOC_AR913X
280 + select ATH79_DEV_ETH
281 + select ATH79_DEV_GPIO_BUTTONS
282 + select ATH79_DEV_LEDS_GPIO
283 + select ATH79_DEV_M25P80
284 + select ATH79_DEV_WMAC
285 + select ATH79_NVRAM
286 +
287 +config ATH79_MACH_DIR_825_B1
288 + bool "D-Link DIR-825 rev. B1 board support"
289 + select SOC_AR71XX
290 + select ATH79_DEV_ETH
291 + select ATH79_DEV_AP9X_PCI if PCI
292 + select ATH79_DEV_GPIO_BUTTONS
293 + select ATH79_DEV_LEDS_GPIO
294 + select ATH79_DEV_M25P80
295 + select ATH79_DEV_USB
296 +
297 +config ATH79_MACH_JA76PF
298 + bool "jjPlus JA76PF board support"
299 + select SOC_AR71XX
300 + select ATH79_DEV_ETH
301 + select ATH79_DEV_GPIO_BUTTONS
302 + select ATH79_DEV_LEDS_GPIO
303 + select ATH79_DEV_M25P80
304 + select ATH79_DEV_USB
305 +
306 +config ATH79_MACH_JWAP003
307 + bool "jjPlus JWAP003 board support"
308 + select SOC_AR71XX
309 + select ATH79_DEV_ETH
310 + select ATH79_DEV_GPIO_BUTTONS
311 + select ATH79_DEV_M25P80
312 + select ATH79_DEV_USB
313 +
314 +config ATH79_MACH_WRT160NL
315 + bool "Linksys WRT160NL board support"
316 + select SOC_AR913X
317 + select ATH79_DEV_ETH
318 + select ATH79_DEV_GPIO_BUTTONS
319 + select ATH79_DEV_LEDS_GPIO
320 + select ATH79_DEV_M25P80
321 + select ATH79_DEV_USB
322 + select ATH79_DEV_WMAC
323 + select ATH79_NVRAM
324 +
325 +config ATH79_MACH_WRT400N
326 + bool "Linksys WRT400N board support"
327 + select SOC_AR71XX
328 + select ATH79_DEV_ETH
329 + select ATH79_DEV_AP9X_PCI if PCI
330 + select ATH79_DEV_GPIO_BUTTONS
331 + select ATH79_DEV_LEDS_GPIO
332 +
333 +config ATH79_MACH_RB4XX
334 + bool "MikroTik RouterBOARD 4xx series support"
335 + select SOC_AR71XX
336 + select ATH79_DEV_ETH
337 + select ATH79_DEV_GPIO_BUTTONS
338 + select ATH79_DEV_LEDS_GPIO
339 + select ATH79_DEV_USB
340 +
341 +config ATH79_MACH_RB750
342 + bool "MikroTik RouterBOARD 750 support"
343 + select SOC_AR724X
344 + select ATH79_DEV_ETH
345 +
346 +config ATH79_MACH_WNDR3700
347 + bool "NETGEAR WNDR3700 board support"
348 + select SOC_AR71XX
349 + select ATH79_DEV_AP9X_PCI if PCI
350 + select ATH79_DEV_ETH
351 + select ATH79_DEV_GPIO_BUTTONS
352 + select ATH79_DEV_LEDS_GPIO
353 + select ATH79_DEV_M25P80
354 + select ATH79_DEV_USB
355 +
356 +config ATH79_MACH_WNR2000
357 + bool "NETGEAR WNR2000 board support"
358 + select SOC_AR913X
359 + select ATH79_DEV_ETH
360 + select ATH79_DEV_GPIO_BUTTONS
361 + select ATH79_DEV_LEDS_GPIO
362 + select ATH79_DEV_M25P80
363 + select ATH79_DEV_WMAC
364 +
365 +config ATH79_MACH_OM2P
366 + bool "OpenMesh OM2P board support"
367 + select SOC_AR724X
368 + select ATH79_DEV_AP9X_PCI if PCI
369 + select ATH79_DEV_ETH
370 + select ATH79_DEV_GPIO_BUTTONS
371 + select ATH79_DEV_LEDS_GPIO
372 + select ATH79_DEV_M25P80
373 +
374 +config ATH79_MACH_MZK_W04NU
375 + bool "Planex MZK-W04NU board support"
376 + select SOC_AR913X
377 + select ATH79_DEV_ETH
378 + select ATH79_DEV_GPIO_BUTTONS
379 + select ATH79_DEV_LEDS_GPIO
380 + select ATH79_DEV_M25P80
381 + select ATH79_DEV_USB
382 + select ATH79_DEV_WMAC
383 +
384 +config ATH79_MACH_MZK_W300NH
385 + bool "Planex MZK-W300NH board support"
386 + select SOC_AR913X
387 + select ATH79_DEV_ETH
388 + select ATH79_DEV_GPIO_BUTTONS
389 + select ATH79_DEV_LEDS_GPIO
390 + select ATH79_DEV_M25P80
391 + select ATH79_DEV_WMAC
392 +
393 +config ATH79_MACH_RW2458N
394 + bool "Redwave RW2458N board support"
395 + select SOC_AR724X
396 + select ATH79_DEV_ETH
397 + select ATH79_DEV_AP9X_PCI if PCI
398 + select ATH79_DEV_GPIO_BUTTONS
399 + select ATH79_DEV_LEDS_GPIO
400 + select ATH79_DEV_M25P80
401 + select ATH79_DEV_USB
402 +
403 +config ATH79_MACH_EAP7660D
404 + bool "Senao EAP7660D support"
405 + select SOC_AR71XX
406 + select ATH79_DEV_ETH
407 + select ATH79_DEV_GPIO_BUTTONS
408 + select ATH79_DEV_LEDS_GPIO
409 + select ATH79_DEV_M25P80
410 +
411 +config ATH79_MACH_TL_MR3020
412 + bool "TP-LINK TL-MR3020 support"
413 + select SOC_AR933X
414 + select ATH79_DEV_ETH
415 + select ATH79_DEV_GPIO_BUTTONS
416 + select ATH79_DEV_LEDS_GPIO
417 + select ATH79_DEV_M25P80
418 + select ATH79_DEV_USB
419 + select ATH79_DEV_WMAC
420 +
421 +config ATH79_MACH_TL_MR3X20
422 + bool "TP-LINK TL-MR3220/3420 support"
423 + select SOC_AR724X
424 + select ATH79_DEV_AP9X_PCI if PCI
425 + select ATH79_DEV_ETH
426 + select ATH79_DEV_GPIO_BUTTONS
427 + select ATH79_DEV_LEDS_GPIO
428 + select ATH79_DEV_M25P80
429 + select ATH79_DEV_USB
430 +
431 +config ATH79_MACH_TL_WA901ND
432 + bool "TP-LINK TL-WA901ND support"
433 + select SOC_AR724X
434 + select ATH79_DEV_AP9X_PCI if PCI
435 + select ATH79_DEV_ETH
436 + select ATH79_DEV_GPIO_BUTTONS
437 + select ATH79_DEV_LEDS_GPIO
438 + select ATH79_DEV_M25P80
439 +
440 +config ATH79_MACH_TL_WA901ND_V2
441 + bool "TP-LINK TL-WA901ND v2 support"
442 + select SOC_AR913X
443 + select ATH79_DEV_ETH
444 + select ATH79_DEV_GPIO_BUTTONS
445 + select ATH79_DEV_LEDS_GPIO
446 + select ATH79_DEV_M25P80
447 + select ATH79_DEV_WMAC
448 +
449 +config ATH79_MACH_TL_WR703N
450 + bool "TP-LINK TL-WR703N support"
451 + select SOC_AR933X
452 + select ATH79_DEV_ETH
453 + select ATH79_DEV_GPIO_BUTTONS
454 + select ATH79_DEV_LEDS_GPIO
455 + select ATH79_DEV_M25P80
456 + select ATH79_DEV_USB
457 + select ATH79_DEV_WMAC
458 +
459 +config ATH79_MACH_TL_WR741ND
460 + bool "TP-LINK TL-WR741ND support"
461 + select SOC_AR724X
462 + select ATH79_DEV_AP9X_PCI if PCI
463 + select ATH79_DEV_ETH
464 + select ATH79_DEV_GPIO_BUTTONS
465 + select ATH79_DEV_LEDS_GPIO
466 + select ATH79_DEV_M25P80
467 +
468 +config ATH79_MACH_TL_WR741ND_V4
469 + bool "TP-LINK TL-WR741ND v4 support"
470 + select SOC_AR933X
471 + select ATH79_DEV_ETH
472 + select ATH79_DEV_GPIO_BUTTONS
473 + select ATH79_DEV_LEDS_GPIO
474 + select ATH79_DEV_M25P80
475 + select ATH79_DEV_WMAC
476 +
477 +config ATH79_MACH_TL_WR841N_V1
478 + bool "TP-LINK TL-WR841N v1 support"
479 + select SOC_AR71XX
480 + select ATH79_DEV_DSA
481 + select ATH79_DEV_ETH
482 + select ATH79_DEV_GPIO_BUTTONS
483 + select ATH79_DEV_LEDS_GPIO
484 + select ATH79_DEV_M25P80
485 +
486 +config ATH79_MACH_TL_WR941ND
487 + bool "TP-LINK TL-WR941ND support"
488 + select SOC_AR913X
489 + select ATH79_DEV_DSA
490 + select ATH79_DEV_ETH
491 + select ATH79_DEV_GPIO_BUTTONS
492 + select ATH79_DEV_LEDS_GPIO
493 + select ATH79_DEV_M25P80
494 + select ATH79_DEV_WMAC
495 +
496 +config ATH79_MACH_TL_WR1043ND
497 + bool "TP-LINK TL-WR1043ND support"
498 + select SOC_AR913X
499 + select ATH79_DEV_ETH
500 + select ATH79_DEV_GPIO_BUTTONS
501 + select ATH79_DEV_LEDS_GPIO
502 + select ATH79_DEV_M25P80
503 + select ATH79_DEV_USB
504 + select ATH79_DEV_WMAC
505 +
506 +config ATH79_MACH_TL_WR2543N
507 + bool "TP-LINK TL-WR2543N/ND support"
508 + select SOC_AR724X
509 + select ATH79_DEV_AP9X_PCI if PCI
510 + select ATH79_DEV_ETH
511 + select ATH79_DEV_GPIO_BUTTONS
512 + select ATH79_DEV_LEDS_GPIO
513 + select ATH79_DEV_M25P80
514 + select ATH79_DEV_USB
515 +
516 +config ATH79_MACH_TEW_632BRP
517 + bool "TRENDnet TEW-632BRP support"
518 + select SOC_AR913X
519 + select ATH79_DEV_ETH
520 + select ATH79_DEV_GPIO_BUTTONS
521 + select ATH79_DEV_LEDS_GPIO
522 + select ATH79_DEV_M25P80
523 + select ATH79_DEV_WMAC
524 + select ATH79_NVRAM
525 +
526 +config ATH79_MACH_UBNT
527 + bool "Ubiquiti AR71xx based boards support"
528 + select SOC_AR71XX
529 + select ATH79_DEV_ETH
530 + select ATH79_DEV_GPIO_BUTTONS
531 + select ATH79_DEV_LEDS_GPIO
532 + select ATH79_DEV_M25P80
533 + select ATH79_DEV_USB
534 +
535 config ATH79_MACH_UBNT_XM
536 bool "Ubiquiti Networks XM (rev 1.0) board"
537 select SOC_AR724X
538 @@ -67,6 +483,24 @@ config ATH79_MACH_UBNT_XM
539 Say 'Y' here if you want your kernel to support the
540 Ubiquiti Networks XM (rev 1.0) board.
541
542 +config ATH79_MACH_ZCN_1523H
543 + bool "Zcomax ZCN-1523H support"
544 + select SOC_AR724X
545 + select ATH79_DEV_AP9X_PCI if PCI
546 + select ATH79_DEV_ETH
547 + select ATH79_DEV_GPIO_BUTTONS
548 + select ATH79_DEV_LEDS_GPIO
549 + select ATH79_DEV_M25P80
550 +
551 +config ATH79_MACH_NBG460N
552 + bool "Zyxel NBG460N/550N/550NH board support"
553 + select SOC_AR913X
554 + select ATH79_DEV_ETH
555 + select ATH79_DEV_GPIO_BUTTONS
556 + select ATH79_DEV_LEDS_GPIO
557 + select ATH79_DEV_M25P80
558 + select ATH79_DEV_WMAC
559 +
560 endmenu
561
562 config SOC_AR71XX
563 @@ -96,10 +530,6 @@ config SOC_AR934X
564 select PCI_AR724X if PCI
565 def_bool n
566
567 -config ATH79_DEV_M25P80
568 - select ATH79_DEV_SPI
569 - def_bool n
570 -
571 config ATH79_DEV_AP9X_PCI
572 select ATH79_PCI_ATH9K_FIXUP
573 def_bool n
574 @@ -110,7 +540,14 @@ config ATH79_DEV_DSA
575 config ATH79_DEV_ETH
576 def_bool n
577
578 -config PCI_AR724X
579 +config ATH79_DEV_M25P80
580 + select ATH79_DEV_SPI
581 + def_bool n
582 +
583 +config ATH79_DEV_DSA
584 + def_bool n
585 +
586 +config ATH79_DEV_ETH
587 def_bool n
588
589 config ATH79_DEV_GPIO_BUTTONS
590 @@ -135,4 +572,7 @@ config ATH79_NVRAM
591 config ATH79_PCI_ATH9K_FIXUP
592 def_bool n
593
594 +config PCI_AR724X
595 + def_bool n
596 +
597 endif
598 --- a/arch/mips/ath79/Makefile
599 +++ b/arch/mips/ath79/Makefile
600 @@ -36,8 +36,54 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += p
601 #
602 # Machines
603 #
604 +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
605 +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
606 +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
607 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
608 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
609 +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
610 +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
611 +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
612 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
613 +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
614 +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
615 +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
616 +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
617 +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
618 +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
619 +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
620 +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
621 +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
622 +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
623 +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
624 +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
625 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
626 +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
627 +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
628 +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
629 +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
630 +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
631 +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
632 +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
633 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
634 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
635 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
636 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
637 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
638 +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
639 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
640 +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
641 +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
642 +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
643 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
644 +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
645 +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
646 +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
647 +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
648 +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
649 +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
650 +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
651 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
652 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
653 +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
654 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
This page took 0.069321 seconds and 5 git commands to generate.