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_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 */
81 #endif /* _ATH79_MACHTYPE_H */
82 --- a/arch/mips/ath79/Kconfig
83 +++ b/arch/mips/ath79/Kconfig
84 @@ -2,6 +2,42 @@ if ATH79
86 menu "Atheros AR71XX/AR724X/AR913X machine selection"
88 +config ATH79_MACH_ALFA_AP96
89 + bool "ALFA Network AP96 board support"
91 + select ATH79_DEV_ETH
92 + select ATH79_DEV_GPIO_BUTTONS
93 + select ATH79_DEV_SPI
94 + select ATH79_DEV_USB
96 +config ATH79_MACH_HORNET_UB
97 + bool "ALFA Network Hornet-UB board support"
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
106 +config ATH79_MACH_ALFA_NX
107 + bool "ALFA Network N2/N5 board support"
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
115 +config ATH79_MACH_ALL0258N
116 + bool "Allnet ALL0258N support"
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
124 config ATH79_MACH_AP121
125 bool "Atheros AP121 reference board"
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.
131 +config ATH79_MACH_AP83
132 + bool "Atheros AP83 board support"
134 + select ATH79_DEV_GPIO_BUTTONS
135 + select ATH79_DEV_LEDS_GPIO
136 + select ATH79_DEV_USB
137 + select ATH79_DEV_WMAC
139 +config ATH79_MACH_AP96
140 + bool "Atheros AP96 board support"
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
149 +config ATH79_MACH_AP121
150 + bool "Atheros AP121 reference board"
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
158 + Say 'Y' here if you want your kernel to support the
159 + Atheros AP121 reference board.
161 config ATH79_MACH_DB120
162 bool "Atheros DB120 reference board"
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.
168 +config ATH79_MACH_PB42
169 + bool "Atheros PB42 board support"
171 + select ATH79_DEV_ETH
172 + select ATH79_DEV_GPIO_BUTTONS
173 + select ATH79_DEV_M25P80
175 config ATH79_MACH_PB44
176 bool "Atheros PB44 reference board"
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.
182 +config ATH79_MACH_PB92
183 + bool "Atheros PB92 board support"
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
191 +config ATH79_MACH_AW_NR580
192 + bool "AzureWave AW-NR580 board support"
194 + select ATH79_DEV_ETH
195 + select ATH79_DEV_GPIO_BUTTONS
196 + select ATH79_DEV_LEDS_GPIO
197 + select ATH79_DEV_M25P80
199 +config ATH79_MACH_WHR_HP_G300N
200 + bool "Buffalo WHR-HP-G300N board support"
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
208 +config ATH79_MACH_WZR_HP_AG300H
209 + bool "Buffalo WZR-HP-AG300H board support"
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
217 +config ATH79_MACH_WZR_HP_G300NH
218 + bool "Buffalo WZR-HP-G300NH board support"
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
227 +config ATH79_MACH_WZR_HP_G300NH2
228 + bool "Buffalo WZR-HP-G300NH2 board support"
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
237 +config ATH79_MACH_WZR_HP_G450H
238 + bool "Buffalo WZR-HP-G450H board support"
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
247 +config ATH79_MACH_WP543
248 + bool "Compex WP543/WPJ543 board support"
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
257 +config ATH79_MACH_WPE72
258 + bool "Compex WPE72/WPE72NX board support"
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
267 +config ATH79_MACH_DIR_600_A1
268 + bool "D-Link DIR-600 rev. A1 support"
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
277 +config ATH79_MACH_DIR_615_C1
278 + bool "D-Link DIR-615 rev. C1 support"
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
287 +config ATH79_MACH_DIR_825_B1
288 + bool "D-Link DIR-825 rev. B1 board support"
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
297 +config ATH79_MACH_JA76PF
298 + bool "jjPlus JA76PF board support"
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
306 +config ATH79_MACH_JWAP003
307 + bool "jjPlus JWAP003 board support"
309 + select ATH79_DEV_ETH
310 + select ATH79_DEV_GPIO_BUTTONS
311 + select ATH79_DEV_M25P80
312 + select ATH79_DEV_USB
314 +config ATH79_MACH_WRT160NL
315 + bool "Linksys WRT160NL board support"
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
325 +config ATH79_MACH_WRT400N
326 + bool "Linksys WRT400N board support"
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
333 +config ATH79_MACH_RB4XX
334 + bool "MikroTik RouterBOARD 4xx series support"
336 + select ATH79_DEV_ETH
337 + select ATH79_DEV_GPIO_BUTTONS
338 + select ATH79_DEV_LEDS_GPIO
339 + select ATH79_DEV_USB
341 +config ATH79_MACH_RB750
342 + bool "MikroTik RouterBOARD 750 support"
344 + select ATH79_DEV_ETH
346 +config ATH79_MACH_WNDR3700
347 + bool "NETGEAR WNDR3700 board support"
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
356 +config ATH79_MACH_WNR2000
357 + bool "NETGEAR WNR2000 board support"
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
365 +config ATH79_MACH_OM2P
366 + bool "OpenMesh OM2P board support"
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
374 +config ATH79_MACH_MZK_W04NU
375 + bool "Planex MZK-W04NU board support"
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
384 +config ATH79_MACH_MZK_W300NH
385 + bool "Planex MZK-W300NH board support"
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
393 +config ATH79_MACH_RW2458N
394 + bool "Redwave RW2458N board support"
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
403 +config ATH79_MACH_EAP7660D
404 + bool "Senao EAP7660D support"
406 + select ATH79_DEV_ETH
407 + select ATH79_DEV_GPIO_BUTTONS
408 + select ATH79_DEV_LEDS_GPIO
409 + select ATH79_DEV_M25P80
411 +config ATH79_MACH_TL_MR3020
412 + bool "TP-LINK TL-MR3020 support"
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
421 +config ATH79_MACH_TL_MR3X20
422 + bool "TP-LINK TL-MR3220/3420 support"
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
431 +config ATH79_MACH_TL_WA901ND
432 + bool "TP-LINK TL-WA901ND support"
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
440 +config ATH79_MACH_TL_WA901ND_V2
441 + bool "TP-LINK TL-WA901ND v2 support"
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
449 +config ATH79_MACH_TL_WR703N
450 + bool "TP-LINK TL-WR703N support"
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
459 +config ATH79_MACH_TL_WR741ND
460 + bool "TP-LINK TL-WR741ND support"
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
468 +config ATH79_MACH_TL_WR741ND_V4
469 + bool "TP-LINK TL-WR741ND v4 support"
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
477 +config ATH79_MACH_TL_WR841N_V1
478 + bool "TP-LINK TL-WR841N v1 support"
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
486 +config ATH79_MACH_TL_WR941ND
487 + bool "TP-LINK TL-WR941ND support"
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
496 +config ATH79_MACH_TL_WR1043ND
497 + bool "TP-LINK TL-WR1043ND support"
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
506 +config ATH79_MACH_TL_WR2543N
507 + bool "TP-LINK TL-WR2543N/ND support"
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
516 +config ATH79_MACH_TEW_632BRP
517 + bool "TRENDnet TEW-632BRP support"
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
526 +config ATH79_MACH_UBNT
527 + bool "Ubiquiti AR71xx based boards support"
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
535 config ATH79_MACH_UBNT_XM
536 bool "Ubiquiti Networks XM (rev 1.0) board"
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.
542 +config ATH79_MACH_ZCN_1523H
543 + bool "Zcomax ZCN-1523H support"
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
551 +config ATH79_MACH_NBG460N
552 + bool "Zyxel NBG460N/550N/550NH board support"
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
563 @@ -96,10 +530,6 @@ config SOC_AR934X
564 select PCI_AR724X if PCI
567 -config ATH79_DEV_M25P80
568 - select ATH79_DEV_SPI
571 config ATH79_DEV_AP9X_PCI
572 select ATH79_PCI_ATH9K_FIXUP
574 @@ -110,7 +540,14 @@ config ATH79_DEV_DSA
579 +config ATH79_DEV_M25P80
580 + select ATH79_DEV_SPI
583 +config ATH79_DEV_DSA
586 +config ATH79_DEV_ETH
589 config ATH79_DEV_GPIO_BUTTONS
590 @@ -135,4 +572,7 @@ config ATH79_NVRAM
591 config ATH79_PCI_ATH9K_FIXUP
598 --- a/arch/mips/ath79/Makefile
599 +++ b/arch/mips/ath79/Makefile
600 @@ -36,8 +36,54 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += p
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