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