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