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