ce839f4b012f6dd01dd6b1ed03223bffee45e86c
[openwrt/openwrt.git] / target / linux / ar71xx / patches-3.18 / 610-MIPS-ath79-openwrt-machines.patch
1 --- a/arch/mips/ath79/machtypes.h
2 +++ b/arch/mips/ath79/machtypes.h
3 @@ -16,22 +16,188 @@
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_C5, /* TP-LINK Archer C5 board */
23 + ATH79_MACH_ARCHER_C7, /* TP-LINK Archer C7 board */
24 + ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
25 + ATH79_MACH_BHU_BXU2000N2_A1, /* BHU BXU2000n-2 A1 */
26 + ATH79_MACH_CAP4200AG, /* Senao CAP4200AG */
27 + ATH79_MACH_CARAMBOLA2, /* 8devices Carambola2 */
28 + ATH79_MACH_CPE510, /* TP-LINK CPE510 */
29 ATH79_MACH_DB120, /* Atheros DB120 reference board */
30 ATH79_MACH_PB44, /* Atheros PB44 reference board */
31 + ATH79_MACH_DGL_5500_A1, /* D-link DGL-5500 rev. A1 */
32 + ATH79_MACH_DHP_1565_A1, /* D-Link DHP-1565 rev. A1 */
33 + ATH79_MACH_DIR_505_A1, /* D-Link DIR-505 rev. A1 */
34 + ATH79_MACH_DIR_600_A1, /* D-Link DIR-600 rev. A1 */
35 + ATH79_MACH_DIR_615_C1, /* D-Link DIR-615 rev. C1 */
36 + ATH79_MACH_DIR_615_E1, /* D-Link DIR-615 rev. E1 */
37 + ATH79_MACH_DIR_615_E4, /* D-Link DIR-615 rev. E4 */
38 + ATH79_MACH_DIR_825_B1, /* D-Link DIR-825 rev. B1 */
39 + ATH79_MACH_DIR_825_C1, /* D-Link DIR-825 rev. C1 */
40 + ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
41 + ATH79_MACH_DRAGINO2, /* Dragino Version 2 */
42 + ATH79_MACH_ESR900, /* EnGenius ESR900 */
43 + ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */
44 + ATH79_MACH_EW_DORIN_ROUTER, /* embedded wireless Dorin Router Platform */
45 + ATH79_MACH_EAP300V2, /* EnGenius EAP300 v2 */
46 + ATH79_MACH_EAP7660D, /* Senao EAP7660D */
47 + ATH79_MACH_EL_M150, /* EasyLink EL-M150 */
48 + ATH79_MACH_EL_MINI, /* EasyLink EL-MINI */
49 + ATH79_MACH_ESR1750, /* EnGenius ESR1750 */
50 + ATH79_MACH_F9K1115V2, /* Belkin AC1750DB */
51 + ATH79_MACH_GL_INET, /* GL-CONNECT GL-INET */
52 + ATH79_MACH_GS_OOLITE, /* GS OOLITE V1.0 */
53 + ATH79_MACH_HIWIFI_HC6361, /* HiWiFi HC6361 */
54 + ATH79_MACH_JA76PF, /* jjPlus JA76PF */
55 + ATH79_MACH_JA76PF2, /* jjPlus JA76PF2 */
56 + ATH79_MACH_JWAP003, /* jjPlus JWAP003 */
57 + ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
58 + ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
59 + ATH79_MACH_MR600, /* OpenMesh MR600 */
60 + ATH79_MACH_MR900, /* OpenMesh MR900 */
61 + ATH79_MACH_MR900v2, /* OpenMesh MR900v2 */
62 + ATH79_MACH_MYNET_N600, /* WD My Net N600 */
63 + ATH79_MACH_MYNET_N750, /* WD My Net N750 */
64 + ATH79_MACH_MYNET_REXT, /* WD My Net Wi-Fi Range Extender */
65 + ATH79_MACH_MZK_W04NU, /* Planex MZK-W04NU */
66 + ATH79_MACH_MZK_W300NH, /* Planex MZK-W300NH */
67 + ATH79_MACH_NBG460N, /* Zyxel NBG460N/550N/550NH */
68 + ATH79_MACH_NBG6716, /* Zyxel NBG6716 */
69 + ATH79_MACH_OM2P_HSv2, /* OpenMesh OM2P-HSv2 */
70 + ATH79_MACH_OM2P_HS, /* OpenMesh OM2P-HS */
71 + ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
72 + ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
73 + ATH79_MACH_OM2P, /* OpenMesh OM2P */
74 + ATH79_MACH_OM5P, /* OpenMesh OM5P */
75 + ATH79_MACH_PB42, /* Atheros PB42 */
76 + ATH79_MACH_PB92, /* Atheros PB92 */
77 + ATH79_MACH_QIHOO_C301, /* Qihoo 360 C301 */
78 + ATH79_MACH_R6100, /* NETGEAR R6100 */
79 + ATH79_MACH_RB_411, /* MikroTik RouterBOARD 411/411A/411AH */
80 + ATH79_MACH_RB_411U, /* MikroTik RouterBOARD 411U */
81 + ATH79_MACH_RB_433, /* MikroTik RouterBOARD 433/433AH */
82 + ATH79_MACH_RB_433U, /* MikroTik RouterBOARD 433UAH */
83 + ATH79_MACH_RB_435G, /* MikroTik RouterBOARD 435G */
84 + ATH79_MACH_RB_450G, /* MikroTik RouterBOARD 450G */
85 + ATH79_MACH_RB_450, /* MikroTik RouterBOARD 450 */
86 + ATH79_MACH_RB_493, /* Mikrotik RouterBOARD 493/493AH */
87 + ATH79_MACH_RB_493G, /* Mikrotik RouterBOARD 493G */
88 + ATH79_MACH_RB_711GR100, /* Mikrotik RouterBOARD 911/912 boards */
89 + ATH79_MACH_RB_750, /* MikroTik RouterBOARD 750 */
90 + ATH79_MACH_RB_750G_R3, /* MikroTik RouterBOARD 750GL */
91 + ATH79_MACH_RB_751, /* MikroTik RouterBOARD 751 */
92 + ATH79_MACH_RB_751G, /* Mikrotik RouterBOARD 751G */
93 + ATH79_MACH_RB_951G, /* Mikrotik RouterBOARD 951G */
94 + ATH79_MACH_RB_951U, /* Mikrotik RouterBOARD 951Ui-2HnD */
95 + ATH79_MACH_RB_2011G, /* Mikrotik RouterBOARD 2011UAS-2HnD */
96 + ATH79_MACH_RB_2011L, /* Mikrotik RouterBOARD 2011L */
97 + ATH79_MACH_RB_2011US, /* Mikrotik RouterBOARD 2011UAS */
98 + ATH79_MACH_RB_2011R5, /* Mikrotik RouterBOARD 2011UiAS(-2Hnd) */
99 + ATH79_MACH_RB_SXTLITE2ND, /* Mikrotik RouterBOARD SXT Lite 2nD */
100 + ATH79_MACH_RB_SXTLITE5ND, /* Mikrotik RouterBOARD SXT Lite 5nD */
101 + ATH79_MACH_RW2458N, /* Redwave RW2458N */
102 + ATH79_MACH_SMART_300, /* NC-LINK SMART-300 */
103 + ATH79_MACH_TEW_632BRP, /* TRENDnet TEW-632BRP */
104 + ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
105 + ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
106 + ATH79_MACH_TEW_732BR, /* TRENDnet TEW-732BR */
107 + ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
108 + ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
109 + ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */
110 + ATH79_MACH_TL_MR3020, /* TP-LINK TL-MR3020 */
111 + ATH79_MACH_TL_MR3040, /* TP-LINK TL-MR3040 */
112 + ATH79_MACH_TL_MR3040_V2, /* TP-LINK TL-MR3040 v2 */
113 + ATH79_MACH_TL_MR3220, /* TP-LINK TL-MR3220 */
114 + ATH79_MACH_TL_MR3220_V2, /* TP-LINK TL-MR3220 v2 */
115 + ATH79_MACH_TL_MR3420, /* TP-LINK TL-MR3420 */
116 + ATH79_MACH_TL_MR3420_V2, /* TP-LINK TL-MR3420 v2 */
117 + ATH79_MACH_TL_WA701ND_V2, /* TP-LINK TL-WA701ND v2 */
118 + ATH79_MACH_TL_WA750RE, /* TP-LINK TL-WA750RE */
119 + ATH79_MACH_TL_WA7510N_V1, /* TP-LINK TL-WA7510N v1*/
120 + ATH79_MACH_TL_WA850RE, /* TP-LINK TL-WA850RE */
121 + ATH79_MACH_TL_WA860RE, /* TP-LINK TL-WA860RE */
122 + ATH79_MACH_TL_WA801ND_V2, /* TP-LINK TL-WA801ND v2 */
123 + ATH79_MACH_TL_WA830RE_V2, /* TP-LINK TL-WA830RE v2 */
124 + ATH79_MACH_TL_WA901ND, /* TP-LINK TL-WA901ND */
125 + ATH79_MACH_TL_WA901ND_V2, /* TP-LINK TL-WA901ND v2 */
126 + ATH79_MACH_TL_WA901ND_V3, /* TP-LINK TL-WA901ND v3 */
127 + ATH79_MACH_TL_WDR3500, /* TP-LINK TL-WDR3500 */
128 + ATH79_MACH_TL_WDR4300, /* TP-LINK TL-WDR4300 */
129 + ATH79_MACH_TL_WDR4900_V2, /* TP-LINK TL-WDR4900 v2 */
130 + ATH79_MACH_TL_WR1041N_V2, /* TP-LINK TL-WR1041N v2 */
131 + ATH79_MACH_TL_WR1043ND, /* TP-LINK TL-WR1043ND */
132 + ATH79_MACH_TL_WR1043ND_V2, /* TP-LINK TL-WR1043ND v2 */
133 + ATH79_MACH_TL_WR2543N, /* TP-LINK TL-WR2543N/ND */
134 + ATH79_MACH_TL_WR703N, /* TP-LINK TL-WR703N */
135 + ATH79_MACH_TL_WR710N, /* TP-LINK TL-WR710N */
136 + ATH79_MACH_TL_WR720N_V3, /* TP-LINK TL-WR720N v3 */
137 + ATH79_MACH_TL_WR741ND, /* TP-LINK TL-WR741ND */
138 + ATH79_MACH_TL_WR741ND_V4, /* TP-LINK TL-WR741ND v4*/
139 + ATH79_MACH_TL_WR841N_V1, /* TP-LINK TL-WR841N v1 */
140 + ATH79_MACH_TL_WR841N_V7, /* TP-LINK TL-WR841N/ND v7 */
141 + ATH79_MACH_TL_WR841N_V8, /* TP-LINK TL-WR841N/ND v8 */
142 + ATH79_MACH_TL_WR841N_V9, /* TP-LINK TL-WR841N/ND v9 */
143 + ATH79_MACH_TL_WR842N_V2, /* TP-LINK TL-WR842N/ND v2 */
144 + ATH79_MACH_TL_WR941ND, /* TP-LINK TL-WR941ND */
145 + ATH79_MACH_TL_WR941ND_V5, /* TP-LINK TL-WR941ND v5 */
146 + ATH79_MACH_TUBE2H, /* Alfa Network Tube2H */
147 + ATH79_MACH_UBNT_AIRGW, /* Ubiquiti AirGateway */
148 ATH79_MACH_UBNT_AIRROUTER, /* Ubiquiti AirRouter */
149 ATH79_MACH_UBNT_BULLET_M, /* Ubiquiti Bullet M */
150 + ATH79_MACH_UBNT_LOCO_M_XW, /* Ubiquiti Loco M XW */
151 + ATH79_MACH_UBNT_LSSR71, /* Ubiquiti LS-SR71 */
152 + ATH79_MACH_UBNT_LSX, /* Ubiquiti LSX */
153 ATH79_MACH_UBNT_NANO_M, /* Ubiquiti NanoStation M */
154 + ATH79_MACH_UBNT_NANO_M_XW, /* Ubiquiti NanoStation M XW */
155 ATH79_MACH_UBNT_ROCKET_M, /* Ubiquiti Rocket M */
156 + ATH79_MACH_UBNT_RSPRO, /* Ubiquiti RouterStation Pro */
157 + ATH79_MACH_UBNT_RS, /* Ubiquiti RouterStation */
158 ATH79_MACH_UBNT_UAP_PRO, /* Ubiquiti UniFi AP Pro */
159 ATH79_MACH_UBNT_UNIFI, /* Ubiquiti Unifi */
160 ATH79_MACH_UBNT_UNIFI_OUTDOOR, /* Ubiquiti UnifiAP Outdoor */
161 + ATH79_MACH_UBNT_UNIFI_OUTDOOR_PLUS, /* Ubiquiti UnifiAP Outdoor+ */
162 ATH79_MACH_UBNT_XM, /* Ubiquiti Networks XM board rev 1.0 */
163 + ATH79_MACH_WHR_G301N, /* Buffalo WHR-G301N */
164 + ATH79_MACH_WHR_HP_G300N, /* Buffalo WHR-HP-G300N */
165 + ATH79_MACH_WHR_HP_GN, /* Buffalo WHR-HP-GN */
166 + ATH79_MACH_WLAE_AG300N, /* Buffalo WLAE-AG300N */
167 + ATH79_MACH_WLR8100, /* SITECOM WLR-8100 */
168 + ATH79_MACH_WNDAP360, /* NETGEAR WNDAP360 */
169 + ATH79_MACH_WNDR3700, /* NETGEAR WNDR3700/WNDR3800/WNDRMAC */
170 + ATH79_MACH_WNDR3700_V4, /* NETGEAR WNDR3700v4 */
171 + ATH79_MACH_WNDR4300, /* NETGEAR WNDR4300 */
172 + ATH79_MACH_WNR2000, /* NETGEAR WNR2000 */
173 + ATH79_MACH_WNR2000_V3, /* NETGEAR WNR2000 v3 */
174 + ATH79_MACH_WNR2000_V4, /* NETGEAR WNR2000 v4 */
175 + ATH79_MACH_WNR2200, /* NETGEAR WNR2200 */
176 + ATH79_MACH_WNR612_V2, /* NETGEAR WNR612 v2 */
177 + ATH79_MACH_WNR1000_V2, /* NETGEAR WNR1000 v2 */
178 + ATH79_MACH_WP543, /* Compex WP543 */
179 + ATH79_MACH_WPE72, /* Compex WPE72 */
180 + ATH79_MACH_WRT160NL, /* Linksys WRT160NL */
181 + ATH79_MACH_WRT400N, /* Linksys WRT400N */
182 + ATH79_MACH_WZR_HP_AG300H, /* Buffalo WZR-HP-AG300H */
183 + ATH79_MACH_WZR_HP_G300NH, /* Buffalo WZR-HP-G300NH */
184 + ATH79_MACH_WZR_HP_G300NH2, /* Buffalo WZR-HP-G300NH2 */
185 + ATH79_MACH_WZR_HP_G450H, /* Buffalo WZR-HP-G450H */
186 + ATH79_MACH_WZR_450HP2, /* Buffalo WZR-450HP2 */
187 + ATH79_MACH_ZCN_1523H_2, /* Zcomax ZCN-1523H-2-xx */
188 + ATH79_MACH_ZCN_1523H_5, /* Zcomax ZCN-1523H-5-xx */
189 };
190
191 #endif /* _ATH79_MACHTYPE_H */
192 --- a/arch/mips/ath79/Kconfig
193 +++ b/arch/mips/ath79/Kconfig
194 @@ -2,6 +2,70 @@ if ATH79
195
196 menu "Atheros AR71XX/AR724X/AR913X machine selection"
197
198 +config ATH79_MACH_ALFA_AP96
199 + bool "ALFA Network AP96 board support"
200 + select SOC_AR71XX
201 + select ATH79_DEV_ETH
202 + select ATH79_DEV_GPIO_BUTTONS
203 + select ATH79_DEV_M25P80
204 + select ATH79_DEV_USB
205 +
206 +config ATH79_MACH_HORNET_UB
207 + bool "ALFA Network Hornet-UB board support"
208 + select SOC_AR933X
209 + select ATH79_DEV_ETH
210 + select ATH79_DEV_GPIO_BUTTONS
211 + select ATH79_DEV_LEDS_GPIO
212 + select ATH79_DEV_M25P80
213 + select ATH79_DEV_USB
214 + select ATH79_DEV_WMAC
215 +
216 +config ATH79_MACH_ALFA_NX
217 + bool "ALFA Network N2/N5 board support"
218 + select SOC_AR724X
219 + select ATH79_DEV_AP9X_PCI if PCI
220 + select ATH79_DEV_ETH
221 + select ATH79_DEV_GPIO_BUTTONS
222 + select ATH79_DEV_LEDS_GPIO
223 + select ATH79_DEV_M25P80
224 +
225 +config ATH79_MACH_TUBE2H
226 + bool "ALFA Network Tube2H board support"
227 + select SOC_AR933X
228 + select ATH79_DEV_ETH
229 + select ATH79_DEV_GPIO_BUTTONS
230 + select ATH79_DEV_LEDS_GPIO
231 + select ATH79_DEV_M25P80
232 + select ATH79_DEV_WMAC
233 +
234 +config ATH79_MACH_ALL0258N
235 + bool "Allnet ALL0258N support"
236 + select SOC_AR724X
237 + select ATH79_DEV_AP9X_PCI if PCI
238 + select ATH79_DEV_ETH
239 + select ATH79_DEV_GPIO_BUTTONS
240 + select ATH79_DEV_LEDS_GPIO
241 + select ATH79_DEV_M25P80
242 +
243 +config ATH79_MACH_ALL0315N
244 + bool "Allnet ALL0315N support"
245 + select SOC_AR724X
246 + select ATH79_DEV_AP9X_PCI if PCI
247 + select ATH79_DEV_ETH
248 + select ATH79_DEV_GPIO_BUTTONS
249 + select ATH79_DEV_LEDS_GPIO
250 + select ATH79_DEV_M25P80
251 +
252 +config ATH79_MACH_AP113
253 + bool "Atheros AP113 board support"
254 + select SOC_AR724X
255 + select ATH79_DEV_M25P80
256 + select ATH79_DEV_PB9X_PCI if PCI
257 + select ATH79_DEV_GPIO_BUTTONS
258 + select ATH79_DEV_LEDS_GPIO
259 + select ATH79_DEV_USB
260 + select ATH79_DEV_ETH
261 +
262 config ATH79_MACH_AP121
263 bool "Atheros AP121 reference board"
264 select SOC_AR933X
265 @@ -11,62 +75,960 @@ config ATH79_MACH_AP121
266 select ATH79_DEV_M25P80
267 select ATH79_DEV_USB
268 select ATH79_DEV_WMAC
269 - help
270 - Say 'Y' here if you want your kernel to support the
271 - Atheros AP121 reference board.
272 + help
273 + Say 'Y' here if you want your kernel to support the
274 + Atheros AP121 reference board.
275 +
276 +config ATH79_MACH_AP132
277 + bool "Atheros AP132 reference board"
278 + select SOC_QCA955X
279 + select ATH79_DEV_GPIO_BUTTONS
280 + select ATH79_DEV_LEDS_GPIO
281 + select ATH79_DEV_M25P80
282 + select ATH79_DEV_USB
283 + select ATH79_DEV_WMAC
284 + help
285 + Say 'Y' here if you want your kernel to support the
286 + Atheros AP132 reference boards.
287 +
288 +config ATH79_MACH_AP136
289 + bool "Atheros AP136/AP135 reference board"
290 + select SOC_QCA955X
291 + select ATH79_DEV_GPIO_BUTTONS
292 + select ATH79_DEV_LEDS_GPIO
293 + select ATH79_DEV_NFC
294 + select ATH79_DEV_M25P80
295 + select ATH79_DEV_USB
296 + select ATH79_DEV_WMAC
297 + help
298 + Say 'Y' here if you want your kernel to support the
299 + Atheros AP136 or AP135 reference boards.
300 +
301 +config ATH79_MACH_AP81
302 + bool "Atheros AP81 reference board"
303 + select SOC_AR913X
304 + select ATH79_DEV_ETH
305 + select ATH79_DEV_GPIO_BUTTONS
306 + select ATH79_DEV_LEDS_GPIO
307 + select ATH79_DEV_M25P80
308 + select ATH79_DEV_USB
309 + select ATH79_DEV_WMAC
310 + help
311 + Say 'Y' here if you want your kernel to support the
312 + Atheros AP81 reference board.
313 +
314 +config ATH79_MACH_AP83
315 + bool "Atheros AP83 board support"
316 + select SOC_AR913X
317 + select ATH79_DEV_GPIO_BUTTONS
318 + select ATH79_DEV_LEDS_GPIO
319 + select ATH79_DEV_USB
320 + select ATH79_DEV_WMAC
321 +
322 +config ATH79_MACH_AP96
323 + bool "Atheros AP96 board support"
324 + select SOC_AR71XX
325 + select ATH79_DEV_AP9X_PCI if PCI
326 + select ATH79_DEV_ETH
327 + select ATH79_DEV_GPIO_BUTTONS
328 + select ATH79_DEV_LEDS_GPIO
329 + select ATH79_DEV_M25P80
330 + select ATH79_DEV_USB
331 +
332 +config ATH79_MACH_DB120
333 + bool "Atheros DB120 reference board"
334 + select SOC_AR934X
335 + select ATH79_DEV_AP9X_PCI if PCI
336 + select ATH79_DEV_ETH
337 + select ATH79_DEV_GPIO_BUTTONS
338 + select ATH79_DEV_LEDS_GPIO
339 + select ATH79_DEV_M25P80
340 + select ATH79_DEV_NFC
341 + select ATH79_DEV_USB
342 + select ATH79_DEV_WMAC
343 + help
344 + Say 'Y' here if you want your kernel to support the
345 + Atheros DB120 reference board.
346 +
347 +config ATH79_MACH_PB42
348 + bool "Atheros PB42 board support"
349 + select SOC_AR71XX
350 + select ATH79_DEV_ETH
351 + select ATH79_DEV_GPIO_BUTTONS
352 + select ATH79_DEV_M25P80
353 +
354 +config ATH79_MACH_PB44
355 + bool "Atheros PB44 reference board"
356 + select SOC_AR71XX
357 + select ATH79_DEV_ETH
358 + select ATH79_DEV_GPIO_BUTTONS
359 + select ATH79_DEV_LEDS_GPIO
360 + select ATH79_DEV_SPI
361 + select ATH79_DEV_USB
362 + help
363 + Say 'Y' here if you want your kernel to support the
364 + Atheros PB44 reference board.
365 +
366 +config ATH79_MACH_PB92
367 + bool "Atheros PB92 board support"
368 + select SOC_AR724X
369 + select ATH79_DEV_ETH
370 + select ATH79_DEV_GPIO_BUTTONS
371 + select ATH79_DEV_LEDS_GPIO
372 + select ATH79_DEV_PB9X_PCI if PCI
373 + select ATH79_DEV_USB
374 +
375 +config ATH79_MACH_AW_NR580
376 + bool "AzureWave AW-NR580 board support"
377 + select SOC_AR71XX
378 + select ATH79_DEV_ETH
379 + select ATH79_DEV_GPIO_BUTTONS
380 + select ATH79_DEV_LEDS_GPIO
381 + select ATH79_DEV_M25P80
382 +
383 +config ATH79_MACH_F9K1115V2
384 + bool "Belkin AC1750DB board support"
385 + select SOC_QCA955X
386 + select ATH79_DEV_ETH
387 + select ATH79_DEV_GPIO_BUTTONS
388 + select ATH79_DEV_LEDS_GPIO
389 + select ATH79_DEV_M25P80
390 + select ATH79_DEV_USB
391 + select ATH79_DEV_WMAC
392 +
393 +config ATH79_MACH_ESR1750
394 + bool "EnGenius ESR1750 board support"
395 + select SOC_QCA955X
396 + select ATH79_DEV_ETH
397 + select ATH79_DEV_GPIO_BUTTONS
398 + select ATH79_DEV_LEDS_GPIO
399 + select ATH79_DEV_M25P80
400 + select ATH79_DEV_USB
401 + select ATH79_DEV_WMAC
402 +
403 +config ATH79_MACH_WHR_HP_G300N
404 + bool "Buffalo WHR-HP-G300N board support"
405 + select SOC_AR724X
406 + select ATH79_DEV_AP9X_PCI if PCI
407 + select ATH79_DEV_ETH
408 + select ATH79_DEV_GPIO_BUTTONS
409 + select ATH79_DEV_LEDS_GPIO
410 + select ATH79_DEV_M25P80
411 +
412 +config ATH79_MACH_WLAE_AG300N
413 + bool "Buffalo WLAE-AG300N board support"
414 + select SOC_AR71XX
415 + select ATH79_DEV_ETH
416 + select ATH79_DEV_GPIO_BUTTONS
417 + select ATH79_DEV_LEDS_GPIO
418 + select ATH79_DEV_M25P80
419 +
420 +config ATH79_MACH_WLR8100
421 + bool "Sitecom WLR-8100 board support"
422 + select SOC_QCA955X
423 + select ATH79_DEV_ETH
424 + select ATH79_DEV_GPIO_BUTTONS
425 + select ATH79_DEV_LEDS_GPIO
426 + select ATH79_DEV_M25P80
427 + select ATH79_DEV_USB
428 + select ATH79_DEV_WMAC
429 +
430 +config ATH79_MACH_WZR_HP_AG300H
431 + bool "Buffalo WZR-HP-AG300H board support"
432 + select SOC_AR71XX
433 + select ATH79_DEV_AP9X_PCI if PCI
434 + select ATH79_DEV_ETH
435 + select ATH79_DEV_GPIO_BUTTONS
436 + select ATH79_DEV_LEDS_GPIO
437 + select ATH79_DEV_M25P80
438 + select ATH79_DEV_USB
439 +
440 +config ATH79_MACH_WZR_HP_G300NH
441 + bool "Buffalo WZR-HP-G300NH board support"
442 + select SOC_AR913X
443 + select ATH79_DEV_ETH
444 + select ATH79_DEV_GPIO_BUTTONS
445 + select ATH79_DEV_LEDS_GPIO
446 + select ATH79_DEV_USB
447 + select ATH79_DEV_WMAC
448 + select RTL8366_SMI
449 +
450 +config ATH79_MACH_WZR_HP_G300NH2
451 + bool "Buffalo WZR-HP-G300NH2 board support"
452 + select SOC_AR724X
453 + select ATH79_DEV_AP9X_PCI if PCI
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_USB
459 +
460 +config ATH79_MACH_WZR_HP_G450H
461 + bool "Buffalo WZR-HP-G450H board support"
462 + select SOC_AR724X
463 + select ATH79_DEV_ETH
464 + select ATH79_DEV_AP9X_PCI if PCI
465 + select ATH79_DEV_GPIO_BUTTONS
466 + select ATH79_DEV_LEDS_GPIO
467 + select ATH79_DEV_M25P80
468 + select ATH79_DEV_USB
469 +
470 +config ATH79_MACH_WZR_450HP2
471 + bool "Buffalo WZR-450HP2 board support"
472 + select SOC_QCA955X
473 + select ATH79_DEV_ETH
474 + select ATH79_DEV_GPIO_BUTTONS
475 + select ATH79_DEV_LEDS_GPIO
476 + select ATH79_DEV_M25P80
477 + select ATH79_DEV_USB
478 + select ATH79_DEV_WMAC
479 +
480 +config ATH79_MACH_WP543
481 + bool "Compex WP543/WPJ543 board support"
482 + select SOC_AR71XX
483 + select ATH79_DEV_ETH
484 + select ATH79_DEV_GPIO_BUTTONS
485 + select ATH79_DEV_LEDS_GPIO
486 + select ATH79_DEV_M25P80
487 + select ATH79_DEV_USB
488 + select MYLOADER
489 +
490 +config ATH79_MACH_WPE72
491 + bool "Compex WPE72/WPE72NX board support"
492 + select SOC_AR724X
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 + select MYLOADER
499 +
500 +config ATH79_MACH_DGL_5500_A1
501 + bool "D-Link DGL-5500 A1 support"
502 + select SOC_QCA955X
503 + select ATH79_DEV_ETH
504 + select ATH79_DEV_GPIO_BUTTONS
505 + select ATH79_DEV_LEDS_GPIO
506 + select ATH79_DEV_M25P80
507 + select ATH79_DEV_WMAC
508 + select ATH79_DEV_USB
509 +
510 +config ATH79_MACH_DHP_1565_A1
511 + bool "D-Link DHP-1565 rev. A1 board support"
512 + select SOC_AR934X
513 + select ATH79_DEV_AP9X_PCI if PCI
514 + select ATH79_DEV_ETH
515 + select ATH79_DEV_GPIO_BUTTONS
516 + select ATH79_DEV_LEDS_GPIO
517 + select ATH79_DEV_M25P80
518 + select ATH79_DEV_USB
519 + select ATH79_DEV_WMAC
520 +
521 +config ATH79_MACH_DIR_505_A1
522 + bool "D-Link DIR-505-A1 support"
523 + select SOC_AR933X
524 + select ATH79_DEV_ETH
525 + select ATH79_DEV_GPIO_BUTTONS
526 + select ATH79_DEV_LEDS_GPIO
527 + select ATH79_DEV_M25P80
528 + select ATH79_DEV_WMAC
529 + select ATH79_NVRAM
530 +
531 +config ATH79_MACH_DIR_600_A1
532 + bool "D-Link DIR-600 A1/DIR-615 E1/DIR-615 E4 support"
533 + select SOC_AR724X
534 + select ATH79_DEV_AP9X_PCI if PCI
535 + select ATH79_DEV_ETH
536 + select ATH79_DEV_GPIO_BUTTONS
537 + select ATH79_DEV_LEDS_GPIO
538 + select ATH79_DEV_M25P80
539 + select ATH79_NVRAM
540 +
541 +config ATH79_MACH_DIR_615_C1
542 + bool "D-Link DIR-615 rev. C1 support"
543 + select SOC_AR913X
544 + select ATH79_DEV_ETH
545 + select ATH79_DEV_GPIO_BUTTONS
546 + select ATH79_DEV_LEDS_GPIO
547 + select ATH79_DEV_M25P80
548 + select ATH79_DEV_WMAC
549 + select ATH79_NVRAM
550 +
551 +config ATH79_MACH_DIR_825_B1
552 + bool "D-Link DIR-825 rev. B1 board support"
553 + select SOC_AR71XX
554 + select ATH79_DEV_AP9X_PCI if PCI
555 + select ATH79_DEV_ETH
556 + select ATH79_DEV_GPIO_BUTTONS
557 + select ATH79_DEV_LEDS_GPIO
558 + select ATH79_DEV_M25P80
559 + select ATH79_DEV_USB
560 +
561 +config ATH79_MACH_DIR_825_C1
562 + bool "D-Link DIR-825 rev. C1/DIR-835 rev. A1 board support"
563 + select SOC_AR934X
564 + select ATH79_DEV_AP9X_PCI if PCI
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_USB
570 + select ATH79_DEV_WMAC
571 +
572 +config ATH79_MACH_DRAGINO2
573 + bool "DRAGINO V2 support"
574 + select SOC_AR933X
575 + select ATH79_DEV_M25P80
576 + select ATH79_DEV_GPIO_BUTTONS
577 + select ATH79_DEV_LEDS_GPIO
578 + select ATH79_DEV_WMAC
579 + select ATH79_DEV_ETH
580 + select ATH79_DEV_USB
581 +
582 +config ATH79_MACH_ESR900
583 + bool "EnGenius ESR900 board support"
584 + select SOC_QCA955X
585 + select ATH79_DEV_ETH
586 + select ATH79_DEV_GPIO_BUTTONS
587 + select ATH79_DEV_LEDS_GPIO
588 + select ATH79_DEV_M25P80
589 + select ATH79_DEV_USB
590 + select ATH79_DEV_WMAC
591 +
592 +config ATH79_MACH_EW_DORIN
593 + bool "embedded wireless Dorin Platform support"
594 + select SOC_AR933X
595 + select ATH79_DEV_M25P80
596 + select ATH79_DEV_GPIO_BUTTONS
597 + select ATH79_DEV_LEDS_GPIO
598 + select ATH79_DEV_WMAC
599 + select ATH79_DEV_ETH
600 + help
601 + Say 'Y' here if you want your kernel to support the
602 + Dorin Platform from www.80211.de .
603 +
604 +config ATH79_MACH_EL_M150
605 + bool "EasyLink EL-M150 support"
606 + select SOC_AR933X
607 + select ATH79_DEV_ETH
608 + select ATH79_DEV_GPIO_BUTTONS
609 + select ATH79_DEV_LEDS_GPIO
610 + select ATH79_DEV_M25P80
611 + select ATH79_DEV_USB
612 + select ATH79_DEV_WMAC
613 +
614 +config ATH79_MACH_EL_MINI
615 + bool "EasyLink EL-MINI support"
616 + select SOC_AR933X
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 + select ATH79_DEV_WMAC
623 +
624 +config ATH79_MACH_GL_INET
625 + bool "GL-INET support"
626 + select SOC_AR933X
627 + select ATH79_DEV_ETH
628 + select ATH79_DEV_GPIO_BUTTONS
629 + select ATH79_DEV_LEDS_GPIO
630 + select ATH79_DEV_M25P80
631 + select ATH79_DEV_USB
632 + select ATH79_DEV_WMAC
633 +
634 +config ATH79_MACH_EAP300V2
635 + bool "EnGenius EAP300 v2 support"
636 + select SOC_AR934X
637 + select ATH79_DEV_ETH
638 + select ATH79_DEV_GPIO_BUTTONS
639 + select ATH79_DEV_LEDS_GPIO
640 + select ATH79_DEV_M25P80
641 + select ATH79_DEV_WMAC
642 +
643 +config ATH79_MACH_GS_OOLITE
644 + bool "GS Oolite V1 support"
645 + select SOC_AR933X
646 + select ARH79_DEV_ETH
647 + select ARH79_DEV_GPIO_BUTTONS
648 + select ATH79_DEV_LEDS_GPIO
649 + select ATH79_DEV_M25P80
650 + select ATH79_DEV_USB
651 + select ATH79_DEV_WMAC
652 +
653 +config ATH79_MACH_HIWIFI_HC6361
654 + bool "HiWiFi HC6361 board support"
655 + select SOC_AR933X
656 + select ATH79_DEV_ETH
657 + select ATH79_DEV_GPIO_BUTTONS
658 + select ATH79_DEV_LEDS_GPIO
659 + select ATH79_DEV_M25P80
660 + select ATH79_DEV_USB
661 + select ATH79_DEV_WMAC
662 +
663 +config ATH79_MACH_JA76PF
664 + bool "jjPlus JA76PF board support"
665 + select SOC_AR71XX
666 + select ATH79_DEV_ETH
667 + select ATH79_DEV_GPIO_BUTTONS
668 + select ATH79_DEV_LEDS_GPIO
669 + select ATH79_DEV_M25P80
670 + select ATH79_DEV_USB
671 +
672 +config ATH79_MACH_JWAP003
673 + bool "jjPlus JWAP003 board support"
674 + select SOC_AR71XX
675 + select ATH79_DEV_ETH
676 + select ATH79_DEV_GPIO_BUTTONS
677 + select ATH79_DEV_M25P80
678 + select ATH79_DEV_USB
679 +
680 +config ATH79_MACH_WRT160NL
681 + bool "Linksys WRT160NL board support"
682 + select SOC_AR913X
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 + select ATH79_NVRAM
690 +
691 +config ATH79_MACH_WRT400N
692 + bool "Linksys WRT400N board support"
693 + select SOC_AR71XX
694 + select ATH79_DEV_AP9X_PCI if PCI
695 + select ATH79_DEV_ETH
696 + select ATH79_DEV_GPIO_BUTTONS
697 + select ATH79_DEV_LEDS_GPIO
698 + select ATH79_DEV_M25P80
699 +
700 +config ATH79_MACH_R6100
701 + bool "NETGEAR R6100 board support"
702 + select SOC_AR934X
703 + select ATH79_DEV_AP9X_PCI if PCI
704 + select ATH79_DEV_ETH
705 + select ATH79_DEV_GPIO_BUTTONS
706 + select ATH79_DEV_LEDS_GPIO
707 + select ATH79_DEV_NFC
708 + select ATH79_DEV_USB
709 + select ATH79_DEV_WMAC
710 +
711 +config ATH79_MACH_RB4XX
712 + bool "MikroTik RouterBOARD 4xx series support"
713 + select SOC_AR71XX
714 + select ATH79_DEV_ETH
715 + select ATH79_DEV_GPIO_BUTTONS
716 + select ATH79_DEV_LEDS_GPIO
717 + select ATH79_DEV_USB
718 +
719 +config ATH79_MACH_RB750
720 + bool "MikroTik RouterBOARD 750 support"
721 + select SOC_AR724X
722 + select ATH79_DEV_AP9X_PCI if PCI
723 + select ATH79_DEV_ETH
724 + select ATH79_DEV_USB
725 + select ATH79_ROUTERBOOT
726 + select RLE_DECOMPRESS
727 +
728 +config ATH79_MACH_RB91X
729 + bool "MikroTik RouterBOARD 91X support"
730 + select SOC_AR934X
731 + select ATH79_DEV_ETH
732 + select ATH79_DEV_SPI
733 + select ATH79_DEV_WMAC
734 + select ATH79_DEV_USB
735 + select ATH79_ROUTERBOOT
736 + select RLE_DECOMPRESS
737 +
738 +config ATH79_MACH_RB95X
739 + bool "MikroTik RouterBOARD 95X support"
740 + select SOC_AR934X
741 + select ATH79_DEV_ETH
742 + select ATH79_DEV_NFC
743 + select ATH79_DEV_WMAC
744 + select ATH79_DEV_USB
745 + select ATH79_ROUTERBOOT
746 + select RLE_DECOMPRESS
747 +
748 +config ATH79_MACH_RB2011
749 + bool "MikroTik RouterBOARD 2011 support"
750 + select SOC_AR934X
751 + select ATH79_DEV_ETH
752 + select ATH79_DEV_M25P80
753 + select ATH79_DEV_NFC
754 + select ATH79_DEV_USB
755 + select ATH79_DEV_WMAC
756 + select ATH79_ROUTERBOOT
757 + select RLE_DECOMPRESS
758 +
759 +config ATH79_MACH_RBSXTLITE
760 + bool "MikroTik RouterBOARD SXT Lite"
761 + select SOC_AR934X
762 + select ATH79_DEV_ETH
763 + select ATH79_DEV_NFC
764 + select ATH79_DEV_WMAC
765 + select ATH79_ROUTERBOOT
766 +
767 +config ATH79_MACH_SMART_300
768 + bool "NC-LINK SMART-300 board support"
769 + select SOC_AR934X
770 + select ATH79_DEV_ETH
771 + select ATH79_DEV_GPIO_BUTTONS
772 + select ATH79_DEV_LEDS_GPIO
773 + select ATH79_DEV_M25P80
774 + select ATH79_DEV_WMAC
775 +
776 +config ATH79_MACH_WNDAP360
777 + bool "NETGEAR WNDAP360 board support"
778 + select SOC_AR71XX
779 + select ATH79_DEV_AP9X_PCI if PCI
780 + select ATH79_DEV_ETH
781 + select ATH79_DEV_GPIO_BUTTONS
782 + select ATH79_DEV_LEDS_GPIO
783 + select ATH79_DEV_M25P80
784 +
785 +config ATH79_MACH_WNDR3700
786 + bool "NETGEAR WNDR3700 board support"
787 + select SOC_AR71XX
788 + select ATH79_DEV_AP9X_PCI if PCI
789 + select ATH79_DEV_ETH
790 + select ATH79_DEV_GPIO_BUTTONS
791 + select ATH79_DEV_LEDS_GPIO
792 + select ATH79_DEV_M25P80
793 + select ATH79_DEV_USB
794 +
795 +config ATH79_MACH_WNDR4300
796 + bool "NETGEAR WNDR3700v4/WNDR4300 board support"
797 + select SOC_AR934X
798 + select ATH79_DEV_AP9X_PCI if PCI
799 + select ATH79_DEV_ETH
800 + select ATH79_DEV_GPIO_BUTTONS
801 + select ATH79_DEV_LEDS_GPIO
802 + select ATH79_DEV_NFC
803 + select ATH79_DEV_USB
804 + select ATH79_DEV_WMAC
805 +
806 +config ATH79_MACH_WNR2000
807 + bool "NETGEAR WNR2000 board support"
808 + select SOC_AR913X
809 + select ATH79_DEV_ETH
810 + select ATH79_DEV_GPIO_BUTTONS
811 + select ATH79_DEV_LEDS_GPIO
812 + select ATH79_DEV_M25P80
813 + select ATH79_DEV_WMAC
814 +
815 +config ATH79_MACH_WNR2000_V3
816 + bool "NETGEAR WNR2000 V3/WNR612 v2/WNR1000 v2 board support"
817 + select SOC_AR724X
818 + select ATH79_DEV_AP9X_PCI if PCI
819 + select ATH79_DEV_ETH
820 + select ATH79_DEV_GPIO_BUTTONS
821 + select ATH79_DEV_LEDS_GPIO
822 + select ATH79_DEV_M25P80
823 +
824 + config ATH79_MACH_WNR2200
825 + bool "NETGEAR WNR2200 board support"
826 + select SOC_AR724X
827 + select ATH79_DEV_AP9X_PCI if PCI
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_USB
833 +
834 +config ATH79_MACH_WNR2000_V4
835 + bool "NETGEAR WNR2000 V4"
836 + select SOC_AR934X
837 + select ATH79_DEV_ETH
838 + select ATH79_DEV_GPIO_BUTTONS
839 + select ATH79_DEV_LEDS_GPIO
840 + select ATH79_DEV_M25P80
841 + select ATH79_DEV_USB
842 + select ATH79_DEV_WMAC
843 +
844 +config ATH79_MACH_OM2P
845 + bool "OpenMesh OM2P board support"
846 + select SOC_AR724X
847 + select SOC_AR933X
848 + select ATH79_DEV_AP9X_PCI if PCI
849 + select ATH79_DEV_ETH
850 + select ATH79_DEV_GPIO_BUTTONS
851 + select ATH79_DEV_LEDS_GPIO
852 + select ATH79_DEV_M25P80
853 + select ATH79_DEV_WMAC
854 +
855 +config ATH79_MACH_OM5P
856 + bool "OpenMesh OM5P board support"
857 + select SOC_AR934X
858 + select ATH79_DEV_ETH
859 + select ATH79_DEV_GPIO_BUTTONS
860 + select ATH79_DEV_LEDS_GPIO
861 + select ATH79_DEV_M25P80
862 + select ATH79_DEV_WMAC
863 +
864 +config ATH79_MACH_MR600
865 + bool "OpenMesh MR600 board support"
866 + select SOC_AR934X
867 + select ATH79_DEV_AP9X_PCI if PCI
868 + select ATH79_DEV_ETH
869 + select ATH79_DEV_GPIO_BUTTONS
870 + select ATH79_DEV_LEDS_GPIO
871 + select ATH79_DEV_M25P80
872 + select ATH79_DEV_WMAC
873 +
874 +config ATH79_MACH_MZK_W04NU
875 + bool "Planex MZK-W04NU board support"
876 + select SOC_AR913X
877 + select ATH79_DEV_ETH
878 + select ATH79_DEV_GPIO_BUTTONS
879 + select ATH79_DEV_LEDS_GPIO
880 + select ATH79_DEV_M25P80
881 + select ATH79_DEV_USB
882 + select ATH79_DEV_WMAC
883 +
884 +config ATH79_MACH_MZK_W300NH
885 + bool "Planex MZK-W300NH board support"
886 + select SOC_AR913X
887 + select ATH79_DEV_ETH
888 + select ATH79_DEV_GPIO_BUTTONS
889 + select ATH79_DEV_LEDS_GPIO
890 + select ATH79_DEV_M25P80
891 + select ATH79_DEV_WMAC
892 +
893 +config ATH79_MACH_RW2458N
894 + bool "Redwave RW2458N board support"
895 + select SOC_AR724X
896 + select ATH79_DEV_AP9X_PCI if PCI
897 + select ATH79_DEV_ETH
898 + select ATH79_DEV_GPIO_BUTTONS
899 + select ATH79_DEV_LEDS_GPIO
900 + select ATH79_DEV_M25P80
901 + select ATH79_DEV_USB
902 +
903 +config ATH79_MACH_CAP4200AG
904 + bool "Senao CAP4200AG support"
905 + select SOC_AR934X
906 + select ATH79_DEV_AP9X_PCI if PCI
907 + select ATH79_DEV_ETH
908 + select ATH79_DEV_GPIO_BUTTONS
909 + select ATH79_DEV_LEDS_GPIO
910 + select ATH79_DEV_M25P80
911 + select ATH79_DEV_WMAC
912 +
913 +config ATH79_MACH_MR900
914 + bool "OpenMesh MR900 board support"
915 + select SOC_QCA955X
916 + select ATH79_DEV_AP9X_PCI if PCI
917 + select ATH79_DEV_ETH
918 + select ATH79_DEV_GPIO_BUTTONS
919 + select ATH79_DEV_LEDS_GPIO
920 + select ATH79_DEV_M25P80
921 + select ATH79_DEV_WMAC
922 +
923 +config ATH79_MACH_EAP7660D
924 + bool "Senao EAP7660D support"
925 + select SOC_AR71XX
926 + select ATH79_DEV_ETH
927 + select ATH79_DEV_GPIO_BUTTONS
928 + select ATH79_DEV_LEDS_GPIO
929 + select ATH79_DEV_M25P80
930 +
931 +config ATH79_MACH_ARCHER_C7
932 + bool "TP-LINK Archer C5/C7/TL-WDR4900 v2 board support"
933 + select SOC_QCA955X
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_DEV_WMAC
941 +
942 +config ATH79_MACH_CPE510
943 + bool "TP-LINK CPE510 support"
944 + select SOC_AR934X
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 +
951 +config ATH79_MACH_TL_MR11U
952 + bool "TP-LINK TL-MR11U/TL-MR3040 support"
953 + select SOC_AR933X
954 + select ATH79_DEV_ETH
955 + select ATH79_DEV_GPIO_BUTTONS
956 + select ATH79_DEV_LEDS_GPIO
957 + select ATH79_DEV_M25P80
958 + select ATH79_DEV_USB
959 + select ATH79_DEV_WMAC
960 +
961 +config ATH79_MACH_TL_MR13U
962 + bool "TP-LINK TL-MR13U support"
963 + select SOC_AR933X
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 + select ATH79_DEV_WMAC
970 +
971 +config ATH79_MACH_TL_MR3020
972 + bool "TP-LINK TL-MR3020 support"
973 + select SOC_AR933X
974 + select ATH79_DEV_ETH
975 + select ATH79_DEV_GPIO_BUTTONS
976 + select ATH79_DEV_LEDS_GPIO
977 + select ATH79_DEV_M25P80
978 + select ATH79_DEV_USB
979 + select ATH79_DEV_WMAC
980 +
981 +config ATH79_MACH_TL_MR3X20
982 + bool "TP-LINK TL-MR3220/3420 support"
983 + select SOC_AR724X
984 + select ATH79_DEV_AP9X_PCI if PCI
985 + select ATH79_DEV_ETH
986 + select ATH79_DEV_GPIO_BUTTONS
987 + select ATH79_DEV_LEDS_GPIO
988 + select ATH79_DEV_M25P80
989 + select ATH79_DEV_USB
990 +
991 +config ATH79_MACH_TL_WAX50RE
992 + bool "TP-LINK TL-WA750/850RE support"
993 + select SOC_AR934X
994 + select ATH79_DEV_ETH
995 + select ATH79_DEV_GPIO_BUTTONS
996 + select ATH79_DEV_LEDS_GPIO
997 + select ATH79_DEV_M25P80
998 + select ATH79_DEV_WMAC
999 +
1000 +config ATH79_MACH_TL_WA701ND_V2
1001 + bool "TP-LINK TL-WA701ND v2 support"
1002 + select SOC_AR933X
1003 + select ATH79_DEV_ETH
1004 + select ATH79_DEV_GPIO_BUTTONS
1005 + select ATH79_DEV_LEDS_GPIO
1006 + select ATH79_DEV_M25P80
1007 + select ATH79_DEV_USB
1008 + select ATH79_DEV_WMAC
1009
1010 -config ATH79_MACH_AP136
1011 - bool "Atheros AP136/AP135 reference board"
1012 - select SOC_QCA955X
1013 +config ATH79_MACH_TL_WA830RE_V2
1014 + bool "TP-LINK TL-WA830RE v2 support"
1015 + select SOC_AR934X
1016 + select ATH79_DEV_ETH
1017 select ATH79_DEV_GPIO_BUTTONS
1018 select ATH79_DEV_LEDS_GPIO
1019 - select ATH79_DEV_NFC
1020 - select ATH79_DEV_SPI
1021 + select ATH79_DEV_M25P80
1022 select ATH79_DEV_USB
1023 select ATH79_DEV_WMAC
1024 - help
1025 - Say 'Y' here if you want your kernel to support the
1026 - Atheros AP136 or AP135 reference boards.
1027
1028 -config ATH79_MACH_AP81
1029 - bool "Atheros AP81 reference board"
1030 +config ATH79_MACH_TL_WA901ND
1031 + bool "TP-LINK TL-WA901ND/TL-WA7510N support"
1032 + select SOC_AR724X
1033 + select ATH79_DEV_AP9X_PCI if PCI
1034 + select ATH79_DEV_ETH
1035 + select ATH79_DEV_GPIO_BUTTONS
1036 + select ATH79_DEV_LEDS_GPIO
1037 + select ATH79_DEV_M25P80
1038 +
1039 +config ATH79_MACH_TL_WA901ND_V2
1040 + bool "TP-LINK TL-WA901ND v2 support"
1041 select SOC_AR913X
1042 select ATH79_DEV_ETH
1043 select ATH79_DEV_GPIO_BUTTONS
1044 select ATH79_DEV_LEDS_GPIO
1045 select ATH79_DEV_M25P80
1046 + select ATH79_DEV_WMAC
1047 +
1048 +config ATH79_MACH_TL_WDR3500
1049 + bool "TP-LINK TL-WDR3500 board support"
1050 + select SOC_AR934X
1051 + select ATH79_DEV_AP9X_PCI if PCI
1052 + select ATH79_DEV_ETH
1053 + select ATH79_DEV_GPIO_BUTTONS
1054 + select ATH79_DEV_LEDS_GPIO
1055 + select ATH79_DEV_M25P80
1056 select ATH79_DEV_USB
1057 select ATH79_DEV_WMAC
1058 - help
1059 - Say 'Y' here if you want your kernel to support the
1060 - Atheros AP81 reference board.
1061
1062 -config ATH79_MACH_DB120
1063 - bool "Atheros DB120 reference board"
1064 +config ATH79_MACH_TL_WDR4300
1065 + bool "TP-LINK TL-WDR3600/4300/4310 board support"
1066 select SOC_AR934X
1067 select ATH79_DEV_AP9X_PCI if PCI
1068 select ATH79_DEV_ETH
1069 select ATH79_DEV_GPIO_BUTTONS
1070 select ATH79_DEV_LEDS_GPIO
1071 select ATH79_DEV_M25P80
1072 - select ATH79_DEV_NFC
1073 select ATH79_DEV_USB
1074 select ATH79_DEV_WMAC
1075 - help
1076 - Say 'Y' here if you want your kernel to support the
1077 - Atheros DB120 reference board.
1078
1079 -config ATH79_MACH_PB44
1080 - bool "Atheros PB44 reference board"
1081 +config ATH79_MACH_TL_WR703N
1082 + bool "TP-LINK TL-WR703N/TL-WR710N/TL-MR10U support"
1083 + select SOC_AR933X
1084 + select ATH79_DEV_ETH
1085 + select ATH79_DEV_GPIO_BUTTONS
1086 + select ATH79_DEV_LEDS_GPIO
1087 + select ATH79_DEV_M25P80
1088 + select ATH79_DEV_USB
1089 + select ATH79_DEV_WMAC
1090 +
1091 +config ATH79_MACH_TL_WR720N_V3
1092 + bool "TP-LINK TL-WR720N v3 support"
1093 + select SOC_AR933X
1094 + select ATH79_DEV_ETH
1095 + select ATH79_DEV_GPIO_BUTTONS
1096 + select ATH79_DEV_LEDS_GPIO
1097 + select ATH79_DEV_M25P80
1098 + select ATH79_DEV_USB
1099 + select ATH79_DEV_WMAC
1100 +
1101 +config ATH79_MACH_TL_WR741ND
1102 + bool "TP-LINK TL-WR741ND support"
1103 + select SOC_AR724X
1104 + select ATH79_DEV_AP9X_PCI if PCI
1105 + select ATH79_DEV_ETH
1106 + select ATH79_DEV_GPIO_BUTTONS
1107 + select ATH79_DEV_LEDS_GPIO
1108 + select ATH79_DEV_M25P80
1109 +
1110 +config ATH79_MACH_TL_WR741ND_V4
1111 + bool "TP-LINK TL-WR741ND v4/TL-MR3220 v2 support"
1112 + select SOC_AR933X
1113 + select ATH79_DEV_ETH
1114 + select ATH79_DEV_GPIO_BUTTONS
1115 + select ATH79_DEV_LEDS_GPIO
1116 + select ATH79_DEV_M25P80
1117 + select ATH79_DEV_USB
1118 + select ATH79_DEV_WMAC
1119 +
1120 +config ATH79_MACH_TL_WR841N_V1
1121 + bool "TP-LINK TL-WR841N v1 support"
1122 select SOC_AR71XX
1123 + select ATH79_DEV_DSA
1124 select ATH79_DEV_ETH
1125 select ATH79_DEV_GPIO_BUTTONS
1126 select ATH79_DEV_LEDS_GPIO
1127 - select ATH79_DEV_SPI
1128 + select ATH79_DEV_M25P80
1129 +
1130 +config ATH79_MACH_TL_WR841N_V8
1131 + bool "TP-LINK TL-WR841N/ND v8/TL-MR3420 v2 support"
1132 + select SOC_AR934X
1133 + select ATH79_DEV_ETH
1134 + select ATH79_DEV_GPIO_BUTTONS
1135 + select ATH79_DEV_LEDS_GPIO
1136 + select ATH79_DEV_M25P80
1137 + select ATH79_DEV_USB
1138 + select ATH79_DEV_WMAC
1139 +
1140 +config ATH79_MACH_TL_WR841N_V9
1141 + bool "TP-LINK TL-WR841N/ND v9 support"
1142 + select SOC_QCA953X
1143 + select ATH79_DEV_ETH
1144 + select ATH79_DEV_GPIO_BUTTONS
1145 + select ATH79_DEV_LEDS_GPIO
1146 + select ATH79_DEV_M25P80
1147 + select ATH79_DEV_WMAC
1148 +
1149 +config ATH79_MACH_TL_WR941ND
1150 + bool "TP-LINK TL-WR941ND support"
1151 + select SOC_AR913X
1152 + select ATH79_DEV_DSA
1153 + select ATH79_DEV_ETH
1154 + select ATH79_DEV_GPIO_BUTTONS
1155 + select ATH79_DEV_LEDS_GPIO
1156 + select ATH79_DEV_M25P80
1157 + select ATH79_DEV_WMAC
1158 +
1159 +config ATH79_MACH_TL_WR1041N_V2
1160 + bool "TP-LINK TL-WR1041N v2 support"
1161 + select SOC_AR934X
1162 + select ATH79_DEV_AP9X_PCI if PCI
1163 + select ATH79_DEV_ETH
1164 + select ATH79_DEV_GPIO_BUTTONS
1165 + select ATH79_DEV_LEDS_GPIO
1166 + select ATH79_DEV_M25P80
1167 + select ATH79_DEV_USB
1168 + select ATH79_DEV_WMAC
1169 +
1170 +config ATH79_MACH_TL_WR1043ND
1171 + bool "TP-LINK TL-WR1043ND support"
1172 + select SOC_AR913X
1173 + select ATH79_DEV_ETH
1174 + select ATH79_DEV_GPIO_BUTTONS
1175 + select ATH79_DEV_LEDS_GPIO
1176 + select ATH79_DEV_M25P80
1177 + select ATH79_DEV_USB
1178 + select ATH79_DEV_WMAC
1179 +
1180 +config ATH79_MACH_TL_WR1043ND_V2
1181 + bool "TP-LINK TL-WR1043ND v2 support"
1182 + select SOC_QCA955X
1183 + select ATH79_DEV_ETH
1184 + select ATH79_DEV_GPIO_BUTTONS
1185 + select ATH79_DEV_LEDS_GPIO
1186 + select ATH79_DEV_M25P80
1187 + select ATH79_DEV_USB
1188 + select ATH79_DEV_WMAC
1189 +
1190 +config ATH79_MACH_TL_WR2543N
1191 + bool "TP-LINK TL-WR2543N/ND support"
1192 + select SOC_AR724X
1193 + select ATH79_DEV_AP9X_PCI if PCI
1194 + select ATH79_DEV_ETH
1195 + select ATH79_DEV_GPIO_BUTTONS
1196 + select ATH79_DEV_LEDS_GPIO
1197 + select ATH79_DEV_M25P80
1198 + select ATH79_DEV_USB
1199 +
1200 +config ATH79_MACH_TEW_632BRP
1201 + bool "TRENDnet TEW-632BRP support"
1202 + select SOC_AR913X
1203 + select ATH79_DEV_ETH
1204 + select ATH79_DEV_GPIO_BUTTONS
1205 + select ATH79_DEV_LEDS_GPIO
1206 + select ATH79_DEV_M25P80
1207 + select ATH79_DEV_WMAC
1208 + select ATH79_NVRAM
1209 +
1210 +config ATH79_MACH_TEW_673GRU
1211 + bool "TRENDnet TEW-673GRU support"
1212 + select SOC_AR71XX
1213 + select ATH79_DEV_AP9X_PCI if PCI
1214 + select ATH79_DEV_ETH
1215 + select ATH79_DEV_GPIO_BUTTONS
1216 + select ATH79_DEV_LEDS_GPIO
1217 + select ATH79_DEV_M25P80
1218 + select ATH79_DEV_USB
1219 + select ATH79_NVRAM
1220 +
1221 +config ATH79_MACH_TEW_712BR
1222 + bool "TRENDnet TEW-712BR support"
1223 + select SOC_AR933X
1224 + select ATH79_DEV_ETH
1225 + select ATH79_DEV_GPIO_BUTTONS
1226 + select ATH79_DEV_LEDS_GPIO
1227 + select ATH79_DEV_M25P80
1228 + select ATH79_DEV_WMAC
1229 + select ATH79_NVRAM
1230 +
1231 +config ATH79_MACH_TEW_732BR
1232 + bool "TRENDnet TEW-732BR support"
1233 + select SOC_AR934X
1234 + select ATH79_DEV_ETH
1235 + select ATH79_DEV_GPIO_BUTTONS
1236 + select ATH79_DEV_LEDS_GPIO
1237 + select ATH79_DEV_M25P80
1238 + select ATH79_DEV_WMAC
1239 +
1240 +config ATH79_MACH_UBNT
1241 + bool "Ubiquiti AR71xx based boards support"
1242 + select SOC_AR71XX
1243 + select ATH79_DEV_ETH
1244 + select ATH79_DEV_GPIO_BUTTONS
1245 + select ATH79_DEV_LEDS_GPIO
1246 + select ATH79_DEV_M25P80
1247 select ATH79_DEV_USB
1248 - help
1249 - Say 'Y' here if you want your kernel to support the
1250 - Atheros PB44 reference board.
1251
1252 config ATH79_MACH_UBNT_XM
1253 bool "Ubiquiti Networks XM/UniFi boards"
1254 @@ -83,6 +1045,97 @@ config ATH79_MACH_UBNT_XM
1255 Say 'Y' here if you want your kernel to support the
1256 Ubiquiti Networks XM (rev 1.0) board.
1257
1258 +config ATH79_MACH_MYNET_N600
1259 + bool "WD My Net N600 board support"
1260 + select SOC_AR934X
1261 + select ATH79_DEV_ETH
1262 + select ATH79_DEV_GPIO_BUTTONS
1263 + select ATH79_DEV_LEDS_GPIO
1264 + select ATH79_DEV_M25P80
1265 + select ATH79_DEV_WMAC
1266 + select ATH79_NVRAM
1267 +
1268 +config ATH79_MACH_MYNET_N750
1269 + bool "WD My Net N750 board support"
1270 + select SOC_AR934X
1271 + select ATH79_DEV_ETH
1272 + select ATH79_DEV_GPIO_BUTTONS
1273 + select ATH79_DEV_LEDS_GPIO
1274 + select ATH79_DEV_M25P80
1275 + select ATH79_DEV_WMAC
1276 + select ATH79_NVRAM
1277 +
1278 +config ATH79_MACH_MYNET_REXT
1279 + bool "WD My Net Wi-Fi Range Extender board support"
1280 + select SOC_AR934X
1281 + select ATH79_DEV_AP9X_PCI if PCI
1282 + select ATH79_DEV_ETH
1283 + select ATH79_DEV_GPIO_BUTTONS
1284 + select ATH79_DEV_LEDS_GPIO
1285 + select ATH79_DEV_M25P80
1286 + select ATH79_DEV_WMAC
1287 + select ATH79_NVRAM
1288 +
1289 +config ATH79_MACH_ZCN_1523H
1290 + bool "Zcomax ZCN-1523H support"
1291 + select SOC_AR724X
1292 + select ATH79_DEV_AP9X_PCI if PCI
1293 + select ATH79_DEV_ETH
1294 + select ATH79_DEV_GPIO_BUTTONS
1295 + select ATH79_DEV_LEDS_GPIO
1296 + select ATH79_DEV_M25P80
1297 +
1298 +config ATH79_MACH_NBG460N
1299 + bool "Zyxel NBG460N/550N/550NH board support"
1300 + select SOC_AR913X
1301 + select ATH79_DEV_ETH
1302 + select ATH79_DEV_GPIO_BUTTONS
1303 + select ATH79_DEV_LEDS_GPIO
1304 + select ATH79_DEV_M25P80
1305 + select ATH79_DEV_WMAC
1306 +
1307 +config ATH79_MACH_NBG6716
1308 + bool "Zyxel NBG6716 board support"
1309 + select SOC_QCA955X
1310 + select ATH79_DEV_ETH
1311 + select ATH79_DEV_GPIO_BUTTONS
1312 + select ATH79_DEV_LEDS_GPIO
1313 + select ATH79_DEV_M25P80
1314 + select ATH79_DEV_NFC
1315 + select ATH79_DEV_USB
1316 + select ATH79_DEV_WMAC
1317 +
1318 +config ATH79_MACH_CARAMBOLA2
1319 + bool "8devices Carambola2 board"
1320 + select SOC_AR933X
1321 + select ATH79_DEV_ETH
1322 + select ATH79_DEV_GPIO_BUTTONS
1323 + select ATH79_DEV_LEDS_GPIO
1324 + select ATH79_DEV_M25P80
1325 + select ATH79_DEV_USB
1326 + select ATH79_DEV_WMAC
1327 +
1328 +config ATH79_MACH_BHU_BXU2000N2_A
1329 + bool "BHU BXU2000n-2 rev. A support"
1330 + select SOC_AR934X
1331 + select ATH79_DEV_ETH
1332 + select ATH79_DEV_GPIO_BUTTONS
1333 + select ATH79_DEV_LEDS_GPIO
1334 + select ATH79_DEV_M25P80
1335 + select ATH79_DEV_USB
1336 + select ATH79_DEV_WMAC
1337 +
1338 +config ATH79_MACH_QIHOO_C301
1339 + bool "Qihoo 360 C301 board support"
1340 + select SOC_AR934X
1341 + select ATH79_DEV_ETH
1342 + select ATH79_DEV_GPIO_BUTTONS
1343 + select ATH79_DEV_LEDS_GPIO
1344 + select ATH79_DEV_M25P80
1345 + select ATH79_DEV_WMAC
1346 + select ATH79_DEV_USB
1347 + select ATH79_NVRAM
1348 +
1349 endmenu
1350
1351 config SOC_AR71XX
1352 @@ -124,7 +1177,10 @@ config ATH79_DEV_DSA
1353 config ATH79_DEV_ETH
1354 def_bool n
1355
1356 -config PCI_AR724X
1357 +config ATH79_DEV_DSA
1358 + def_bool n
1359 +
1360 +config ATH79_DEV_ETH
1361 def_bool n
1362
1363 config ATH79_DEV_GPIO_BUTTONS
1364 @@ -156,4 +1212,7 @@ config ATH79_PCI_ATH9K_FIXUP
1365 config ATH79_ROUTERBOOT
1366 def_bool n
1367
1368 +config PCI_AR724X
1369 + def_bool n
1370 +
1371 endif
1372 --- a/arch/mips/ath79/Makefile
1373 +++ b/arch/mips/ath79/Makefile
1374 @@ -38,9 +38,117 @@ obj-$(CONFIG_ATH79_ROUTERBOOT) += route
1375 #
1376 # Machines
1377 #
1378 +obj-$(CONFIG_ATH79_MACH_ALFA_AP96) += mach-alfa-ap96.o
1379 +obj-$(CONFIG_ATH79_MACH_ALFA_NX) += mach-alfa-nx.o
1380 +obj-$(CONFIG_ATH79_MACH_ALL0258N) += mach-all0258n.o
1381 +obj-$(CONFIG_ATH79_MACH_ALL0315N) += mach-all0315n.o
1382 +obj-$(CONFIG_ATH79_MACH_AP113) += mach-ap113.o
1383 obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
1384 +obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
1385 obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
1386 obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
1387 +obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
1388 +obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
1389 +obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
1390 +obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
1391 +obj-$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A)+= mach-bhu-bxu2000n2-a.o
1392 +obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
1393 +obj-$(CONFIG_ATH79_MACH_CPE510) += mach-cpe510.o
1394 obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
1395 +obj-$(CONFIG_ATH79_MACH_DGL_5500_A1) += mach-dgl-5500-a1.o
1396 +obj-$(CONFIG_ATH79_MACH_DHP_1565_A1) += mach-dhp-1565-a1.o
1397 +obj-$(CONFIG_ATH79_MACH_DIR_505_A1) += mach-dir-505-a1.o
1398 +obj-$(CONFIG_ATH79_MACH_DIR_600_A1) += mach-dir-600-a1.o
1399 +obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += mach-dir-615-c1.o
1400 +obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
1401 +obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
1402 +obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
1403 +obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
1404 +obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
1405 +obj-$(CONFIG_ATH79_MACH_EAP300V2) += mach-eap300v2.o
1406 +obj-$(CONFIG_ATH79_MACH_EAP7660D) += mach-eap7660d.o
1407 +obj-$(CONFIG_ATH79_MACH_EL_M150) += mach-el-m150.o
1408 +obj-$(CONFIG_ATH79_MACH_EL_MINI) += mach-el-mini.o
1409 +obj-$(CONFIG_ATH79_MACH_ESR1750) += mach-esr1750.o
1410 +obj-$(CONFIG_ATH79_MACH_F9K1115V2) += mach-f9k1115v2.o
1411 +obj-$(CONFIG_ATH79_MACH_GL_INET) += mach-gl-inet.o
1412 +obj-$(CONFIG_ATH79_MACH_GS_OOLITE) += mach-gs-oolite.o
1413 +obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) += mach-hiwifi-hc6361.o
1414 +obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
1415 +obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
1416 +obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
1417 +obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
1418 +obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
1419 +obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
1420 +obj-$(CONFIG_ATH79_MACH_MYNET_N750) += mach-mynet-n750.o
1421 +obj-$(CONFIG_ATH79_MACH_MYNET_REXT) += mach-mynet-rext.o
1422 +obj-$(CONFIG_ATH79_MACH_MZK_W04NU) += mach-mzk-w04nu.o
1423 +obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += mach-mzk-w300nh.o
1424 +obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
1425 +obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
1426 +obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
1427 +obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
1428 obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
1429 +obj-$(CONFIG_ATH79_MACH_PB92) += mach-pb92.o
1430 +obj-$(CONFIG_ATH79_MACH_QIHOO_C301) += mach-qihoo-c301.o
1431 +obj-$(CONFIG_ATH79_MACH_R6100) += mach-r6100.o
1432 +obj-$(CONFIG_ATH79_MACH_RB4XX) += mach-rb4xx.o
1433 +obj-$(CONFIG_ATH79_MACH_RB750) += mach-rb750.o
1434 +obj-$(CONFIG_ATH79_MACH_RB91X) += mach-rb91x.o
1435 +obj-$(CONFIG_ATH79_MACH_RB95X) += mach-rb95x.o
1436 +obj-$(CONFIG_ATH79_MACH_RB2011) += mach-rb2011.o
1437 +obj-$(CONFIG_ATH79_MACH_RBSXTLITE) += mach-rbsxtlite.o
1438 +obj-$(CONFIG_ATH79_MACH_RW2458N) += mach-rw2458n.o
1439 +obj-$(CONFIG_ATH79_MACH_SMART_300) += mach-smart-300.o
1440 +obj-$(CONFIG_ATH79_MACH_TEW_632BRP) += mach-tew-632brp.o
1441 +obj-$(CONFIG_ATH79_MACH_TEW_673GRU) += mach-tew-673gru.o
1442 +obj-$(CONFIG_ATH79_MACH_TEW_712BR) += mach-tew-712br.o
1443 +obj-$(CONFIG_ATH79_MACH_TEW_732BR) += mach-tew-732br.o
1444 +obj-$(CONFIG_ATH79_MACH_TL_MR11U) += mach-tl-mr11u.o
1445 +obj-$(CONFIG_ATH79_MACH_TL_MR13U) += mach-tl-mr13u.o
1446 +obj-$(CONFIG_ATH79_MACH_TL_MR3020) += mach-tl-mr3020.o
1447 +obj-$(CONFIG_ATH79_MACH_TL_MR3X20) += mach-tl-mr3x20.o
1448 +obj-$(CONFIG_ATH79_MACH_TL_WAX50RE) += mach-tl-wax50re.o
1449 +obj-$(CONFIG_ATH79_MACH_TL_WA701ND_V2) += mach-tl-wa701nd-v2.o
1450 +obj-$(CONFIG_ATH79_MACH_TL_WA830RE_V2) += mach-tl-wa830re-v2.o
1451 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND) += mach-tl-wa901nd.o
1452 +obj-$(CONFIG_ATH79_MACH_TL_WA901ND_V2) += mach-tl-wa901nd-v2.o
1453 +obj-$(CONFIG_ATH79_MACH_TL_WDR3500) += mach-tl-wdr3500.o
1454 +obj-$(CONFIG_ATH79_MACH_TL_WDR4300) += mach-tl-wdr4300.o
1455 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND) += mach-tl-wr741nd.o
1456 +obj-$(CONFIG_ATH79_MACH_TL_WR741ND_V4) += mach-tl-wr741nd-v4.o
1457 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V1) += mach-tl-wr841n.o
1458 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V8) += mach-tl-wr841n-v8.o
1459 +obj-$(CONFIG_ATH79_MACH_TL_WR841N_V9) += mach-tl-wr841n-v9.o
1460 +obj-$(CONFIG_ATH79_MACH_TL_WR941ND) += mach-tl-wr941nd.o
1461 +obj-$(CONFIG_ATH79_MACH_TL_WR1041N_V2) += mach-tl-wr1041n-v2.o
1462 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND) += mach-tl-wr1043nd.o
1463 +obj-$(CONFIG_ATH79_MACH_TL_WR1043ND_V2) += mach-tl-wr1043nd-v2.o
1464 +obj-$(CONFIG_ATH79_MACH_TL_WR2543N) += mach-tl-wr2543n.o
1465 +obj-$(CONFIG_ATH79_MACH_TL_WR703N) += mach-tl-wr703n.o
1466 +obj-$(CONFIG_ATH79_MACH_TL_WR720N_V3) += mach-tl-wr720n-v3.o
1467 +obj-$(CONFIG_ATH79_MACH_TUBE2H) += mach-tube2h.o
1468 +obj-$(CONFIG_ATH79_MACH_UBNT) += mach-ubnt.o
1469 obj-$(CONFIG_ATH79_MACH_UBNT_XM) += mach-ubnt-xm.o
1470 +obj-$(CONFIG_ATH79_MACH_WHR_HP_G300N) += mach-whr-hp-g300n.o
1471 +obj-$(CONFIG_ATH79_MACH_WLAE_AG300N) += mach-wlae-ag300n.o
1472 +obj-$(CONFIG_ATH79_MACH_WLR8100) += mach-wlr8100.o
1473 +obj-$(CONFIG_ATH79_MACH_WNDAP360) += mach-wndap360.o
1474 +obj-$(CONFIG_ATH79_MACH_WNDR3700) += mach-wndr3700.o
1475 +obj-$(CONFIG_ATH79_MACH_WNDR4300) += mach-wndr4300.o
1476 +obj-$(CONFIG_ATH79_MACH_WNR2000) += mach-wnr2000.o
1477 +obj-$(CONFIG_ATH79_MACH_WNR2000_V3) += mach-wnr2000-v3.o
1478 +obj-$(CONFIG_ATH79_MACH_WNR2000_V4) += mach-wnr2000-v4.o
1479 +obj-$(CONFIG_ATH79_MACH_WNR2200) += mach-wnr2200.o
1480 +obj-$(CONFIG_ATH79_MACH_WP543) += mach-wp543.o
1481 +obj-$(CONFIG_ATH79_MACH_WPE72) += mach-wpe72.o
1482 +obj-$(CONFIG_ATH79_MACH_WRT160NL) += mach-wrt160nl.o
1483 +obj-$(CONFIG_ATH79_MACH_WRT400N) += mach-wrt400n.o
1484 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH) += mach-wzr-hp-g300nh.o
1485 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G300NH2) += mach-wzr-hp-g300nh2.o
1486 +obj-$(CONFIG_ATH79_MACH_WZR_HP_AG300H) += mach-wzr-hp-ag300h.o
1487 +obj-$(CONFIG_ATH79_MACH_WZR_HP_G450H) += mach-wzr-hp-g450h.o
1488 +obj-$(CONFIG_ATH79_MACH_WZR_450HP2) += mach-wzr-450hp2.o
1489 +obj-$(CONFIG_ATH79_MACH_ZCN_1523H) += mach-zcn-1523h.o
1490 +obj-$(CONFIG_ATH79_MACH_CARAMBOLA2) += mach-carambola2.o
1491 +obj-$(CONFIG_ATH79_MACH_NBG6716) += mach-nbg6716.o
1492 --- a/arch/mips/ath79/prom.c
1493 +++ b/arch/mips/ath79/prom.c
1494 @@ -180,6 +180,12 @@ void __init prom_init(void)
1495 ath79_prom_append_cmdline("board", env);
1496 }
1497 }
1498 +
1499 + if (strstr(arcs_cmdline, "board=750Gr3") ||
1500 + strstr(arcs_cmdline, "board=951G") ||
1501 + strstr(arcs_cmdline, "board=2011L") ||
1502 + strstr(arcs_cmdline, "board=711Gr100"))
1503 + ath79_prom_append_cmdline("console", "ttyS0,115200");
1504 }
1505
1506 void __init prom_free_prom_memory(void)