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