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