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