ar71xx: add linux 3.10
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.10 / 610-MIPS-ath79-openwrt-machines.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -16,22 +16,124 @@
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_ALL0305, /* Allnet ALL0305 */
11 + ATH79_MACH_ALL0315N, /* Allnet ALL0315N */
12 + ATH79_MACH_AP113, /* Atheros AP113 reference board */
13 ATH79_MACH_AP121, /* Atheros AP121 reference board */
14 ATH79_MACH_AP121_MINI, /* Atheros AP121-MINI reference board */
15 + ATH79_MACH_AP132, /* Atheros AP132 reference board */
16 ATH79_MACH_AP135_020, /* Atheros AP135-020 reference board */
17 ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */
18 ATH79_MACH_AP136_020, /* Atheros AP136-020 reference board */
19 ATH79_MACH_AP81, /* Atheros AP81 reference board */
20 + ATH79_MACH_AP83, /* Atheros AP83 */
21 + ATH79_MACH_AP96, /* Atheros AP96 */
22 + ATH79_MACH_ARCHER_C7, /* TP-LINK Archer C7 board */
23 + ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
24 + ATH79_MACH_CAP4200AG, /* Senao CAP4200AG */
25 ATH79_MACH_DB120, /* Atheros DB120 reference board */
26 ATH79_MACH_PB44, /* Atheros PB44 reference board */
27 + ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
28 + ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
29 + ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
30 + ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
31 + ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
32 + ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
33 + ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
34 + ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
35 + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
36 + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
37 + ATH79_MACH_JA76PF2, /* jjPlus JA76PF2 */
38 + ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
39 + ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
40 + ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
41 + ATH79_MACH_MR600, /* OpenMesh MR600 */
42 + ATH79_MACH_MZK_W04NU, /* Planex MZK-W04NU */
43 + ATH79_MACH_MZK_W300NH, /* Planex MZK-W300NH */
44 + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
45 + ATH79_MACH_OM2P_HS, /* OpenMesh OM2P-HS */
46 + ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
47 + ATH79_MACH_OM2P, /* OpenMesh OM2P */
48 + ATH79_MACH_PB42, /* Atheros PB42 */
49 + ATH79_MACH_PB92, /* Atheros PB92 */
50 + ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
51 + ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
52 + ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
53 + ATH79_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
54 + ATH79_MACH_RB_435G, /* MikroTik RouterBOARD 435G */
55 + ATH79_MACH_RB_450G, /* MikroTik RouterBOARD 450G */
56 + ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
57 + ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
58 + ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
59 + ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
60 + ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
61 + ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
62 + ATH79_MACH_RB_751G, /* Mikrotik RouterBOARD 751G */
63 + ATH79_MACH_RB_951G, /* Mikrotik RouterBOARD 951G */
64 + ATH79_MACH_RB_2011G, /* Mikrotik RouterBOARD 2011UAS-2HnD */
65 + ATH79_MACH_RB_2011L, /* Mikrotik RouterBOARD 2011L */
66 + ATH79_MACH_RB_2011US, /* Mikrotik RouterBOARD 2011UAS */
67 + ATH79_MACH_RW2458N, /* Redwave RW2458N */
68 + ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
69 + ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
70 + ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
71 + ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
72 + ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
73 + ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
74 + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
75 + ATH79_MACH_TL_MR3220_V2, /* TP-LINK TL-MR3220 v2 */
76 + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
77 + ATH79_MACH_TL_MR3420_V2, /* TP-LINK TL-MR3420 v2 */
78 + ATH79_MACH_TL_WA7510N_V1, /* TP-LINK TL-WA7510N v1*/
79 + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
80 + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
81 + ATH79_MACH_TL_WDR3500, /* TP-LINK TL-WDR3500 */
82 + ATH79_MACH_TL_WDR4300, /* TP-LINK TL-WDR4300 */
83 + ATH79_MACH_TL_WR1041N_V2, /* TP-LINK TL-WR1041N v2 */
84 + ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1043ND */
85 + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
86 + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
87 + ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3 */
88 + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
89 + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
90 + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
91 + ATH79_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
92 + ATH79_MACH_TL_WR841N_V8, /* TP-LINK TL-WR841N/ND v8 */
93 + ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
94 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
95 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
96 + ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
97 + ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */
98 ATH79_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
99 ATH79_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
100 + ATH79_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
101 + ATH79_MACH_UBNT_RS, /* Ubiquiti RouterStation */
102 ATH79_MACH_UBNT_UAP_PRO, /* Ubiquiti UniFi AP Pro */
103 ATH79_MACH_UBNT_UNIFI, /* Ubiquiti Unifi */
104 ATH79_MACH_UBNT_UNIFI_OUTDOOR, /* Ubiquiti UnifiAP Outdoor */
105 ATH79_MACH_UBNT_XM, /* Ubiquiti Networks XM board rev 1.0 */
106 + ATH79_MACH_WHR_G301N, /* Buffalo WHR-G301N */
107 + ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
108 + ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
109 + ATH79_MACH_WLAE_AG300N, /* Buffalo WLAE-AG300N */
110 + ATH79_MACH_WNDAP360, /* NETGEAR WNDAP360 */
111 + ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
112 + ATH79_MACH_WNDR4300, /* NETGEAR WNDR4300 */
113 + ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
114 + ATH79_MACH_WNR2000_V3, /* NETGEAR WNR2000 v3 */
115 + ATH79_MACH_WP543, /* Compex WP543 */
116 + ATH79_MACH_WPE72, /* Compex WPE72 */
117 + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */
118 + ATH79_MACH_WRT400N, /* Linksys WRT400N */
119 + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
120 + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
121 + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
122 + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
123 + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
124 + ATH79_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */
125 };
126
127 #endif /* _ATH79_MACHTYPE_H */
128 --- a/arch/mips/ath79/Kconfig
129 +++ b/arch/mips/ath79/Kconfig
130 @@ -2,6 +2,61 @@ if ATH79
131
132 menu "Atheros AR71XX/AR724X/AR913X machine selection"
133
134 +config ATH79_MACH_ALFA_AP96
135 + bool "ALFA Network AP96 board support"
136 + select SOC_AR71XX
137 + select ATH79_DEV_ETH
138 + select ATH79_DEV_GPIO_BUTTONS
139 + select ATH79_DEV_SPI
140 + select ATH79_DEV_USB
141 +
142 +config ATH79_MACH_HORNET_UB
143 + bool "ALFA Network Hornet-UB board support"
144 + select SOC_AR933X
145 + select ATH79_DEV_ETH
146 + select ATH79_DEV_GPIO_BUTTONS
147 + select ATH79_DEV_LEDS_GPIO
148 + select ATH79_DEV_M25P80
149 + select ATH79_DEV_USB
150 + select ATH79_DEV_WMAC
151 +
152 +config ATH79_MACH_ALFA_NX
153 + bool "ALFA Network N2/N5 board support"
154 + select SOC_AR724X
155 + select ATH79_DEV_AP9X_PCI if PCI
156 + select ATH79_DEV_ETH
157 + select ATH79_DEV_GPIO_BUTTONS
158 + select ATH79_DEV_LEDS_GPIO
159 + select ATH79_DEV_M25P80
160 +
161 +config ATH79_MACH_ALL0258N
162 + bool "Allnet ALL0258N support"
163 + select SOC_AR724X
164 + select ATH79_DEV_AP9X_PCI if PCI
165 + select ATH79_DEV_ETH
166 + select ATH79_DEV_GPIO_BUTTONS
167 + select ATH79_DEV_LEDS_GPIO
168 + select ATH79_DEV_M25P80
169 +
170 +config ATH79_MACH_ALL0315N
171 + bool "Allnet ALL0315N support"
172 + select SOC_AR724X
173 + select ATH79_DEV_AP9X_PCI if PCI
174 + select ATH79_DEV_ETH
175 + select ATH79_DEV_GPIO_BUTTONS
176 + select ATH79_DEV_LEDS_GPIO
177 + select ATH79_DEV_M25P80
178 +
179 +config ATH79_MACH_AP113
180 + bool "Atheros AP113 board support"
181 + select SOC_AR724X
182 + select ATH79_DEV_M25P80
183 + select ATH79_DEV_PB9X_PCI if PCI
184 + select ATH79_DEV_GPIO_BUTTONS
185 + select ATH79_DEV_LEDS_GPIO
186 + select ATH79_DEV_USB
187 + select ATH79_DEV_ETH
188 +
189 config ATH79_MACH_AP121
190 bool "Atheros AP121 reference board"
191 select SOC_AR933X
192 @@ -15,6 +70,18 @@ config ATH79_MACH_AP121
193 Say 'Y' here if you want your kernel to support the
194 Atheros AP121 reference board.
195
196 +config ATH79_MACH_AP132
197 + bool "Atheros AP132 reference board"
198 + select SOC_QCA955X
199 + select ATH79_DEV_GPIO_BUTTONS
200 + select ATH79_DEV_LEDS_GPIO
201 + select ATH79_DEV_SPI
202 + select ATH79_DEV_USB
203 + select ATH79_DEV_WMAC
204 + help
205 + Say 'Y' here if you want your kernel to support the
206 + Atheros AP132 reference boards.
207 +
208 config ATH79_MACH_AP136
209 bool "Atheros AP136/AP135 reference board"
210 select SOC_QCA955X
211 @@ -41,6 +108,24 @@ config ATH79_MACH_AP81
212 Say 'Y' here if you want your kernel to support the
213 Atheros AP81 reference board.
214
215 +config ATH79_MACH_AP83
216 + bool "Atheros AP83 board support"
217 + select SOC_AR913X
218 + select ATH79_DEV_GPIO_BUTTONS
219 + select ATH79_DEV_LEDS_GPIO
220 + select ATH79_DEV_USB
221 + select ATH79_DEV_WMAC
222 +
223 +config ATH79_MACH_AP96
224 + bool "Atheros AP96 board support"
225 + select SOC_AR71XX
226 + select ATH79_DEV_AP9X_PCI if PCI
227 + select ATH79_DEV_ETH
228 + select ATH79_DEV_GPIO_BUTTONS
229 + select ATH79_DEV_LEDS_GPIO
230 + select ATH79_DEV_M25P80
231 + select ATH79_DEV_USB
232 +
233 config ATH79_MACH_DB120
234 bool "Atheros DB120 reference board"
235 select SOC_AR934X
236 @@ -56,6 +141,13 @@ config ATH79_MACH_DB120
237 Say 'Y' here if you want your kernel to support the
238 Atheros DB120 reference board.
239
240 +config ATH79_MACH_PB42
241 + bool "Atheros PB42 board support"
242 + select SOC_AR71XX
243 + select ATH79_DEV_ETH
244 + select ATH79_DEV_GPIO_BUTTONS
245 + select ATH79_DEV_M25P80
246 +
247 config ATH79_MACH_PB44
248 bool "Atheros PB44 reference board"
249 select SOC_AR71XX
250 @@ -68,6 +160,561 @@ config ATH79_MACH_PB44
251 Say 'Y' here if you want your kernel to support the
252 Atheros PB44 reference board.
253
254 +config ATH79_MACH_PB92
255 + bool "Atheros PB92 board support"
256 + select SOC_AR724X
257 + select ATH79_DEV_ETH
258 + select ATH79_DEV_GPIO_BUTTONS
259 + select ATH79_DEV_LEDS_GPIO
260 + select ATH79_DEV_PB9X_PCI if PCI
261 + select ATH79_DEV_USB
262 +
263 +config ATH79_MACH_AW_NR580
264 + bool "AzureWave AW-NR580 board support"
265 + select SOC_AR71XX
266 + select ATH79_DEV_ETH
267 + select ATH79_DEV_GPIO_BUTTONS
268 + select ATH79_DEV_LEDS_GPIO
269 + select ATH79_DEV_M25P80
270 +
271 +config ATH79_MACH_WHR_HP_G300N
272 + bool "Buffalo WHR-HP-G300N board support"
273 + select SOC_AR724X
274 + select ATH79_DEV_AP9X_PCI if PCI
275 + select ATH79_DEV_ETH
276 + select ATH79_DEV_GPIO_BUTTONS
277 + select ATH79_DEV_LEDS_GPIO
278 + select ATH79_DEV_M25P80
279 +
280 +config ATH79_MACH_WLAE_AG300N
281 + bool "Buffalo WLAE-AG300N board support"
282 + select SOC_AR71XX
283 + select ATH79_DEV_ETH
284 + select ATH79_DEV_GPIO_BUTTONS
285 + select ATH79_DEV_LEDS_GPIO
286 + select ATH79_DEV_M25P80
287 +
288 +config ATH79_MACH_WZR_HP_AG300H
289 + bool "Buffalo WZR-HP-AG300H board support"
290 + select SOC_AR71XX
291 + select ATH79_DEV_AP9X_PCI if PCI
292 + select ATH79_DEV_ETH
293 + select ATH79_DEV_GPIO_BUTTONS
294 + select ATH79_DEV_LEDS_GPIO
295 + select ATH79_DEV_M25P80
296 + select ATH79_DEV_USB
297 +
298 +config ATH79_MACH_WZR_HP_G300NH
299 + bool "Buffalo WZR-HP-G300NH board support"
300 + select SOC_AR913X
301 + select ATH79_DEV_ETH
302 + select ATH79_DEV_GPIO_BUTTONS
303 + select ATH79_DEV_LEDS_GPIO
304 + select ATH79_DEV_USB
305 + select ATH79_DEV_WMAC
306 + select RTL8366_SMI
307 +
308 +config ATH79_MACH_WZR_HP_G300NH2
309 + bool "Buffalo WZR-HP-G300NH2 board support"
310 + select SOC_AR724X
311 + select ATH79_DEV_AP9X_PCI if PCI
312 + select ATH79_DEV_ETH
313 + select ATH79_DEV_GPIO_BUTTONS
314 + select ATH79_DEV_LEDS_GPIO
315 + select ATH79_DEV_M25P80
316 + select ATH79_DEV_USB
317 +
318 +config ATH79_MACH_WZR_HP_G450H
319 + bool "Buffalo WZR-HP-G450H board support"
320 + select SOC_AR724X
321 + select ATH79_DEV_ETH
322 + select ATH79_DEV_AP9X_PCI if PCI
323 + select ATH79_DEV_GPIO_BUTTONS
324 + select ATH79_DEV_LEDS_GPIO
325 + select ATH79_DEV_M25P80
326 + select ATH79_DEV_USB
327 +
328 +config ATH79_MACH_WP543
329 + bool "Compex WP543/WPJ543 board support"
330 + select SOC_AR71XX
331 + select ATH79_DEV_ETH
332 + select ATH79_DEV_GPIO_BUTTONS
333 + select ATH79_DEV_LEDS_GPIO
334 + select ATH79_DEV_M25P80
335 + select ATH79_DEV_USB
336 + select MYLOADER
337 +
338 +config ATH79_MACH_WPE72
339 + bool "Compex WPE72/WPE72NX board support"
340 + select SOC_AR724X
341 + select ATH79_DEV_ETH
342 + select ATH79_DEV_GPIO_BUTTONS
343 + select ATH79_DEV_LEDS_GPIO
344 + select ATH79_DEV_M25P80
345 + select ATH79_DEV_USB
346 + select MYLOADER
347 +
348 +config ATH79_MACH_DIR_600_A1
349 + bool "D-Link DIR-600 A1/DIR-615 E4 support"
350 + select SOC_AR724X
351 + select ATH79_DEV_AP9X_PCI if PCI
352 + select ATH79_DEV_ETH
353 + select ATH79_DEV_GPIO_BUTTONS
354 + select ATH79_DEV_LEDS_GPIO
355 + select ATH79_DEV_M25P80
356 + select ATH79_NVRAM
357 +
358 +config ATH79_MACH_DIR_615_C1
359 + bool "D-Link DIR-615 rev. C1 support"
360 + select SOC_AR913X
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_WMAC
366 + select ATH79_NVRAM
367 +
368 +config ATH79_MACH_DIR_825_B1
369 + bool "D-Link DIR-825 rev. B1 board support"
370 + select SOC_AR71XX
371 + select ATH79_DEV_AP9X_PCI if PCI
372 + select ATH79_DEV_ETH
373 + select ATH79_DEV_GPIO_BUTTONS
374 + select ATH79_DEV_LEDS_GPIO
375 + select ATH79_DEV_M25P80
376 + select ATH79_DEV_USB
377 +
378 +config ATH79_MACH_DIR_825_C1
379 + bool "D-Link DIR-825 rev. C1/DIR-835 rev. A1 board support"
380 + select SOC_AR934X
381 + select ATH79_DEV_AP9X_PCI if PCI
382 + select ATH79_DEV_ETH
383 + select ATH79_DEV_GPIO_BUTTONS
384 + select ATH79_DEV_LEDS_GPIO
385 + select ATH79_DEV_M25P80
386 + select ATH79_DEV_USB
387 + select ATH79_DEV_WMAC
388 +
389 +config ATH79_MACH_EW_DORIN
390 + bool "embedded wireless Dorin Platform support"
391 + select SOC_AR933X
392 + select ATH79_DEV_M25P80
393 + select ATH79_DEV_GPIO_BUTTONS
394 + select ATH79_DEV_LEDS_GPIO
395 + select ATH79_DEV_WMAC
396 + select ATH79_DEV_ETH
397 + help
398 + Say 'Y' here if you want your kernel to support the
399 + Dorin Platform from www.80211.de .
400 +
401 +config ATH79_MACH_JA76PF
402 + bool "jjPlus JA76PF board support"
403 + select SOC_AR71XX
404 + select ATH79_DEV_ETH
405 + select ATH79_DEV_GPIO_BUTTONS
406 + select ATH79_DEV_LEDS_GPIO
407 + select ATH79_DEV_M25P80
408 + select ATH79_DEV_USB
409 +
410 +config ATH79_MACH_JWAP003
411 + bool "jjPlus JWAP003 board support"
412 + select SOC_AR71XX
413 + select ATH79_DEV_ETH
414 + select ATH79_DEV_GPIO_BUTTONS
415 + select ATH79_DEV_M25P80
416 + select ATH79_DEV_USB
417 +
418 +config ATH79_MACH_WRT160NL
419 + bool "Linksys WRT160NL board support"
420 + select SOC_AR913X
421 + select ATH79_DEV_ETH
422 + select ATH79_DEV_GPIO_BUTTONS
423 + select ATH79_DEV_LEDS_GPIO
424 + select ATH79_DEV_M25P80
425 + select ATH79_DEV_USB
426 + select ATH79_DEV_WMAC
427 + select ATH79_NVRAM
428 +
429 +config ATH79_MACH_WRT400N
430 + bool "Linksys WRT400N board support"
431 + select SOC_AR71XX
432 + select ATH79_DEV_AP9X_PCI if PCI
433 + select ATH79_DEV_ETH
434 + select ATH79_DEV_GPIO_BUTTONS
435 + select ATH79_DEV_LEDS_GPIO
436 + select ATH79_DEV_M25P80
437 +
438 +config ATH79_MACH_RB4XX
439 + bool "MikroTik RouterBOARD 4xx series support"
440 + select SOC_AR71XX
441 + select ATH79_DEV_ETH
442 + select ATH79_DEV_GPIO_BUTTONS
443 + select ATH79_DEV_LEDS_GPIO
444 + select ATH79_DEV_USB
445 +
446 +config ATH79_MACH_RB750
447 + bool "MikroTik RouterBOARD 750 support"
448 + select SOC_AR724X
449 + select ATH79_DEV_AP9X_PCI if PCI
450 + select ATH79_DEV_ETH
451 + select ATH79_DEV_USB
452 + select ATH79_ROUTERBOOT
453 + select RLE_DECOMPRESS
454 +
455 +config ATH79_MACH_RB95X
456 + bool "MikroTik RouterBOARD 95X support"
457 + select SOC_AR934x
458 + select ATH79_DEV_ETH
459 + select ATH79_DEV_NFC
460 + select ATH79_DEV_WMAC
461 + select ATH79_DEV_USB
462 + select ATH79_ROUTERBOOT
463 + select RLE_DECOMPRESS
464 +
465 +config ATH79_MACH_RB2011
466 + bool "MikroTik RouterBOARD 2011 support"
467 + select SOC_AR934x
468 + select ATH79_DEV_ETH
469 + select ATH79_DEV_NFC
470 + select ATH79_DEV_WMAC
471 + select ATH79_ROUTERBOOT
472 +
473 +config ATH79_MACH_WNDAP360
474 + bool "NETGEAR WNDAP360 board support"
475 + select SOC_AR71XX
476 + select ATH79_DEV_AP9X_PCI if PCI
477 + select ATH79_DEV_ETH
478 + select ATH79_DEV_GPIO_BUTTONS
479 + select ATH79_DEV_LEDS_GPIO
480 + select ATH79_DEV_M25P80
481 + select ATH79_DEV_USB
482 +
483 +config ATH79_MACH_WNDR3700
484 + bool "NETGEAR WNDR3700 board support"
485 + select SOC_AR71XX
486 + select ATH79_DEV_AP9X_PCI if PCI
487 + select ATH79_DEV_ETH
488 + select ATH79_DEV_GPIO_BUTTONS
489 + select ATH79_DEV_LEDS_GPIO
490 + select ATH79_DEV_M25P80
491 + select ATH79_DEV_USB
492 +
493 +config ATH79_MACH_WNDR4300
494 + bool "NETGEAR WNDR4300 board support"
495 + select SOC_AR934X
496 + select ATH79_DEV_AP9X_PCI if PCI
497 + select ATH79_DEV_ETH
498 + select ATH79_DEV_GPIO_BUTTONS
499 + select ATH79_DEV_LEDS_GPIO
500 + select ATH79_DEV_NFC
501 + select ATH79_DEV_USB
502 + select ATH79_DEV_WMAC
503 +
504 +config ATH79_MACH_WNR2000
505 + bool "NETGEAR WNR2000 board support"
506 + select SOC_AR913X
507 + select ATH79_DEV_ETH
508 + select ATH79_DEV_GPIO_BUTTONS
509 + select ATH79_DEV_LEDS_GPIO
510 + select ATH79_DEV_M25P80
511 + select ATH79_DEV_WMAC
512 +
513 +config ATH79_MACH_WNR2000_V3
514 + bool "NETGEAR WNR2000 V3 board support"
515 + select SOC_AR724X
516 + select ATH79_DEV_AP9X_PCI if PCI
517 + select ATH79_DEV_ETH
518 + select ATH79_DEV_GPIO_BUTTONS
519 + select ATH79_DEV_LEDS_GPIO
520 + select ATH79_DEV_M25P80
521 +
522 +config ATH79_MACH_OM2P
523 + bool "OpenMesh OM2P board support"
524 + select SOC_AR724X
525 + select SOC_AR933X
526 + select ATH79_DEV_AP9X_PCI if PCI
527 + select ATH79_DEV_ETH
528 + select ATH79_DEV_GPIO_BUTTONS
529 + select ATH79_DEV_LEDS_GPIO
530 + select ATH79_DEV_M25P80
531 + select ATH79_DEV_WMAC
532 +
533 +config ATH79_MACH_MR600
534 + bool "OpenMesh MR600 board support"
535 + select SOC_AR934X
536 + select ATH79_DEV_AP9X_PCI if PCI
537 + select ATH79_DEV_ETH
538 + select ATH79_DEV_GPIO_BUTTONS
539 + select ATH79_DEV_LEDS_GPIO
540 + select ATH79_DEV_M25P80
541 + select ATH79_DEV_WMAC
542 +
543 +config ATH79_MACH_MZK_W04NU
544 + bool "Planex MZK-W04NU board support"
545 + select SOC_AR913X
546 + select ATH79_DEV_ETH
547 + select ATH79_DEV_GPIO_BUTTONS
548 + select ATH79_DEV_LEDS_GPIO
549 + select ATH79_DEV_M25P80
550 + select ATH79_DEV_USB
551 + select ATH79_DEV_WMAC
552 +
553 +config ATH79_MACH_MZK_W300NH
554 + bool "Planex MZK-W300NH board support"
555 + select SOC_AR913X
556 + select ATH79_DEV_ETH
557 + select ATH79_DEV_GPIO_BUTTONS
558 + select ATH79_DEV_LEDS_GPIO
559 + select ATH79_DEV_M25P80
560 + select ATH79_DEV_WMAC
561 +
562 +config ATH79_MACH_RW2458N
563 + bool "Redwave RW2458N board support"
564 + select SOC_AR724X
565 + select ATH79_DEV_AP9X_PCI if PCI
566 + select ATH79_DEV_ETH
567 + select ATH79_DEV_GPIO_BUTTONS
568 + select ATH79_DEV_LEDS_GPIO
569 + select ATH79_DEV_M25P80
570 + select ATH79_DEV_USB
571 +
572 +config ATH79_MACH_CAP4200AG
573 + bool "Senao CAP4200AG support"
574 + select SOC_AR934X
575 + select ATH79_DEV_AP9X_PCI if PCI
576 + select ATH79_DEV_ETH
577 + select ATH79_DEV_GPIO_BUTTONS
578 + select ATH79_DEV_LEDS_GPIO
579 + select ATH79_DEV_M25P80
580 + select ATH79_DEV_WMAC
581 +
582 +config ATH79_MACH_EAP7660D
583 + bool "Senao EAP7660D support"
584 + select SOC_AR71XX
585 + select ATH79_DEV_ETH
586 + select ATH79_DEV_GPIO_BUTTONS
587 + select ATH79_DEV_LEDS_GPIO
588 + select ATH79_DEV_M25P80
589 +
590 +config ATH79_MACH_ARCHER_C7
591 + bool "TP-LINK Archer C7 board support"
592 + select SOC_QCA955X
593 + select ATH79_DEV_ETH
594 + select ATH79_DEV_GPIO_BUTTONS
595 + select ATH79_DEV_LEDS_GPIO
596 + select ATH79_DEV_SPI
597 + select ATH79_DEV_USB
598 + select ATH79_DEV_WMAC
599 +
600 +config ATH79_MACH_TL_MR11U
601 + bool "TP-LINK TL-MR11U/TL-MR3040 support"
602 + select SOC_AR933X
603 + select ATH79_DEV_ETH
604 + select ATH79_DEV_GPIO_BUTTONS
605 + select ATH79_DEV_LEDS_GPIO
606 + select ATH79_DEV_M25P80
607 + select ATH79_DEV_USB
608 + select ATH79_DEV_WMAC
609 +
610 +config ATH79_MACH_TL_MR3020
611 + bool "TP-LINK TL-MR3020 support"
612 + select SOC_AR933X
613 + select ATH79_DEV_ETH
614 + select ATH79_DEV_GPIO_BUTTONS
615 + select ATH79_DEV_LEDS_GPIO
616 + select ATH79_DEV_M25P80
617 + select ATH79_DEV_USB
618 + select ATH79_DEV_WMAC
619 +
620 +config ATH79_MACH_TL_MR3X20
621 + bool "TP-LINK TL-MR3220/3420 support"
622 + select SOC_AR724X
623 + select ATH79_DEV_AP9X_PCI if PCI
624 + select ATH79_DEV_ETH
625 + select ATH79_DEV_GPIO_BUTTONS
626 + select ATH79_DEV_LEDS_GPIO
627 + select ATH79_DEV_M25P80
628 + select ATH79_DEV_USB
629 +
630 +config ATH79_MACH_TL_WA901ND
631 + bool "TP-LINK TL-WA901ND/TL-WA7510N support"
632 + select SOC_AR724X
633 + select ATH79_DEV_AP9X_PCI if PCI
634 + select ATH79_DEV_ETH
635 + select ATH79_DEV_GPIO_BUTTONS
636 + select ATH79_DEV_LEDS_GPIO
637 + select ATH79_DEV_M25P80
638 +
639 +config ATH79_MACH_TL_WA901ND_V2
640 + bool "TP-LINK TL-WA901ND v2 support"
641 + select SOC_AR913X
642 + select ATH79_DEV_ETH
643 + select ATH79_DEV_GPIO_BUTTONS
644 + select ATH79_DEV_LEDS_GPIO
645 + select ATH79_DEV_M25P80
646 + select ATH79_DEV_WMAC
647 +
648 +config ATH79_MACH_TL_WDR3500
649 + bool "TP-LINK TL-WDR3500 board support"
650 + select SOC_AR934X
651 + select ATH79_DEV_AP9X_PCI if PCI
652 + select ATH79_DEV_ETH
653 + select ATH79_DEV_GPIO_BUTTONS
654 + select ATH79_DEV_LEDS_GPIO
655 + select ATH79_DEV_M25P80
656 + select ATH79_DEV_USB
657 + select ATH79_DEV_WMAC
658 +
659 +config ATH79_MACH_TL_WDR4300
660 + bool "TP-LINK TL-WDR3600/4300/4310 board support"
661 + select SOC_AR934X
662 + select ATH79_DEV_AP9X_PCI if PCI
663 + select ATH79_DEV_ETH
664 + select ATH79_DEV_GPIO_BUTTONS
665 + select ATH79_DEV_LEDS_GPIO
666 + select ATH79_DEV_M25P80
667 + select ATH79_DEV_USB
668 + select ATH79_DEV_WMAC
669 +
670 +config ATH79_MACH_TL_WR703N
671 + bool "TP-LINK TL-WR703N support"
672 + select SOC_AR933X
673 + select ATH79_DEV_ETH
674 + select ATH79_DEV_GPIO_BUTTONS
675 + select ATH79_DEV_LEDS_GPIO
676 + select ATH79_DEV_M25P80
677 + select ATH79_DEV_USB
678 + select ATH79_DEV_WMAC
679 +
680 +config ATH79_MACH_TL_WR720N_V3
681 + bool "TP-LINK TL-WR720N v3 support"
682 + select SOC_AR933X
683 + select ATH79_DEV_ETH
684 + select ATH79_DEV_GPIO_BUTTONS
685 + select ATH79_DEV_LEDS_GPIO
686 + select ATH79_DEV_M25P80
687 + select ATH79_DEV_USB
688 + select ATH79_DEV_WMAC
689 +
690 +config ATH79_MACH_TL_WR741ND
691 + bool "TP-LINK TL-WR741ND support"
692 + select SOC_AR724X
693 + select ATH79_DEV_AP9X_PCI if PCI
694 + select ATH79_DEV_ETH
695 + select ATH79_DEV_GPIO_BUTTONS
696 + select ATH79_DEV_LEDS_GPIO
697 + select ATH79_DEV_M25P80
698 +
699 +config ATH79_MACH_TL_WR741ND_V4
700 + bool "TP-LINK TL-WR741ND v4/TL-MR3220 v2 support"
701 + select SOC_AR933X
702 + select ATH79_DEV_ETH
703 + select ATH79_DEV_GPIO_BUTTONS
704 + select ATH79_DEV_LEDS_GPIO
705 + select ATH79_DEV_M25P80
706 + select ATH79_DEV_USB
707 + select ATH79_DEV_WMAC
708 +
709 +config ATH79_MACH_TL_WR841N_V1
710 + bool "TP-LINK TL-WR841N v1 support"
711 + select SOC_AR71XX
712 + select ATH79_DEV_DSA
713 + select ATH79_DEV_ETH
714 + select ATH79_DEV_GPIO_BUTTONS
715 + select ATH79_DEV_LEDS_GPIO
716 + select ATH79_DEV_M25P80
717 +
718 +config ATH79_MACH_TL_WR841N_V8
719 + bool "TP-LINK TL-WR841N/ND v8/TL-MR3420 v2 support"
720 + select SOC_AR934X
721 + select ATH79_DEV_ETH
722 + select ATH79_DEV_GPIO_BUTTONS
723 + select ATH79_DEV_LEDS_GPIO
724 + select ATH79_DEV_M25P80
725 + select ATH79_DEV_USB
726 + select ATH79_DEV_WMAC
727 +
728 +config ATH79_MACH_TL_WR941ND
729 + bool "TP-LINK TL-WR941ND support"
730 + select SOC_AR913X
731 + select ATH79_DEV_DSA
732 + select ATH79_DEV_ETH
733 + select ATH79_DEV_GPIO_BUTTONS
734 + select ATH79_DEV_LEDS_GPIO
735 + select ATH79_DEV_M25P80
736 + select ATH79_DEV_WMAC
737 +
738 +config ATH79_MACH_TL_WR1041N_V2
739 + bool "TP-LINK TL-WR1041N v2 support"
740 + select SOC_AR934X
741 + select ATH79_DEV_AP9X_PCI if PCI
742 + select ATH79_DEV_ETH
743 + select ATH79_DEV_GPIO_BUTTONS
744 + select ATH79_DEV_LEDS_GPIO
745 + select ATH79_DEV_M25P80
746 + select ATH79_DEV_USB
747 + select ATH79_DEV_WMAC
748 +
749 +config ATH79_MACH_TL_WR1043ND
750 + bool "TP-LINK TL-WR1043ND support"
751 + select SOC_AR913X
752 + select ATH79_DEV_ETH
753 + select ATH79_DEV_GPIO_BUTTONS
754 + select ATH79_DEV_LEDS_GPIO
755 + select ATH79_DEV_M25P80
756 + select ATH79_DEV_USB
757 + select ATH79_DEV_WMAC
758 +
759 +config ATH79_MACH_TL_WR2543N
760 + bool "TP-LINK TL-WR2543N/ND support"
761 + select SOC_AR724X
762 + select ATH79_DEV_AP9X_PCI if PCI
763 + select ATH79_DEV_ETH
764 + select ATH79_DEV_GPIO_BUTTONS
765 + select ATH79_DEV_LEDS_GPIO
766 + select ATH79_DEV_M25P80
767 + select ATH79_DEV_USB
768 +
769 +config ATH79_MACH_TEW_632BRP
770 + bool "TRENDnet TEW-632BRP support"
771 + select SOC_AR913X
772 + select ATH79_DEV_ETH
773 + select ATH79_DEV_GPIO_BUTTONS
774 + select ATH79_DEV_LEDS_GPIO
775 + select ATH79_DEV_M25P80
776 + select ATH79_DEV_WMAC
777 + select ATH79_NVRAM
778 +
779 +config ATH79_MACH_TEW_673GRU
780 + bool "TRENDnet TEW-673GRU support"
781 + select SOC_AR71XX
782 + select ATH79_DEV_AP9X_PCI if PCI
783 + select ATH79_DEV_ETH
784 + select ATH79_DEV_GPIO_BUTTONS
785 + select ATH79_DEV_LEDS_GPIO
786 + select ATH79_DEV_M25P80
787 + select ATH79_DEV_USB
788 + select ATH79_NVRAM
789 +
790 +config ATH79_MACH_TEW_712BR
791 + bool "TRENDnet TEW-712BR support"
792 + select SOC_AR933X
793 + select ATH79_DEV_ETH
794 + select ATH79_DEV_GPIO_BUTTONS
795 + select ATH79_DEV_LEDS_GPIO
796 + select ATH79_DEV_M25P80
797 + select ATH79_DEV_WMAC
798 + select ATH79_NVRAM
799 +
800 +config ATH79_MACH_UBNT
801 + bool "Ubiquiti AR71xx based boards support"
802 + select SOC_AR71XX
803 + select ATH79_DEV_ETH
804 + select ATH79_DEV_GPIO_BUTTONS
805 + select ATH79_DEV_LEDS_GPIO
806 + select ATH79_DEV_M25P80
807 + select ATH79_DEV_USB
808 +
809 config ATH79_MACH_UBNT_XM
810 bool "Ubiquiti Networks XM/UniFi boards"
811 select SOC_AR724X
812 @@ -83,6 +730,24 @@ config ATH79_MACH_UBNT_XM
813 Say 'Y' here if you want your kernel to support the
814 Ubiquiti Networks XM (rev 1.0) board.
815
816 +config ATH79_MACH_ZCN_1523H
817 + bool "Zcomax ZCN-1523H support"
818 + select SOC_AR724X
819 + select ATH79_DEV_AP9X_PCI if PCI
820 + select ATH79_DEV_ETH
821 + select ATH79_DEV_GPIO_BUTTONS
822 + select ATH79_DEV_LEDS_GPIO
823 + select ATH79_DEV_M25P80
824 +
825 +config ATH79_MACH_NBG460N
826 + bool "Zyxel NBG460N/550N/550NH board support"
827 + select SOC_AR913X
828 + select ATH79_DEV_ETH
829 + select ATH79_DEV_GPIO_BUTTONS
830 + select ATH79_DEV_LEDS_GPIO
831 + select ATH79_DEV_M25P80
832 + select ATH79_DEV_WMAC
833 +
834 endmenu
835
836 config SOC_AR71XX
837 @@ -132,7 +797,10 @@ config ATH79_DEV_DSA
838 config ATH79_DEV_ETH
839 def_bool n
840
841 -config PCI_AR724X
842 +config ATH79_DEV_DSA
843 + def_bool n
844 +
845 +config ATH79_DEV_ETH
846 def_bool n
847
848 config ATH79_DEV_GPIO_BUTTONS
849 @@ -164,4 +832,7 @@ config ATH79_PCI_ATH9K_FIXUP
850 config ATH79_ROUTERBOOT
851 def_bool n
852
853 +config PCI_AR724X
854 + def_bool n
855 +
856 endif
857 --- a/arch/mips/ath79/Makefile
858 +++ b/arch/mips/ath79/Makefile
859 @@ -38,9 +38,78 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route
860 #
861 # Machines
862 #
863 +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
864 +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
865 +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
866 +obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
867 +obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
868 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
869 +obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
870 obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
871 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
872 +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
873 +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
874 +obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
875 +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
876 +obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
877 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
878 +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
879 +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
880 +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
881 +obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
882 +obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
883 +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
884 +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
885 +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
886 +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
887 +obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
888 +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
889 +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
890 +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
891 +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
892 +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
893 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
894 +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
895 +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
896 +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
897 +obj-$(CONFIG_ATH79_MACH_RB95X) += mach-rb95x.o
898 +obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
899 +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
900 +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
901 +obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
902 +obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
903 +obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
904 +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
905 +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
906 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
907 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
908 +obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o
909 +obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o
910 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
911 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
912 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
913 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V8) += mach-tl-wr841n-v8.o
914 +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
915 +obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2) += mach-tl-wr1041n-v2.o
916 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
917 +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
918 +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
919 +obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
920 +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
921 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
922 +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
923 +obj-$(CONFIG_ATH79_MACH_WLAE_AG300N) += mach-wlae-ag300n.o
924 +obj-$(CONFIG_ATH79_MACH_WNDAP360) += mach-wndap360.o
925 +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
926 +obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
927 +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
928 +obj-$(CONFIG_ATH79_MACH_WNR2000_V3) += mach-wnr2000-v3.o
929 +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
930 +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
931 +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
932 +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
933 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
934 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
935 +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
936 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
937 +obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
938 --- a/arch/mips/ath79/prom.c
939 +++ b/arch/mips/ath79/prom.c
940 @@ -180,6 +180,11 @@ void __init prom_init(void)
941 ath79_prom_append_cmdline("board", env);
942 }
943 }
944 +
945 + if (strstr(arcs_cmdline, "board=750Gr3") ||
946 + strstr(arcs_cmdline, "board=951G") ||
947 + strstr(arcs_cmdline, "board=2011L"))
948 + ath79_prom_append_cmdline("console", "ttyS0,115200");
949 }
950
951 void __init prom_free_prom_memory(void)