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