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