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