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_AP113, /* Atheros AP113 reference board */
11 ATH79_MACH_AP121, /* Atheros AP121 reference board */
12 ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */
13 ATH79_MACH_AP81, /* Atheros AP81 reference board */
14 + ATH79_MACH_AP83, /* Atheros AP83 */
15 + ATH79_MACH_AP96, /* Atheros AP96 */
16 + ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
17 ATH79_MACH_DB120, /* Atheros DB120 reference board */
18 ATH79_MACH_PB44, /* Atheros PB44 reference board */
19 + ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
20 + ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
21 + ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
22 + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
23 + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
24 + ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
25 + ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
26 + ATH79_MACH_MZK_W04NU, /* Planex MZK-W04NU */
27 + ATH79_MACH_MZK_W300NH, /* Planex MZK-W300NH */
28 + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
29 + ATH79_MACH_OM2P, /* OpenMesh OM2P */
30 + ATH79_MACH_PB42, /* Atheros PB42 */
31 + ATH79_MACH_PB92, /* Atheros PB92 */
32 + ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
33 + ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
34 + ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
35 + ATH79_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
36 + ATH79_MACH_RB_450G, /* MikroTik RouterBOARD 450G */
37 + ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
38 + ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
39 + ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
40 + ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
41 + ATH79_MACH_RW2458N, /* Redwave RW2458N */
42 + ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
43 + ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
44 + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
45 + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
46 + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
47 + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
48 + ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1041ND */
49 + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
50 + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
51 + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
52 + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
53 + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
54 + ATH79_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
55 + ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
56 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
57 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
58 + ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
59 + ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */
60 ATH79_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
61 ATH79_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
62 + ATH79_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
63 + ATH79_MACH_UBNT_RS, /* Ubiquiti RouterStation */
64 ATH79_MACH_UBNT_UNIFI, /* Ubiquiti Unifi */
65 ATH79_MACH_UBNT_XM, /* Ubiquiti Networks XM board rev 1.0 */
66 + ATH79_MACH_WHR_G301N, /* Buffalo WHR-G301N */
67 + ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
68 + ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
69 + ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
70 + ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
71 + ATH79_MACH_WP543, /* Compex WP543 */
72 + ATH79_MACH_WPE72, /* Compex WPE72 */
73 + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */
74 + ATH79_MACH_WRT400N, /* Linksys WRT400N */
75 + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
76 + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
77 + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
78 + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
79 + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
82 #endif /* _ATH79_MACHTYPE_H */
83 --- a/arch/mips/ath79/Kconfig
84 +++ b/arch/mips/ath79/Kconfig
85 @@ -2,6 +2,52 @@ if ATH79
87 menu "Atheros AR71XX/AR724X/AR913X machine selection"
89 +config ATH79_MACH_ALFA_AP96
90 + bool "ALFA Network AP96 board support"
92 + select ATH79_DEV_ETH
93 + select ATH79_DEV_GPIO_BUTTONS
94 + select ATH79_DEV_SPI
95 + select ATH79_DEV_USB
97 +config ATH79_MACH_HORNET_UB
98 + bool "ALFA Network Hornet-UB board support"
100 + select ATH79_DEV_ETH
101 + select ATH79_DEV_GPIO_BUTTONS
102 + select ATH79_DEV_LEDS_GPIO
103 + select ATH79_DEV_M25P80
104 + select ATH79_DEV_USB
105 + select ATH79_DEV_WMAC
107 +config ATH79_MACH_ALFA_NX
108 + bool "ALFA Network N2/N5 board support"
110 + select ATH79_DEV_AP9X_PCI if PCI
111 + select ATH79_DEV_ETH
112 + select ATH79_DEV_GPIO_BUTTONS
113 + select ATH79_DEV_LEDS_GPIO
114 + select ATH79_DEV_M25P80
116 +config ATH79_MACH_ALL0258N
117 + bool "Allnet ALL0258N support"
119 + select ATH79_DEV_AP9X_PCI if PCI
120 + select ATH79_DEV_ETH
121 + select ATH79_DEV_GPIO_BUTTONS
122 + select ATH79_DEV_LEDS_GPIO
123 + select ATH79_DEV_M25P80
125 +config ATH79_MACH_AP113
126 + bool "Atheros AP113 board support"
128 + select ATH79_DEV_M25P80
129 + select ATH79_DEV_PB9X_PCI if PCI
130 + select ATH79_DEV_GPIO_BUTTONS
131 + select ATH79_DEV_LEDS_GPIO
132 + select ATH79_DEV_USB
133 + select ATH79_DEV_ETH
135 config ATH79_MACH_AP121
136 bool "Atheros AP121 reference board"
138 @@ -28,6 +74,36 @@ config ATH79_MACH_AP81
139 Say 'Y' here if you want your kernel to support the
140 Atheros AP81 reference board.
142 +config ATH79_MACH_AP83
143 + bool "Atheros AP83 board support"
145 + select ATH79_DEV_GPIO_BUTTONS
146 + select ATH79_DEV_LEDS_GPIO
147 + select ATH79_DEV_USB
148 + select ATH79_DEV_WMAC
150 +config ATH79_MACH_AP96
151 + bool "Atheros AP96 board support"
153 + select ATH79_DEV_ETH
154 + select ATH79_DEV_AP9X_PCI if PCI
155 + select ATH79_DEV_GPIO_BUTTONS
156 + select ATH79_DEV_LEDS_GPIO
157 + select ATH79_DEV_M25P80
158 + select ATH79_DEV_USB
160 +config ATH79_MACH_AP121
161 + bool "Atheros AP121 reference board"
163 + select ATH79_DEV_GPIO_BUTTONS
164 + select ATH79_DEV_LEDS_GPIO
165 + select ATH79_DEV_SPI
166 + select ATH79_DEV_USB
167 + select ATH79_DEV_WMAC
169 + Say 'Y' here if you want your kernel to support the
170 + Atheros AP121 reference board.
172 config ATH79_MACH_DB120
173 bool "Atheros DB120 reference board"
175 @@ -42,6 +118,13 @@ config ATH79_MACH_DB120
176 Say 'Y' here if you want your kernel to support the
177 Atheros DB120 reference board.
179 +config ATH79_MACH_PB42
180 + bool "Atheros PB42 board support"
182 + select ATH79_DEV_ETH
183 + select ATH79_DEV_GPIO_BUTTONS
184 + select ATH79_DEV_M25P80
186 config ATH79_MACH_PB44
187 bool "Atheros PB44 reference board"
189 @@ -54,6 +137,359 @@ config ATH79_MACH_PB44
190 Say 'Y' here if you want your kernel to support the
191 Atheros PB44 reference board.
193 +config ATH79_MACH_PB92
194 + bool "Atheros PB92 board support"
196 + select ATH79_DEV_ETH
197 + select ATH79_DEV_GPIO_BUTTONS
198 + select ATH79_DEV_LEDS_GPIO
199 + select ATH79_DEV_PB9X_PCI if PCI
200 + select ATH79_DEV_USB
202 +config ATH79_MACH_AW_NR580
203 + bool "AzureWave AW-NR580 board support"
205 + select ATH79_DEV_ETH
206 + select ATH79_DEV_GPIO_BUTTONS
207 + select ATH79_DEV_LEDS_GPIO
208 + select ATH79_DEV_M25P80
210 +config ATH79_MACH_WHR_HP_G300N
211 + bool "Buffalo WHR-HP-G300N board support"
213 + select ATH79_DEV_ETH
214 + select ATH79_DEV_AP9X_PCI if PCI
215 + select ATH79_DEV_GPIO_BUTTONS
216 + select ATH79_DEV_LEDS_GPIO
217 + select ATH79_DEV_M25P80
219 +config ATH79_MACH_WZR_HP_AG300H
220 + bool "Buffalo WZR-HP-AG300H board support"
222 + select ATH79_DEV_ETH
223 + select ATH79_DEV_GPIO_BUTTONS
224 + select ATH79_DEV_LEDS_GPIO
225 + select ATH79_DEV_M25P80
226 + select ATH79_DEV_USB
228 +config ATH79_MACH_WZR_HP_G300NH
229 + bool "Buffalo WZR-HP-G300NH board support"
231 + select ATH79_DEV_ETH
232 + select ATH79_DEV_GPIO_BUTTONS
233 + select ATH79_DEV_LEDS_GPIO
234 + select ATH79_DEV_USB
235 + select ATH79_DEV_WMAC
238 +config ATH79_MACH_WZR_HP_G300NH2
239 + bool "Buffalo WZR-HP-G300NH2 board support"
241 + select ATH79_DEV_AP9X_PCI if PCI
242 + select ATH79_DEV_ETH
243 + select ATH79_DEV_GPIO_BUTTONS
244 + select ATH79_DEV_LEDS_GPIO
245 + select ATH79_DEV_M25P80
246 + select ATH79_DEV_USB
248 +config ATH79_MACH_WZR_HP_G450H
249 + bool "Buffalo WZR-HP-G450H board support"
251 + select ATH79_DEV_ETH
252 + select ATH79_DEV_AP9X_PCI if PCI
253 + select ATH79_DEV_GPIO_BUTTONS
254 + select ATH79_DEV_LEDS_GPIO
255 + select ATH79_DEV_M25P80
256 + select ATH79_DEV_USB
258 +config ATH79_MACH_WP543
259 + bool "Compex WP543/WPJ543 board support"
261 + select ATH79_DEV_ETH
262 + select ATH79_DEV_GPIO_BUTTONS
263 + select ATH79_DEV_LEDS_GPIO
264 + select ATH79_DEV_M25P80
265 + select ATH79_DEV_USB
268 +config ATH79_MACH_WPE72
269 + bool "Compex WPE72/WPE72NX board support"
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_DEV_USB
278 +config ATH79_MACH_DIR_600_A1
279 + bool "D-Link DIR-600 rev. A1 support"
281 + select ATH79_DEV_AP9X_PCI if PCI
282 + select ATH79_DEV_ETH
283 + select ATH79_DEV_GPIO_BUTTONS
284 + select ATH79_DEV_LEDS_GPIO
285 + select ATH79_DEV_M25P80
288 +config ATH79_MACH_DIR_615_C1
289 + bool "D-Link DIR-615 rev. C1 support"
291 + select ATH79_DEV_ETH
292 + select ATH79_DEV_GPIO_BUTTONS
293 + select ATH79_DEV_LEDS_GPIO
294 + select ATH79_DEV_M25P80
295 + select ATH79_DEV_WMAC
298 +config ATH79_MACH_DIR_825_B1
299 + bool "D-Link DIR-825 rev. B1 board support"
301 + select ATH79_DEV_ETH
302 + select ATH79_DEV_AP9X_PCI if PCI
303 + select ATH79_DEV_GPIO_BUTTONS
304 + select ATH79_DEV_LEDS_GPIO
305 + select ATH79_DEV_M25P80
306 + select ATH79_DEV_USB
308 +config ATH79_MACH_JA76PF
309 + bool "jjPlus JA76PF board support"
311 + select ATH79_DEV_ETH
312 + select ATH79_DEV_GPIO_BUTTONS
313 + select ATH79_DEV_LEDS_GPIO
314 + select ATH79_DEV_M25P80
315 + select ATH79_DEV_USB
317 +config ATH79_MACH_JWAP003
318 + bool "jjPlus JWAP003 board support"
320 + select ATH79_DEV_ETH
321 + select ATH79_DEV_GPIO_BUTTONS
322 + select ATH79_DEV_M25P80
323 + select ATH79_DEV_USB
325 +config ATH79_MACH_WRT160NL
326 + bool "Linksys WRT160NL board support"
328 + select ATH79_DEV_ETH
329 + select ATH79_DEV_GPIO_BUTTONS
330 + select ATH79_DEV_LEDS_GPIO
331 + select ATH79_DEV_M25P80
332 + select ATH79_DEV_USB
333 + select ATH79_DEV_WMAC
336 +config ATH79_MACH_WRT400N
337 + bool "Linksys WRT400N board support"
339 + select ATH79_DEV_ETH
340 + select ATH79_DEV_AP9X_PCI if PCI
341 + select ATH79_DEV_GPIO_BUTTONS
342 + select ATH79_DEV_LEDS_GPIO
344 +config ATH79_MACH_RB4XX
345 + bool "MikroTik RouterBOARD 4xx series support"
347 + select ATH79_DEV_ETH
348 + select ATH79_DEV_GPIO_BUTTONS
349 + select ATH79_DEV_LEDS_GPIO
350 + select ATH79_DEV_USB
352 +config ATH79_MACH_RB750
353 + bool "MikroTik RouterBOARD 750 support"
355 + select ATH79_DEV_ETH
357 +config ATH79_MACH_WNDR3700
358 + bool "NETGEAR WNDR3700 board support"
360 + select ATH79_DEV_AP9X_PCI if PCI
361 + select ATH79_DEV_ETH
362 + select ATH79_DEV_GPIO_BUTTONS
363 + select ATH79_DEV_LEDS_GPIO
364 + select ATH79_DEV_M25P80
365 + select ATH79_DEV_USB
367 +config ATH79_MACH_WNR2000
368 + bool "NETGEAR WNR2000 board support"
370 + select ATH79_DEV_ETH
371 + select ATH79_DEV_GPIO_BUTTONS
372 + select ATH79_DEV_LEDS_GPIO
373 + select ATH79_DEV_M25P80
374 + select ATH79_DEV_WMAC
376 +config ATH79_MACH_OM2P
377 + bool "OpenMesh OM2P board support"
379 + select ATH79_DEV_AP9X_PCI if PCI
380 + select ATH79_DEV_ETH
381 + select ATH79_DEV_GPIO_BUTTONS
382 + select ATH79_DEV_LEDS_GPIO
383 + select ATH79_DEV_M25P80
385 +config ATH79_MACH_MZK_W04NU
386 + bool "Planex MZK-W04NU board support"
388 + select ATH79_DEV_ETH
389 + select ATH79_DEV_GPIO_BUTTONS
390 + select ATH79_DEV_LEDS_GPIO
391 + select ATH79_DEV_M25P80
392 + select ATH79_DEV_USB
393 + select ATH79_DEV_WMAC
395 +config ATH79_MACH_MZK_W300NH
396 + bool "Planex MZK-W300NH board support"
398 + select ATH79_DEV_ETH
399 + select ATH79_DEV_GPIO_BUTTONS
400 + select ATH79_DEV_LEDS_GPIO
401 + select ATH79_DEV_M25P80
402 + select ATH79_DEV_WMAC
404 +config ATH79_MACH_RW2458N
405 + bool "Redwave RW2458N board support"
407 + select ATH79_DEV_ETH
408 + select ATH79_DEV_AP9X_PCI if PCI
409 + select ATH79_DEV_GPIO_BUTTONS
410 + select ATH79_DEV_LEDS_GPIO
411 + select ATH79_DEV_M25P80
412 + select ATH79_DEV_USB
414 +config ATH79_MACH_EAP7660D
415 + bool "Senao EAP7660D support"
417 + select ATH79_DEV_ETH
418 + select ATH79_DEV_GPIO_BUTTONS
419 + select ATH79_DEV_LEDS_GPIO
420 + select ATH79_DEV_M25P80
422 +config ATH79_MACH_TL_MR3020
423 + bool "TP-LINK TL-MR3020 support"
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 + select ATH79_DEV_WMAC
432 +config ATH79_MACH_TL_MR3X20
433 + bool "TP-LINK TL-MR3220/3420 support"
435 + select ATH79_DEV_AP9X_PCI if PCI
436 + select ATH79_DEV_ETH
437 + select ATH79_DEV_GPIO_BUTTONS
438 + select ATH79_DEV_LEDS_GPIO
439 + select ATH79_DEV_M25P80
440 + select ATH79_DEV_USB
442 +config ATH79_MACH_TL_WA901ND
443 + bool "TP-LINK TL-WA901ND support"
445 + select ATH79_DEV_AP9X_PCI if PCI
446 + select ATH79_DEV_ETH
447 + select ATH79_DEV_GPIO_BUTTONS
448 + select ATH79_DEV_LEDS_GPIO
449 + select ATH79_DEV_M25P80
451 +config ATH79_MACH_TL_WA901ND_V2
452 + bool "TP-LINK TL-WA901ND v2 support"
454 + select ATH79_DEV_ETH
455 + select ATH79_DEV_GPIO_BUTTONS
456 + select ATH79_DEV_LEDS_GPIO
457 + select ATH79_DEV_M25P80
458 + select ATH79_DEV_WMAC
460 +config ATH79_MACH_TL_WR703N
461 + bool "TP-LINK TL-WR703N support"
463 + select ATH79_DEV_ETH
464 + select ATH79_DEV_GPIO_BUTTONS
465 + select ATH79_DEV_LEDS_GPIO
466 + select ATH79_DEV_M25P80
467 + select ATH79_DEV_USB
468 + select ATH79_DEV_WMAC
470 +config ATH79_MACH_TL_WR741ND
471 + bool "TP-LINK TL-WR741ND support"
473 + select ATH79_DEV_AP9X_PCI if PCI
474 + select ATH79_DEV_ETH
475 + select ATH79_DEV_GPIO_BUTTONS
476 + select ATH79_DEV_LEDS_GPIO
477 + select ATH79_DEV_M25P80
479 +config ATH79_MACH_TL_WR741ND_V4
480 + bool "TP-LINK TL-WR741ND v4 support"
482 + select ATH79_DEV_ETH
483 + select ATH79_DEV_GPIO_BUTTONS
484 + select ATH79_DEV_LEDS_GPIO
485 + select ATH79_DEV_M25P80
486 + select ATH79_DEV_WMAC
488 +config ATH79_MACH_TL_WR841N_V1
489 + bool "TP-LINK TL-WR841N v1 support"
491 + select ATH79_DEV_DSA
492 + select ATH79_DEV_ETH
493 + select ATH79_DEV_GPIO_BUTTONS
494 + select ATH79_DEV_LEDS_GPIO
495 + select ATH79_DEV_M25P80
497 +config ATH79_MACH_TL_WR941ND
498 + bool "TP-LINK TL-WR941ND support"
500 + select ATH79_DEV_DSA
501 + select ATH79_DEV_ETH
502 + select ATH79_DEV_GPIO_BUTTONS
503 + select ATH79_DEV_LEDS_GPIO
504 + select ATH79_DEV_M25P80
505 + select ATH79_DEV_WMAC
507 +config ATH79_MACH_TL_WR1043ND
508 + bool "TP-LINK TL-WR1043ND support"
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 + select ATH79_DEV_WMAC
517 +config ATH79_MACH_TL_WR2543N
518 + bool "TP-LINK TL-WR2543N/ND support"
520 + select ATH79_DEV_AP9X_PCI if PCI
521 + select ATH79_DEV_ETH
522 + select ATH79_DEV_GPIO_BUTTONS
523 + select ATH79_DEV_LEDS_GPIO
524 + select ATH79_DEV_M25P80
525 + select ATH79_DEV_USB
527 +config ATH79_MACH_TEW_632BRP
528 + bool "TRENDnet TEW-632BRP support"
530 + select ATH79_DEV_ETH
531 + select ATH79_DEV_GPIO_BUTTONS
532 + select ATH79_DEV_LEDS_GPIO
533 + select ATH79_DEV_M25P80
534 + select ATH79_DEV_WMAC
537 +config ATH79_MACH_UBNT
538 + bool "Ubiquiti AR71xx based boards support"
540 + select ATH79_DEV_ETH
541 + select ATH79_DEV_GPIO_BUTTONS
542 + select ATH79_DEV_LEDS_GPIO
543 + select ATH79_DEV_M25P80
544 + select ATH79_DEV_USB
546 config ATH79_MACH_UBNT_XM
547 bool "Ubiquiti Networks XM (rev 1.0) board"
549 @@ -67,6 +503,24 @@ config ATH79_MACH_UBNT_XM
550 Say 'Y' here if you want your kernel to support the
551 Ubiquiti Networks XM (rev 1.0) board.
553 +config ATH79_MACH_ZCN_1523H
554 + bool "Zcomax ZCN-1523H support"
556 + select ATH79_DEV_AP9X_PCI if PCI
557 + select ATH79_DEV_ETH
558 + select ATH79_DEV_GPIO_BUTTONS
559 + select ATH79_DEV_LEDS_GPIO
560 + select ATH79_DEV_M25P80
562 +config ATH79_MACH_NBG460N
563 + bool "Zyxel NBG460N/550N/550NH board support"
565 + select ATH79_DEV_ETH
566 + select ATH79_DEV_GPIO_BUTTONS
567 + select ATH79_DEV_LEDS_GPIO
568 + select ATH79_DEV_M25P80
569 + select ATH79_DEV_WMAC
574 @@ -96,10 +550,6 @@ config SOC_AR934X
575 select PCI_AR724X if PCI
578 -config ATH79_DEV_M25P80
579 - select ATH79_DEV_SPI
582 config ATH79_DEV_AP9X_PCI
583 select ATH79_PCI_ATH9K_FIXUP
585 @@ -110,7 +560,14 @@ config ATH79_DEV_DSA
590 +config ATH79_DEV_M25P80
591 + select ATH79_DEV_SPI
594 +config ATH79_DEV_DSA
597 +config ATH79_DEV_ETH
600 config ATH79_DEV_GPIO_BUTTONS
601 @@ -135,4 +592,7 @@ config ATH79_NVRAM
602 config ATH79_PCI_ATH9K_FIXUP
609 --- a/arch/mips/ath79/Makefile
610 +++ b/arch/mips/ath79/Makefile
611 @@ -36,8 +36,55 @@ obj-$(CONFIG_ATH79_PCI_ATH9K_FIXUP) += p
615 +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
616 +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
617 +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
618 +obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
619 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
620 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
621 +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
622 +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
623 +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
624 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
625 +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
626 +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
627 +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
628 +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
629 +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
630 +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
631 +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
632 +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
633 +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
634 +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
635 +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
636 +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
637 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
638 +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
639 +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
640 +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
641 +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
642 +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
643 +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
644 +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
645 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
646 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
647 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
648 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
649 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
650 +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
651 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
652 +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
653 +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
654 +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
655 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
656 +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
657 +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
658 +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
659 +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
660 +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
661 +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
662 +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
663 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
664 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
665 +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
666 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o