Merge remote branch 'wireless-next/master' into ath6kl-next
[pandora-kernel.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 config HAVE_AT91_DATAFLASH_CARD
4         bool
5
6 config HAVE_AT91_DBGU0
7         bool
8
9 config HAVE_AT91_DBGU1
10         bool
11
12 config AT91_SAM9_ALT_RESET
13         bool
14         default !ARCH_AT91X40
15
16 config AT91_SAM9G45_RESET
17         bool
18         default !ARCH_AT91X40
19
20 config SOC_AT91SAM9
21         bool
22         select GENERIC_CLOCKEVENTS
23         select CPU_ARM926T
24
25 menu "Atmel AT91 System-on-Chip"
26
27 comment "Atmel AT91 Processor"
28
29 config SOC_AT91SAM9
30         bool
31         select CPU_ARM926T
32         select AT91_SAM9_TIME
33         select AT91_SAM9_SMC
34
35 config SOC_AT91RM9200
36         bool "AT91RM9200"
37         select CPU_ARM920T
38         select GENERIC_CLOCKEVENTS
39         select HAVE_AT91_DBGU0
40
41 config SOC_AT91SAM9260
42         bool "AT91SAM9260, AT91SAM9XE or AT91SAM9G20"
43         select SOC_AT91SAM9
44         select HAVE_AT91_DBGU0
45         select HAVE_NET_MACB
46         help
47           Select this if you are using one of Atmel's AT91SAM9260, AT91SAM9XE
48           or AT91SAM9G20 SoC.
49
50 config SOC_AT91SAM9261
51         bool "AT91SAM9261 or AT91SAM9G10"
52         select SOC_AT91SAM9
53         select HAVE_AT91_DBGU0
54         select HAVE_FB_ATMEL
55         help
56           Select this if you are using one of Atmel's AT91SAM9261 or AT91SAM9G10 SoC.
57
58 config SOC_AT91SAM9263
59         bool "AT91SAM9263"
60         select SOC_AT91SAM9
61         select HAVE_AT91_DBGU1
62         select HAVE_FB_ATMEL
63         select HAVE_NET_MACB
64
65 config SOC_AT91SAM9RL
66         bool "AT91SAM9RL"
67         select SOC_AT91SAM9
68         select HAVE_AT91_DBGU0
69         select HAVE_FB_ATMEL
70
71 config SOC_AT91SAM9G45
72         bool "AT91SAM9G45 or AT91SAM9M10 families"
73         select SOC_AT91SAM9
74         select HAVE_AT91_DBGU1
75         select HAVE_FB_ATMEL
76         select HAVE_NET_MACB
77         help
78           Select this if you are using one of Atmel's AT91SAM9G45 family SoC.
79           This support covers AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
80
81 config SOC_AT91SAM9X5
82         bool "AT91SAM9x5 family"
83         select SOC_AT91SAM9
84         select HAVE_AT91_DBGU0
85         select HAVE_FB_ATMEL
86         select HAVE_NET_MACB
87         help
88           Select this if you are using one of Atmel's AT91SAM9x5 family SoC.
89           This means that your SAM9 name finishes with a '5' (except if it is
90           AT91SAM9G45!).
91           This support covers AT91SAM9G15, AT91SAM9G25, AT91SAM9X25, AT91SAM9G35
92           and AT91SAM9X35.
93
94 config SOC_AT91SAM9N12
95         bool "AT91SAM9N12 family"
96         select SOC_AT91SAM9
97         select HAVE_AT91_DBGU0
98         select HAVE_FB_ATMEL
99         help
100           Select this if you are using Atmel's AT91SAM9N12 SoC.
101
102 choice
103         prompt "Atmel AT91 Processor Devices for non DT boards"
104
105 config ARCH_AT91_NONE
106         bool "None"
107
108 config ARCH_AT91RM9200
109         bool "AT91RM9200"
110         select SOC_AT91RM9200
111
112 config ARCH_AT91SAM9260
113         bool "AT91SAM9260 or AT91SAM9XE"
114         select SOC_AT91SAM9260
115
116 config ARCH_AT91SAM9261
117         bool "AT91SAM9261"
118         select SOC_AT91SAM9261
119
120 config ARCH_AT91SAM9G10
121         bool "AT91SAM9G10"
122         select SOC_AT91SAM9261
123
124 config ARCH_AT91SAM9263
125         bool "AT91SAM9263"
126         select SOC_AT91SAM9263
127
128 config ARCH_AT91SAM9RL
129         bool "AT91SAM9RL"
130         select SOC_AT91SAM9RL
131
132 config ARCH_AT91SAM9G20
133         bool "AT91SAM9G20"
134         select SOC_AT91SAM9260
135
136 config ARCH_AT91SAM9G45
137         bool "AT91SAM9G45"
138         select SOC_AT91SAM9G45
139
140 config ARCH_AT91X40
141         bool "AT91x40"
142         depends on !MMU
143         select ARCH_USES_GETTIMEOFFSET
144
145 endchoice
146
147 config AT91_PMC_UNIT
148         bool
149         default !ARCH_AT91X40
150
151 # ----------------------------------------------------------
152
153 if ARCH_AT91RM9200
154
155 comment "AT91RM9200 Board Type"
156
157 config MACH_ONEARM
158         bool "Ajeco 1ARM Single Board Computer"
159         help
160           Select this if you are using Ajeco's 1ARM Single Board Computer.
161           <http://www.ajeco.fi/>
162
163 config ARCH_AT91RM9200DK
164         bool "Atmel AT91RM9200-DK Development board"
165         select HAVE_AT91_DATAFLASH_CARD
166         help
167           Select this if you are using Atmel's AT91RM9200-DK Development board.
168           (Discontinued)
169
170 config MACH_AT91RM9200EK
171         bool "Atmel AT91RM9200-EK Evaluation Kit"
172         select HAVE_AT91_DATAFLASH_CARD
173         help
174           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
175           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
176
177 config MACH_CSB337
178         bool "Cogent CSB337"
179         help
180           Select this if you are using Cogent's CSB337 board.
181           <http://www.cogcomp.com/csb_csb337.htm>
182
183 config MACH_CSB637
184         bool "Cogent CSB637"
185         help
186           Select this if you are using Cogent's CSB637 board.
187           <http://www.cogcomp.com/csb_csb637.htm>
188
189 config MACH_CARMEVA
190         bool "Conitec ARM&EVA"
191         help
192           Select this if you are using Conitec's AT91RM9200-MCU-Module.
193           <http://www.conitec.net/english/linuxboard.php>
194
195 config MACH_ATEB9200
196         bool "Embest ATEB9200"
197         help
198           Select this if you are using Embest's ATEB9200 board.
199           <http://www.embedinfo.com/english/product/ATEB9200.asp>
200
201 config MACH_KB9200
202         bool "KwikByte KB920x"
203         help
204           Select this if you are using KwikByte's KB920x board.
205           <http://www.kwikbyte.com/KB9202.html>
206
207 config MACH_PICOTUX2XX
208         bool "picotux 200"
209         help
210           Select this if you are using a picotux 200.
211           <http://www.picotux.com/>
212
213 config MACH_KAFA
214         bool "Sperry-Sun KAFA board"
215         help
216           Select this if you are using Sperry-Sun's KAFA board.
217
218 config MACH_ECBAT91
219         bool "emQbit ECB_AT91 SBC"
220         select HAVE_AT91_DATAFLASH_CARD
221         help
222           Select this if you are using emQbit's ECB_AT91 board.
223           <http://wiki.emqbit.com/free-ecb-at91>
224
225 config MACH_YL9200
226         bool "ucDragon YL-9200"
227         help
228           Select this if you are using the ucDragon YL-9200 board.
229
230 config MACH_CPUAT91
231         bool "Eukrea CPUAT91"
232         help
233           Select this if you are using the Eukrea Electromatique's
234           CPUAT91 board <http://www.eukrea.com/>.
235
236 config MACH_ECO920
237         bool "eco920"
238         help
239           Select this if you are using the eco920 board
240
241 config MACH_RSI_EWS
242         bool "RSI Embedded Webserver"
243         depends on ARCH_AT91RM9200
244         help
245           Select this if you are using RSIs EWS board.
246 endif
247
248 # ----------------------------------------------------------
249
250 if ARCH_AT91SAM9260
251
252 comment "AT91SAM9260 Variants"
253
254 comment "AT91SAM9260 / AT91SAM9XE Board Type"
255
256 config MACH_AT91SAM9260EK
257         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
258         select HAVE_AT91_DATAFLASH_CARD
259         help
260           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
261           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
262
263 config MACH_CAM60
264         bool "KwikByte KB9260 (CAM60) board"
265         help
266           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
267           <http://www.kwikbyte.com/KB9260.html>
268
269 config MACH_SAM9_L9260
270         bool "Olimex SAM9-L9260 board"
271         select HAVE_AT91_DATAFLASH_CARD
272         help
273           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
274           <http://www.olimex.com/dev/sam9-L9260.html>
275
276 config MACH_AFEB9260
277         bool "Custom afeb9260 board v1"
278         help
279           Select this if you are using custom afeb9260 board based on
280           open hardware design. Select this for revision 1 of the board.
281           <svn://194.85.238.22/home/users/george/svn/arm9eb>
282           <http://groups.google.com/group/arm9fpga-evolution-board>
283
284 config MACH_USB_A9260
285         bool "CALAO USB-A9260"
286         help
287           Select this if you are using a Calao Systems USB-A9260.
288           <http://www.calao-systems.com>
289
290 config MACH_QIL_A9260
291         bool "CALAO QIL-A9260 board"
292         help
293           Select this if you are using a Calao Systems QIL-A9260 Board.
294           <http://www.calao-systems.com>
295
296 config MACH_CPU9260
297         bool "Eukrea CPU9260 board"
298         help
299           Select this if you are using a Eukrea Electromatique's
300           CPU9260 Board <http://www.eukrea.com/>
301
302 config MACH_FLEXIBITY
303         bool "Flexibity Connect board"
304         help
305           Select this if you are using Flexibity Connect board
306           <http://www.flexibity.com>
307
308 endif
309
310 # ----------------------------------------------------------
311
312 if ARCH_AT91SAM9261
313
314 comment "AT91SAM9261 Board Type"
315
316 config MACH_AT91SAM9261EK
317         bool "Atmel AT91SAM9261-EK Evaluation Kit"
318         select HAVE_AT91_DATAFLASH_CARD
319         help
320           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
321           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
322
323 endif
324
325 # ----------------------------------------------------------
326
327 if ARCH_AT91SAM9G10
328
329 comment "AT91SAM9G10 Board Type"
330
331 config MACH_AT91SAM9G10EK
332         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
333         select HAVE_AT91_DATAFLASH_CARD
334         help
335           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
336           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
337
338 endif
339
340 # ----------------------------------------------------------
341
342 if ARCH_AT91SAM9263
343
344 comment "AT91SAM9263 Board Type"
345
346 config MACH_AT91SAM9263EK
347         bool "Atmel AT91SAM9263-EK Evaluation Kit"
348         select HAVE_AT91_DATAFLASH_CARD
349         help
350           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
351           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
352
353 config MACH_USB_A9263
354         bool "CALAO USB-A9263"
355         help
356           Select this if you are using a Calao Systems USB-A9263.
357           <http://www.calao-systems.com>
358
359 config MACH_NEOCORE926
360         bool "Adeneo NEOCORE926"
361         select HAVE_AT91_DATAFLASH_CARD
362         help
363           Select this if you are using the Adeneo Neocore 926 board.
364
365 endif
366
367 # ----------------------------------------------------------
368
369 if ARCH_AT91SAM9RL
370
371 comment "AT91SAM9RL Board Type"
372
373 config MACH_AT91SAM9RLEK
374         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
375         help
376           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
377
378 endif
379
380 # ----------------------------------------------------------
381
382 if ARCH_AT91SAM9G20
383
384 comment "AT91SAM9G20 Board Type"
385
386 config MACH_AT91SAM9G20EK
387         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
388         select HAVE_AT91_DATAFLASH_CARD
389         help
390           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
391           that embeds only one SD/MMC slot.
392
393 config MACH_AT91SAM9G20EK_2MMC
394         depends on MACH_AT91SAM9G20EK
395         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
396         help
397           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
398           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
399           onwards.
400           <http://www.atmel.com/tools/SAM9G20-EK.aspx>
401
402 config MACH_CPU9G20
403         bool "Eukrea CPU9G20 board"
404         help
405           Select this if you are using a Eukrea Electromatique's
406           CPU9G20 Board <http://www.eukrea.com/>
407
408 config MACH_ACMENETUSFOXG20
409         bool "Acme Systems srl FOX Board G20"
410         help
411           Select this if you are using Acme Systems
412           FOX Board G20 <http://www.acmesystems.it>
413
414 config MACH_PORTUXG20
415         bool "taskit PortuxG20"
416         help
417           Select this if you are using taskit's PortuxG20.
418           <http://www.taskit.de/en/>
419
420 config MACH_STAMP9G20
421         bool "taskit Stamp9G20 CPU module"
422         help
423           Select this if you are using taskit's Stamp9G20 CPU module on its
424           evaluation board.
425           <http://www.taskit.de/en/>
426
427 config MACH_PCONTROL_G20
428         bool "PControl G20 CPU module"
429         help
430           Select this if you are using taskit's Stamp9G20 CPU module on this
431           carrier board, beeing the decentralized unit of a building automation
432           system; featuring nvram, eth-switch, iso-rs485, display, io
433
434 config MACH_GSIA18S
435         bool "GS_IA18_S board"
436         help
437           This enables support for the GS_IA18_S board
438           produced by GeoSIG Ltd company. This is an internet accelerograph.
439           <http://www.geosig.com>
440
441 config MACH_USB_A9G20
442         bool "CALAO USB-A9G20"
443         depends on ARCH_AT91SAM9G20
444         help
445           Select this if you are using a Calao Systems USB-A9G20.
446           <http://www.calao-systems.com>
447
448 endif
449
450 if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
451 comment "AT91SAM9260/AT91SAM9G20 boards"
452
453 config MACH_SNAPPER_9260
454         bool "Bluewater Systems Snapper 9260/9G20 module"
455         help
456           Select this if you are using the Bluewater Systems Snapper 9260 or
457           Snapper 9G20 modules.
458           <http://www.bluewatersys.com/>
459 endif
460
461 # ----------------------------------------------------------
462
463 if ARCH_AT91SAM9G45
464
465 comment "AT91SAM9G45 Board Type"
466
467 config MACH_AT91SAM9M10G45EK
468         bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
469         help
470           Select this if you are using Atmel's AT91SAM9M10G45-EK Evaluation Kit.
471           Those boards can be populated with any SoC of AT91SAM9G45 or AT91SAM9M10
472           families: AT91SAM9G45, AT91SAM9G46, AT91SAM9M10 and AT91SAM9M11.
473           <http://www.atmel.com/tools/SAM9M10-G45-EK.aspx>
474
475 endif
476
477 # ----------------------------------------------------------
478
479 if ARCH_AT91X40
480
481 comment "AT91X40 Board Type"
482
483 config MACH_AT91EB01
484         bool "Atmel AT91EB01 Evaluation Kit"
485         help
486           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
487           It is also a popular target for simulators such as GDB's
488           ARM simulator (commonly known as the ARMulator) and the
489           Skyeye simulator.
490
491 endif
492
493 # ----------------------------------------------------------
494
495 comment "Generic Board Type"
496
497 config MACH_AT91SAM_DT
498         bool "Atmel AT91SAM Evaluation Kits with device-tree support"
499         select USE_OF
500         help
501           Select this if you want to experiment device-tree with
502           an Atmel Evaluation Kit.
503
504 # ----------------------------------------------------------
505
506 comment "AT91 Board Options"
507
508 config MTD_AT91_DATAFLASH_CARD
509         bool "Enable DataFlash Card support"
510         depends on HAVE_AT91_DATAFLASH_CARD
511         help
512           Enable support for the DataFlash card.
513
514 # ----------------------------------------------------------
515
516 comment "AT91 Feature Selections"
517
518 config AT91_PROGRAMMABLE_CLOCKS
519         bool "Programmable Clocks"
520         help
521           Select this if you need to program one or more of the PCK0..PCK3
522           programmable clock outputs.
523
524 config AT91_SLOW_CLOCK
525         bool "Suspend-to-RAM disables main oscillator"
526         depends on SUSPEND
527         help
528           Select this if you want Suspend-to-RAM to save the most power
529           possible (without powering off the CPU) by disabling the PLLs
530           and main oscillator so that only the 32 KiHz clock is available.
531
532           When only that slow-clock is available, some peripherals lose
533           functionality.  Many can't issue wakeup events unless faster
534           clocks are available.  Some lose their operating state and
535           need to be completely re-initialized.
536
537 config AT91_TIMER_HZ
538        int "Kernel HZ (jiffies per second)"
539        range 32 1024
540        depends on ARCH_AT91
541        default "128" if ARCH_AT91RM9200
542        default "100"
543        help
544           On AT91rm9200 chips where you're using a system clock derived
545           from the 32768 Hz hardware clock, this tick rate should divide
546           it exactly: use a power-of-two value, such as 128 or 256, to
547           reduce timing errors caused by rounding.
548
549           On AT91sam926x chips, or otherwise when using a higher precision
550           system clock (of at least several MHz), rounding is less of a
551           problem so it can be safer to use a decimal values like 100.
552
553 endmenu
554
555 endif