source: trunk/target/linux/ar71xx/files/arch/mips/ar71xx/Kconfig @ 28567

Last change on this file since 28567 was 28567, checked in by juhosg, 5 years ago

ar71xx: Buffalo WHR-HP-G300N kernel support

The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:

Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0

Signed-off-by: Yoichi Shinoda <shinoda@…>

File size: 9.3 KB
Line 
1if ATHEROS_AR71XX
2
3menu "Atheros AR71xx machine selection"
4config AR71XX_MACH_ALL0258N
5        bool "Allnet ALL0258N support"
6        select SOC_AR724X
7        select AR71XX_DEV_M25P80
8        select AR71XX_DEV_AP91_PCI if PCI
9        select AR71XX_DEV_GPIO_BUTTONS
10        select AR71XX_DEV_LEDS_GPIO
11
12config AR71XX_MACH_AP81
13        bool "Atheros AP81 board support"
14        select SOC_AR913X
15        select AR71XX_DEV_M25P80
16        select AR71XX_DEV_AR9XXX_WMAC
17        select AR71XX_DEV_GPIO_BUTTONS
18        select AR71XX_DEV_LEDS_GPIO
19        select AR71XX_DEV_USB
20
21config AR71XX_MACH_AP83
22        bool "Atheros AP83 board support"
23        select SOC_AR913X
24        select AR71XX_DEV_AR9XXX_WMAC
25        select AR71XX_DEV_GPIO_BUTTONS
26        select AR71XX_DEV_LEDS_GPIO
27        select AR71XX_DEV_USB
28
29config AR71XX_MACH_AP96
30        bool "Atheros AP96 board support"
31        select SOC_AR71XX
32        select AR71XX_DEV_M25P80
33        select AR71XX_DEV_AP94_PCI if PCI
34        select AR71XX_DEV_GPIO_BUTTONS
35        select AR71XX_DEV_LEDS_GPIO
36        select AR71XX_DEV_USB
37
38config AR71XX_MACH_AP121
39        bool "Atheros AP121 board support"
40        select AR71XX_DEV_M25P80
41        select AR71XX_DEV_GPIO_BUTTONS
42        select AR71XX_DEV_LEDS_GPIO
43        select AR71XX_DEV_USB
44        select AR71XX_DEV_AR9XXX_WMAC
45        select SOC_AR933X
46
47config AR71XX_MACH_DB120
48        bool "Atheros DB120 board support"
49        select SOC_AR934X
50        select AR71XX_DEV_AR9XXX_WMAC
51        select AR71XX_DEV_DB120_PCI if PCI
52        select AR71XX_DEV_GPIO_BUTTONS
53        select AR71XX_DEV_LEDS_GPIO
54        select AR71XX_DEV_USB
55
56config AR71XX_MACH_DIR_600_A1
57        bool "D-Link DIR-600 rev. A1 support"
58        select SOC_AR724X
59        select AR71XX_DEV_AP91_PCI if PCI
60        select AR71XX_DEV_M25P80
61        select AR71XX_DEV_GPIO_BUTTONS
62        select AR71XX_DEV_LEDS_GPIO
63        select AR71XX_NVRAM
64
65config AR71XX_MACH_DIR_615_C1
66        bool "D-Link DIR-615 rev. C1 support"
67        select SOC_AR913X
68        select AR71XX_DEV_M25P80
69        select AR71XX_DEV_AR9XXX_WMAC
70        select AR71XX_DEV_GPIO_BUTTONS
71        select AR71XX_DEV_LEDS_GPIO
72        select AR71XX_NVRAM
73
74config AR71XX_MACH_DIR_825_B1
75        bool "D-Link DIR-825 rev. B1 board support"
76        select SOC_AR71XX
77        select AR71XX_DEV_M25P80
78        select AR71XX_DEV_AP94_PCI if PCI
79        select AR71XX_DEV_GPIO_BUTTONS
80        select AR71XX_DEV_LEDS_GPIO
81        select AR71XX_DEV_USB
82
83config AR71XX_MACH_JA76PF
84        bool "jjPlus JA76PF board support"
85        select SOC_AR71XX
86        select AR71XX_DEV_M25P80
87        select AR71XX_DEV_GPIO_BUTTONS
88        select AR71XX_DEV_PB42_PCI if PCI
89        select AR71XX_DEV_LEDS_GPIO
90        select AR71XX_DEV_USB
91
92config AR71XX_MACH_JWAP003
93        bool "jjPlus JWAP003 board support"
94        select SOC_AR71XX
95        select AR71XX_DEV_M25P80
96        select AR71XX_DEV_GPIO_BUTTONS
97        select AR71XX_DEV_PB42_PCI if PCI
98        select AR71XX_DEV_USB
99
100config AR71XX_MACH_PB42
101        bool "Atheros PB42 board support"
102        select SOC_AR71XX
103        select AR71XX_DEV_M25P80
104        select AR71XX_DEV_GPIO_BUTTONS
105        select AR71XX_DEV_PB42_PCI if PCI
106
107config AR71XX_MACH_PB44
108        bool "Atheros PB44 board support"
109        select SOC_AR71XX
110        select AR71XX_DEV_GPIO_BUTTONS
111        select AR71XX_DEV_PB42_PCI if PCI
112        select AR71XX_DEV_LEDS_GPIO
113        select AR71XX_DEV_USB
114
115config AR71XX_MACH_PB92
116        bool "Atheros PB92 board support"
117        select SOC_AR724X
118        select AR71XX_DEV_GPIO_BUTTONS
119        select AR71XX_DEV_PB9X_PCI if PCI
120        select AR71XX_DEV_LEDS_GPIO
121        select AR71XX_DEV_USB
122
123config AR71XX_MACH_AW_NR580
124        bool "AzureWave AW-NR580 board support"
125        select SOC_AR71XX
126        select AR71XX_DEV_M25P80
127        select AR71XX_DEV_GPIO_BUTTONS
128        select AR71XX_DEV_PB42_PCI if PCI
129        select AR71XX_DEV_LEDS_GPIO
130
131config AR71XX_MACH_WZR_HP_AG300H
132        bool "Buffalo WZR-HP-AG300H board support"
133        select SOC_AR71XX
134        select AR71XX_DEV_M25P80
135        select AR71XX_DEV_GPIO_BUTTONS
136        select AR71XX_DEV_LEDS_GPIO
137        select AR71XX_DEV_USB
138
139config AR71XX_MACH_WZR_HP_G300NH
140        bool "Buffalo WZR-HP-G300NH board support"
141        select SOC_AR913X
142        select AR71XX_DEV_AR9XXX_WMAC
143        select AR71XX_DEV_GPIO_BUTTONS
144        select AR71XX_DEV_LEDS_GPIO
145        select AR71XX_DEV_USB
146        select RTL8366_SMI
147
148config AR71XX_MACH_WHR_HP_G300N
149        bool "Buffalo WHR-HP-G300N board support"
150        select SOC_AR724X
151        select AR71XX_DEV_M25P80
152        select AR71XX_DEV_AP91_PCI if PCI
153        select AR71XX_DEV_GPIO_BUTTONS
154        select AR71XX_DEV_LEDS_GPIO
155
156config AR71XX_MACH_WP543
157        bool "Compex WP543/WPJ543 board support"
158        select SOC_AR71XX
159        select MYLOADER
160        select AR71XX_DEV_M25P80
161        select AR71XX_DEV_GPIO_BUTTONS
162        select AR71XX_DEV_PB42_PCI if PCI
163        select AR71XX_DEV_LEDS_GPIO
164        select AR71XX_DEV_USB
165
166config AR71XX_MACH_WRT160NL
167        bool "Linksys WRT160NL board support"
168        select SOC_AR913X
169        select AR71XX_DEV_M25P80
170        select AR71XX_DEV_AR9XXX_WMAC
171        select AR71XX_DEV_GPIO_BUTTONS
172        select AR71XX_DEV_LEDS_GPIO
173        select AR71XX_DEV_USB
174        select AR71XX_NVRAM
175
176config AR71XX_MACH_WRT400N
177        bool "Linksys WRT400N board support"
178        select SOC_AR71XX
179        select AR71XX_DEV_AP94_PCI if PCI
180        select AR71XX_DEV_M25P80
181        select AR71XX_DEV_GPIO_BUTTONS
182        select AR71XX_DEV_LEDS_GPIO
183
184config AR71XX_MACH_RB4XX
185        bool "MikroTik RouterBOARD 4xx series support"
186        select SOC_AR71XX
187        select AR71XX_DEV_GPIO_BUTTONS
188        select AR71XX_DEV_LEDS_GPIO
189        select AR71XX_DEV_USB
190
191config AR71XX_MACH_RB750
192        bool "MikroTik RouterBOARD 750 support"
193        select SOC_AR724X
194
195config AR71XX_MACH_WNDR3700
196        bool "NETGEAR WNDR3700 board support"
197        select SOC_AR71XX
198        select AR71XX_DEV_M25P80
199        select AR71XX_DEV_AP94_PCI if PCI
200        select AR71XX_DEV_GPIO_BUTTONS
201        select AR71XX_DEV_LEDS_GPIO
202        select AR71XX_DEV_USB
203
204config AR71XX_MACH_WNR2000
205        bool "NETGEAR WNR2000 board support"
206        select SOC_AR913X
207        select AR71XX_DEV_M25P80
208        select AR71XX_DEV_AR9XXX_WMAC
209        select AR71XX_DEV_GPIO_BUTTONS
210        select AR71XX_DEV_LEDS_GPIO
211
212config AR71XX_MACH_MZK_W04NU
213        bool "Planex MZK-W04NU board support"
214        select SOC_AR913X
215        select AR71XX_DEV_M25P80
216        select AR71XX_DEV_AR9XXX_WMAC
217        select AR71XX_DEV_GPIO_BUTTONS
218        select AR71XX_DEV_LEDS_GPIO
219        select AR71XX_DEV_USB
220
221config AR71XX_MACH_MZK_W300NH
222        bool "Planex MZK-W300NH board support"
223        select SOC_AR913X
224        select AR71XX_DEV_M25P80
225        select AR71XX_DEV_AR9XXX_WMAC
226        select AR71XX_DEV_GPIO_BUTTONS
227        select AR71XX_DEV_LEDS_GPIO
228
229config AR71XX_MACH_NBG460N
230        bool "Zyxel NBG460N/550N/550NH board support"
231        select SOC_AR913X
232        select AR71XX_DEV_M25P80
233        select AR71XX_DEV_AR9XXX_WMAC
234        select AR71XX_DEV_GPIO_BUTTONS
235        select AR71XX_DEV_LEDS_GPIO
236
237config AR71XX_MACH_TL_MR3X20
238        bool "TP-LINK TL-MR3220/3420 support"
239        select SOC_AR724X
240        select AR71XX_DEV_M25P80
241        select AR71XX_DEV_AP91_PCI if PCI
242        select AR71XX_DEV_GPIO_BUTTONS
243        select AR71XX_DEV_LEDS_GPIO
244        select AR71XX_DEV_USB
245
246config AR71XX_MACH_TL_WA901ND
247        bool "TP-LINK TL-WA901ND support"
248        select SOC_AR724X
249        select AR71XX_DEV_M25P80
250        select AR71XX_DEV_AP91_PCI if PCI
251        select AR71XX_DEV_GPIO_BUTTONS
252        select AR71XX_DEV_LEDS_GPIO
253
254config AR71XX_MACH_TL_WA901ND_V2
255        bool "TP-LINK TL-WA901ND v2 support"
256        select SOC_AR913X
257        select AR71XX_DEV_M25P80
258        select AR71XX_DEV_AR9XXX_WMAC
259        select AR71XX_DEV_GPIO_BUTTONS
260        select AR71XX_DEV_LEDS_GPIO
261
262config AR71XX_MACH_TL_WR703N
263        bool "TP-LINK TL-WR703N support"
264        select SOC_AR933X
265        select AR71XX_DEV_M25P80
266        select AR71XX_DEV_GPIO_BUTTONS
267        select AR71XX_DEV_LEDS_GPIO
268        select AR71XX_DEV_USB
269        select AR71XX_DEV_AR9XXX_WMAC
270
271config AR71XX_MACH_TL_WR741ND
272        bool "TP-LINK TL-WR741ND support"
273        select SOC_AR724X
274        select AR71XX_DEV_M25P80
275        select AR71XX_DEV_AP91_PCI if PCI
276        select AR71XX_DEV_GPIO_BUTTONS
277        select AR71XX_DEV_LEDS_GPIO
278
279config AR71XX_MACH_TL_WR841N_V1
280        bool "TP-LINK TL-WR841N v1 support"
281        select SOC_AR71XX
282        select AR71XX_DEV_M25P80
283        select AR71XX_DEV_PB42_PCI if PCI
284        select AR71XX_DEV_DSA
285        select AR71XX_DEV_GPIO_BUTTONS
286        select AR71XX_DEV_LEDS_GPIO
287
288config AR71XX_MACH_TL_WR941ND
289        bool "TP-LINK TL-WR941ND support"
290        select SOC_AR913X
291        select AR71XX_DEV_M25P80
292        select AR71XX_DEV_AR9XXX_WMAC
293        select AR71XX_DEV_DSA
294        select AR71XX_DEV_GPIO_BUTTONS
295        select AR71XX_DEV_LEDS_GPIO
296
297config AR71XX_MACH_TL_WR1043ND
298        bool "TP-LINK TL-WR1043ND support"
299        select SOC_AR913X
300        select AR71XX_DEV_M25P80
301        select AR71XX_DEV_AR9XXX_WMAC
302        select AR71XX_DEV_GPIO_BUTTONS
303        select AR71XX_DEV_LEDS_GPIO
304        select AR71XX_DEV_USB
305
306config AR71XX_MACH_TEW_632BRP
307        bool "TRENDnet TEW-632BRP support"
308        select SOC_AR913X
309        select AR71XX_DEV_M25P80
310        select AR71XX_DEV_AR9XXX_WMAC
311        select AR71XX_DEV_GPIO_BUTTONS
312        select AR71XX_DEV_LEDS_GPIO
313        select AR71XX_NVRAM
314
315config AR71XX_MACH_UBNT
316        bool "Ubiquiti AR71xx based boards support"
317        select SOC_AR71XX
318        select SOC_AR724X
319        select AR71XX_DEV_M25P80
320        select AR71XX_DEV_AP91_PCI if PCI
321        select AR71XX_DEV_GPIO_BUTTONS
322        select AR71XX_DEV_LEDS_GPIO
323        select AR71XX_DEV_PB42_PCI if PCI
324        select AR71XX_DEV_USB
325
326config AR71XX_MACH_EAP7660D
327        bool "Senao EAP7660D support"
328        select SOC_AR71XX
329        select AR71XX_DEV_M25P80
330        select AR71XX_DEV_GPIO_BUTTONS
331        select AR71XX_DEV_LEDS_GPIO
332
333config AR71XX_MACH_ZCN_1523H
334        bool "Zcomax ZCN-1523H support"
335        select SOC_AR724X
336        select AR71XX_DEV_M25P80
337        select AR71XX_DEV_AP91_PCI if PCI
338        select AR71XX_DEV_GPIO_BUTTONS
339        select AR71XX_DEV_LEDS_GPIO
340
341endmenu
342
343config SOC_AR71XX
344        bool
345        select USB_ARCH_HAS_EHCI
346        select USB_ARCH_HAS_OHCI
347
348config SOC_AR724X
349        bool
350        select USB_ARCH_HAS_EHCI
351        select USB_ARCH_HAS_OHCI
352
353config SOC_AR913X
354        bool
355        select USB_ARCH_HAS_EHCI
356
357config SOC_AR934X
358        bool
359        select USB_ARCH_HAS_EHCI
360
361config AR71XX_DEV_M25P80
362        def_bool n
363
364config AR71XX_DEV_AP91_PCI
365        select AR71XX_PCI_ATH9K_FIXUP
366        def_bool n
367
368config AR71XX_DEV_AP94_PCI
369        select AR71XX_PCI_ATH9K_FIXUP
370        def_bool n
371
372config AR71XX_DEV_AR9XXX_WMAC
373        def_bool n
374
375config AR71XX_DEV_DB120_PCI
376        select AR71XX_PCI_ATH9K_FIXUP
377        def_bool n
378
379config AR71XX_DEV_DSA
380        def_bool n
381
382config AR71XX_DEV_GPIO_BUTTONS
383        def_bool n
384
385config AR71XX_DEV_LEDS_GPIO
386        def_bool n
387
388config AR71XX_DEV_PB42_PCI
389        def_bool n
390
391config AR71XX_DEV_PB9X_PCI
392        def_bool n
393
394config AR71XX_DEV_USB
395        def_bool n
396
397config AR71XX_NVRAM
398        def_bool n
399
400config AR71XX_PCI_ATH9K_FIXUP
401        def_bool n
402
403config SOC_AR933X
404        bool
405        select USB_ARCH_HAS_EHCI
406
407endif
Note: See TracBrowser for help on using the repository browser.