1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
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_WRT160NL, /* Linksys WRT160NL */
72 + ATH79_MACH_WRT400N, /* Linksys WRT400N */
73 + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
74 + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
75 + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
76 + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
77 + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
80 #endif /* _ATH79_MACHTYPE_H */
81 --- a/arch/mips/ath79/Kconfig
82 +++ b/arch/mips/ath79/Kconfig
83 @@ -2,6 +2,42 @@ if ATH79
85 menu "Atheros AR71XX/AR724X/AR913X machine selection"
87 +config ATH79_MACH_ALFA_AP96
88 + bool "ALFA Network AP96 board support"
90 + select ATH79_DEV_ETH
91 + select ATH79_DEV_GPIO_BUTTONS
92 + select ATH79_DEV_SPI
93 + select ATH79_DEV_USB
95 +config ATH79_MACH_HORNET_UB
96 + bool "ALFA Network Hornet-UB board support"
98 + select ATH79_DEV_ETH
99 + select ATH79_DEV_GPIO_BUTTONS
100 + select ATH79_DEV_LEDS_GPIO
101 + select ATH79_DEV_M25P80
102 + select ATH79_DEV_USB
103 + select ATH79_DEV_WMAC
105 +config ATH79_MACH_ALFA_NX
106 + bool "ALFA Network N2/N5 board support"
108 + select ATH79_DEV_AP9X_PCI if PCI
109 + select ATH79_DEV_ETH
110 + select ATH79_DEV_GPIO_BUTTONS
111 + select ATH79_DEV_LEDS_GPIO
112 + select ATH79_DEV_M25P80
114 +config ATH79_MACH_ALL0258N
115 + bool "Allnet ALL0258N support"
117 + select ATH79_DEV_AP9X_PCI if PCI
118 + select ATH79_DEV_ETH
119 + select ATH79_DEV_GPIO_BUTTONS
120 + select ATH79_DEV_LEDS_GPIO
121 + select ATH79_DEV_M25P80
123 config ATH79_MACH_AP121
124 bool "Atheros AP121 reference board"
126 @@ -28,6 +64,36 @@ config ATH79_MACH_AP81
127 Say 'Y' here if you want your kernel to support the
128 Atheros AP81 reference board.
130 +config ATH79_MACH_AP83
131 + bool "Atheros AP83 board support"
133 + select ATH79_DEV_GPIO_BUTTONS
134 + select ATH79_DEV_LEDS_GPIO
135 + select ATH79_DEV_USB
136 + select ATH79_DEV_WMAC
138 +config ATH79_MACH_AP96
139 + bool "Atheros AP96 board support"
141 + select ATH79_DEV_ETH
142 + select ATH79_DEV_AP9X_PCI if PCI
143 + select ATH79_DEV_GPIO_BUTTONS
144 + select ATH79_DEV_LEDS_GPIO
145 + select ATH79_DEV_M25P80
146 + select ATH79_DEV_USB
148 +config ATH79_MACH_AP121
149 + bool "Atheros AP121 reference board"
151 + select ATH79_DEV_GPIO_BUTTONS
152 + select ATH79_DEV_LEDS_GPIO
153 + select ATH79_DEV_SPI
154 + select ATH79_DEV_USB
155 + select ATH79_DEV_WMAC
157 + Say 'Y' here if you want your kernel to support the
158 + Atheros AP121 reference board.
160 config ATH79_MACH_DB120
161 bool "Atheros DB120 reference board"
163 @@ -42,6 +108,13 @@ config ATH79_MACH_DB120
164 Say 'Y' here if you want your kernel to support the
165 Atheros DB120 reference board.
167 +config ATH79_MACH_PB42
168 + bool "Atheros PB42 board support"
170 + select ATH79_DEV_ETH
171 + select ATH79_DEV_GPIO_BUTTONS
172 + select ATH79_DEV_M25P80
174 config ATH79_MACH_PB44
175 bool "Atheros PB44 reference board"
177 @@ -54,6 +127,349 @@ config ATH79_MACH_PB44
178 Say 'Y' here if you want your kernel to support the
179 Atheros PB44 reference board.
181 +config ATH79_MACH_PB92
182 + bool "Atheros PB92 board support"
184 + select ATH79_DEV_ETH
185 + select ATH79_DEV_GPIO_BUTTONS
186 + select ATH79_DEV_LEDS_GPIO
187 + select ATH79_DEV_PB9X_PCI if PCI
188 + select ATH79_DEV_USB
190 +config ATH79_MACH_AW_NR580
191 + bool "AzureWave AW-NR580 board support"
193 + select ATH79_DEV_ETH
194 + select ATH79_DEV_GPIO_BUTTONS
195 + select ATH79_DEV_LEDS_GPIO
196 + select ATH79_DEV_M25P80
198 +config ATH79_MACH_WHR_HP_G300N
199 + bool "Buffalo WHR-HP-G300N board support"
201 + select ATH79_DEV_ETH
202 + select ATH79_DEV_AP9X_PCI if PCI
203 + select ATH79_DEV_GPIO_BUTTONS
204 + select ATH79_DEV_LEDS_GPIO
205 + select ATH79_DEV_M25P80
207 +config ATH79_MACH_WZR_HP_AG300H
208 + bool "Buffalo WZR-HP-AG300H board support"
210 + select ATH79_DEV_ETH
211 + select ATH79_DEV_GPIO_BUTTONS
212 + select ATH79_DEV_LEDS_GPIO
213 + select ATH79_DEV_M25P80
214 + select ATH79_DEV_USB
216 +config ATH79_MACH_WZR_HP_G300NH
217 + bool "Buffalo WZR-HP-G300NH board support"
219 + select ATH79_DEV_ETH
220 + select ATH79_DEV_GPIO_BUTTONS
221 + select ATH79_DEV_LEDS_GPIO
222 + select ATH79_DEV_USB
223 + select ATH79_DEV_WMAC
226 +config ATH79_MACH_WZR_HP_G300NH2
227 + bool "Buffalo WZR-HP-G300NH2 board support"
229 + select ATH79_DEV_AP9X_PCI if PCI
230 + select ATH79_DEV_ETH
231 + select ATH79_DEV_GPIO_BUTTONS
232 + select ATH79_DEV_LEDS_GPIO
233 + select ATH79_DEV_M25P80
234 + select ATH79_DEV_USB
236 +config ATH79_MACH_WZR_HP_G450H
237 + bool "Buffalo WZR-HP-G450H board support"
239 + select ATH79_DEV_ETH
240 + select ATH79_DEV_AP9X_PCI if PCI
241 + select ATH79_DEV_GPIO_BUTTONS
242 + select ATH79_DEV_LEDS_GPIO
243 + select ATH79_DEV_M25P80
244 + select ATH79_DEV_USB
246 +config ATH79_MACH_WP543
247 + bool "Compex WP543/WPJ543 board support"
249 + select ATH79_DEV_ETH
250 + select ATH79_DEV_GPIO_BUTTONS
251 + select ATH79_DEV_LEDS_GPIO
252 + select ATH79_DEV_M25P80
253 + select ATH79_DEV_USB
256 +config ATH79_MACH_DIR_600_A1
257 + bool "D-Link DIR-600 rev. A1 support"
259 + select ATH79_DEV_AP9X_PCI if PCI
260 + select ATH79_DEV_ETH
261 + select ATH79_DEV_GPIO_BUTTONS
262 + select ATH79_DEV_LEDS_GPIO
263 + select ATH79_DEV_M25P80
266 +config ATH79_MACH_DIR_615_C1
267 + bool "D-Link DIR-615 rev. C1 support"
269 + select ATH79_DEV_ETH
270 + select ATH79_DEV_GPIO_BUTTONS
271 + select ATH79_DEV_LEDS_GPIO
272 + select ATH79_DEV_M25P80
273 + select ATH79_DEV_WMAC
276 +config ATH79_MACH_DIR_825_B1
277 + bool "D-Link DIR-825 rev. B1 board support"
279 + select ATH79_DEV_ETH
280 + select ATH79_DEV_AP9X_PCI if PCI
281 + select ATH79_DEV_GPIO_BUTTONS
282 + select ATH79_DEV_LEDS_GPIO
283 + select ATH79_DEV_M25P80
284 + select ATH79_DEV_USB
286 +config ATH79_MACH_JA76PF
287 + bool "jjPlus JA76PF board support"
289 + select ATH79_DEV_ETH
290 + select ATH79_DEV_GPIO_BUTTONS
291 + select ATH79_DEV_LEDS_GPIO
292 + select ATH79_DEV_M25P80
293 + select ATH79_DEV_USB
295 +config ATH79_MACH_JWAP003
296 + bool "jjPlus JWAP003 board support"
298 + select ATH79_DEV_ETH
299 + select ATH79_DEV_GPIO_BUTTONS
300 + select ATH79_DEV_M25P80
301 + select ATH79_DEV_USB
303 +config ATH79_MACH_WRT160NL
304 + bool "Linksys WRT160NL board support"
306 + select ATH79_DEV_ETH
307 + select ATH79_DEV_GPIO_BUTTONS
308 + select ATH79_DEV_LEDS_GPIO
309 + select ATH79_DEV_M25P80
310 + select ATH79_DEV_USB
311 + select ATH79_DEV_WMAC
314 +config ATH79_MACH_WRT400N
315 + bool "Linksys WRT400N board support"
317 + select ATH79_DEV_ETH
318 + select ATH79_DEV_AP9X_PCI if PCI
319 + select ATH79_DEV_GPIO_BUTTONS
320 + select ATH79_DEV_LEDS_GPIO
322 +config ATH79_MACH_RB4XX
323 + bool "MikroTik RouterBOARD 4xx series support"
325 + select ATH79_DEV_ETH
326 + select ATH79_DEV_GPIO_BUTTONS
327 + select ATH79_DEV_LEDS_GPIO
328 + select ATH79_DEV_USB
330 +config ATH79_MACH_RB750
331 + bool "MikroTik RouterBOARD 750 support"
333 + select ATH79_DEV_ETH
335 +config ATH79_MACH_WNDR3700
336 + bool "NETGEAR WNDR3700 board support"
338 + select ATH79_DEV_AP9X_PCI if PCI
339 + select ATH79_DEV_ETH
340 + select ATH79_DEV_GPIO_BUTTONS
341 + select ATH79_DEV_LEDS_GPIO
342 + select ATH79_DEV_M25P80
343 + select ATH79_DEV_USB
345 +config ATH79_MACH_WNR2000
346 + bool "NETGEAR WNR2000 board support"
348 + select ATH79_DEV_ETH
349 + select ATH79_DEV_GPIO_BUTTONS
350 + select ATH79_DEV_LEDS_GPIO
351 + select ATH79_DEV_M25P80
352 + select ATH79_DEV_WMAC
354 +config ATH79_MACH_OM2P
355 + bool "OpenMesh OM2P board support"
357 + select ATH79_DEV_AP9X_PCI if PCI
358 + select ATH79_DEV_ETH
359 + select ATH79_DEV_GPIO_BUTTONS
360 + select ATH79_DEV_LEDS_GPIO
361 + select ATH79_DEV_M25P80
363 +config ATH79_MACH_MZK_W04NU
364 + bool "Planex MZK-W04NU board support"
366 + select ATH79_DEV_ETH
367 + select ATH79_DEV_GPIO_BUTTONS
368 + select ATH79_DEV_LEDS_GPIO
369 + select ATH79_DEV_M25P80
370 + select ATH79_DEV_USB
371 + select ATH79_DEV_WMAC
373 +config ATH79_MACH_MZK_W300NH
374 + bool "Planex MZK-W300NH board support"
376 + select ATH79_DEV_ETH
377 + select ATH79_DEV_GPIO_BUTTONS
378 + select ATH79_DEV_LEDS_GPIO
379 + select ATH79_DEV_M25P80
380 + select ATH79_DEV_WMAC
382 +config ATH79_MACH_RW2458N
383 + bool "Redwave RW2458N board support"
385 + select ATH79_DEV_ETH
386 + select ATH79_DEV_AP9X_PCI if PCI
387 + select ATH79_DEV_GPIO_BUTTONS
388 + select ATH79_DEV_LEDS_GPIO
389 + select ATH79_DEV_M25P80
390 + select ATH79_DEV_USB
392 +config ATH79_MACH_EAP7660D
393 + bool "Senao EAP7660D support"
395 + select ATH79_DEV_ETH
396 + select ATH79_DEV_GPIO_BUTTONS
397 + select ATH79_DEV_LEDS_GPIO
398 + select ATH79_DEV_M25P80
400 +config ATH79_MACH_TL_MR3020
401 + bool "TP-LINK TL-MR3020 support"
403 + select ATH79_DEV_ETH
404 + select ATH79_DEV_GPIO_BUTTONS
405 + select ATH79_DEV_LEDS_GPIO
406 + select ATH79_DEV_M25P80
407 + select ATH79_DEV_USB
408 + select ATH79_DEV_WMAC
410 +config ATH79_MACH_TL_MR3X20
411 + bool "TP-LINK TL-MR3220/3420 support"
413 + select ATH79_DEV_AP9X_PCI if PCI
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
420 +config ATH79_MACH_TL_WA901ND
421 + bool "TP-LINK TL-WA901ND support"
423 + select ATH79_DEV_AP9X_PCI if PCI
424 + select ATH79_DEV_ETH
425 + select ATH79_DEV_GPIO_BUTTONS
426 + select ATH79_DEV_LEDS_GPIO
427 + select ATH79_DEV_M25P80
429 +config ATH79_MACH_TL_WA901ND_V2
430 + bool "TP-LINK TL-WA901ND v2 support"
432 + select ATH79_DEV_ETH
433 + select ATH79_DEV_GPIO_BUTTONS
434 + select ATH79_DEV_LEDS_GPIO
435 + select ATH79_DEV_M25P80
436 + select ATH79_DEV_WMAC
438 +config ATH79_MACH_TL_WR703N
439 + bool "TP-LINK TL-WR703N support"
441 + select ATH79_DEV_ETH
442 + select ATH79_DEV_GPIO_BUTTONS
443 + select ATH79_DEV_LEDS_GPIO
444 + select ATH79_DEV_M25P80
445 + select ATH79_DEV_USB
446 + select ATH79_DEV_WMAC
448 +config ATH79_MACH_TL_WR741ND
449 + bool "TP-LINK TL-WR741ND support"
451 + select ATH79_DEV_AP9X_PCI if PCI
452 + select ATH79_DEV_ETH
453 + select ATH79_DEV_GPIO_BUTTONS
454 + select ATH79_DEV_LEDS_GPIO
455 + select ATH79_DEV_M25P80
457 +config ATH79_MACH_TL_WR741ND_V4
458 + bool "TP-LINK TL-WR741ND v4 support"
460 + select ATH79_DEV_ETH
461 + select ATH79_DEV_GPIO_BUTTONS
462 + select ATH79_DEV_LEDS_GPIO
463 + select ATH79_DEV_M25P80
464 + select ATH79_DEV_WMAC
466 +config ATH79_MACH_TL_WR841N_V1
467 + bool "TP-LINK TL-WR841N v1 support"
469 + select ATH79_DEV_DSA
470 + select ATH79_DEV_ETH
471 + select ATH79_DEV_GPIO_BUTTONS
472 + select ATH79_DEV_LEDS_GPIO
473 + select ATH79_DEV_M25P80
475 +config ATH79_MACH_TL_WR941ND
476 + bool "TP-LINK TL-WR941ND support"
478 + select ATH79_DEV_DSA
479 + select ATH79_DEV_ETH
480 + select ATH79_DEV_GPIO_BUTTONS
481 + select ATH79_DEV_LEDS_GPIO
482 + select ATH79_DEV_M25P80
483 + select ATH79_DEV_WMAC
485 +config ATH79_MACH_TL_WR1043ND
486 + bool "TP-LINK TL-WR1043ND support"
488 + select ATH79_DEV_ETH
489 + select ATH79_DEV_GPIO_BUTTONS
490 + select ATH79_DEV_LEDS_GPIO
491 + select ATH79_DEV_M25P80
492 + select ATH79_DEV_USB
493 + select ATH79_DEV_WMAC
495 +config ATH79_MACH_TL_WR2543N
496 + bool "TP-LINK TL-WR2543N/ND support"
498 + select ATH79_DEV_AP9X_PCI if PCI
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
505 +config ATH79_MACH_TEW_632BRP
506 + bool "TRENDnet TEW-632BRP support"
508 + select ATH79_DEV_ETH
509 + select ATH79_DEV_GPIO_BUTTONS
510 + select ATH79_DEV_LEDS_GPIO
511 + select ATH79_DEV_M25P80
512 + select ATH79_DEV_WMAC
515 +config ATH79_MACH_UBNT
516 + bool "Ubiquiti AR71xx based boards support"
518 + select ATH79_DEV_ETH
519 + select ATH79_DEV_GPIO_BUTTONS
520 + select ATH79_DEV_LEDS_GPIO
521 + select ATH79_DEV_M25P80
522 + select ATH79_DEV_USB
524 config ATH79_MACH_UBNT_XM
525 bool "Ubiquiti Networks XM (rev 1.0) board"
527 @@ -67,6 +483,24 @@ config ATH79_MACH_UBNT_XM
528 Say 'Y' here if you want your kernel to support the
529 Ubiquiti Networks XM (rev 1.0) board.
531 +config ATH79_MACH_ZCN_1523H
532 + bool "Zcomax ZCN-1523H support"
534 + select ATH79_DEV_AP9X_PCI if PCI
535 + select ATH79_DEV_ETH
536 + select ATH79_DEV_GPIO_BUTTONS
537 + select ATH79_DEV_LEDS_GPIO
538 + select ATH79_DEV_M25P80
540 +config ATH79_MACH_NBG460N
541 + bool "Zyxel NBG460N/550N/550NH board support"
543 + select ATH79_DEV_ETH
544 + select ATH79_DEV_GPIO_BUTTONS
545 + select ATH79_DEV_LEDS_GPIO
546 + select ATH79_DEV_M25P80
547 + select ATH79_DEV_WMAC
552 @@ -96,10 +530,6 @@ config SOC_AR934X
553 select PCI_AR724X if PCI
556 -config ATH79_DEV_M25P80
557 - select ATH79_DEV_SPI
560 config ATH79_DEV_AP9X_PCI
561 select ATH79_PCI_ATH9K_FIXUP
563 @@ -110,7 +540,14 @@ config ATH79_DEV_DSA
568 +config ATH79_DEV_M25P80
569 + select ATH79_DEV_SPI
572 +config ATH79_DEV_DSA
575 +config ATH79_DEV_ETH
578 config ATH79_DEV_GPIO_BUTTONS
579 @@ -135,4 +572,7 @@ config ATH79_NVRAM
580 config ATH79_PCI_ATH9K_FIXUP
587 --- a/arch/mips/ath79/Makefile
588 +++ b/arch/mips/ath79/Makefile
589 @@ -36,8 +36,53 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += p
593 +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
594 +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
595 +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
596 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
597 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
598 +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
599 +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
600 +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
601 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
602 +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
603 +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
604 +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
605 +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
606 +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
607 +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
608 +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
609 +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
610 +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
611 +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
612 +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
613 +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
614 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
615 +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
616 +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
617 +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
618 +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
619 +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
620 +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
621 +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
622 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
623 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
624 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
625 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
626 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
627 +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
628 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
629 +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
630 +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
631 +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
632 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
633 +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
634 +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
635 +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
636 +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
637 +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
638 +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
639 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
640 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
641 +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
642 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o