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