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