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