Merge branch 'master' into for-linus
[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         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
342         select HAVE_NAND_ATMEL_BUSWIDTH_16
343         help
344           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
345           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
346           onwards.
347
348 config MACH_CPU9G20
349         bool "Eukrea CPU9G20 board"
350         help
351           Select this if you are using a Eukrea Electromatique's
352           CPU9G20 Board <http://www.eukrea.com/>
353
354 config MACH_PORTUXG20
355         bool "taskit PortuxG20"
356         help
357           Select this if you are using taskit's PortuxG20.
358           <http://www.taskit.de/en/>
359
360 config MACH_STAMP9G20
361         bool "taskit Stamp9G20 CPU module"
362         help
363           Select this if you are using taskit's Stamp9G20 CPU module on its
364           evaluation board.
365           <http://www.taskit.de/en/>
366
367 endif
368
369 # ----------------------------------------------------------
370
371 if ARCH_AT91SAM9G45
372
373 comment "AT91SAM9G45 Board Type"
374
375 config MACH_AT91SAM9G45EKES
376         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
377         select HAVE_NAND_ATMEL_BUSWIDTH_16
378         help
379           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
380           "ES" at the end of the name means that this board is an
381           Engineering Sample.
382
383 endif
384
385 # ----------------------------------------------------------
386
387 if ARCH_AT91CAP9
388
389 comment "AT91CAP9 Board Type"
390
391 config MACH_AT91CAP9ADK
392         bool "Atmel AT91CAP9A-DK Evaluation Kit"
393         select HAVE_AT91_DATAFLASH_CARD
394         select HAVE_NAND_ATMEL_BUSWIDTH_16
395         help
396           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
397           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
398
399 endif
400
401 # ----------------------------------------------------------
402
403 if ARCH_AT572D940HF
404
405 comment "AT572D940HF Board Type"
406
407 config MACH_AT572D940HFEB
408         bool "AT572D940HF-EK"
409         depends on ARCH_AT572D940HF
410         select HAVE_AT91_DATAFLASH_CARD
411         select HAVE_NAND_ATMEL_BUSWIDTH_16
412         help
413           Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
414           <http://www.atmel.com/products/diopsis/default.asp>
415
416 endif
417
418 # ----------------------------------------------------------
419
420 if ARCH_AT91X40
421
422 comment "AT91X40 Board Type"
423
424 config MACH_AT91EB01
425         bool "Atmel AT91EB01 Evaluation Kit"
426         help
427           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
428           It is also a popular target for simulators such as GDB's
429           ARM simulator (commonly known as the ARMulator) and the
430           Skyeye simulator.
431
432 endif
433
434 # ----------------------------------------------------------
435
436 comment "AT91 Board Options"
437
438 config MTD_AT91_DATAFLASH_CARD
439         bool "Enable DataFlash Card support"
440         depends on HAVE_AT91_DATAFLASH_CARD
441         help
442           Enable support for the DataFlash card.
443
444 config MTD_NAND_ATMEL_BUSWIDTH_16
445         bool "Enable 16-bit data bus interface to NAND flash"
446         depends on HAVE_NAND_ATMEL_BUSWIDTH_16
447         help
448           On AT91SAM926x boards both types of NAND flash can be present
449           (8 and 16 bit data bus width).
450
451 # ----------------------------------------------------------
452
453 comment "AT91 Feature Selections"
454
455 config AT91_PROGRAMMABLE_CLOCKS
456         bool "Programmable Clocks"
457         help
458           Select this if you need to program one or more of the PCK0..PCK3
459           programmable clock outputs.
460
461 config AT91_SLOW_CLOCK
462         bool "Suspend-to-RAM disables main oscillator"
463         depends on SUSPEND
464         help
465           Select this if you want Suspend-to-RAM to save the most power
466           possible (without powering off the CPU) by disabling the PLLs
467           and main oscillator so that only the 32 KiHz clock is available.
468
469           When only that slow-clock is available, some peripherals lose
470           functionality.  Many can't issue wakeup events unless faster
471           clocks are available.  Some lose their operating state and
472           need to be completely re-initialized.
473
474 config AT91_TIMER_HZ
475        int "Kernel HZ (jiffies per second)"
476        range 32 1024
477        depends on ARCH_AT91
478        default "128" if ARCH_AT91RM9200
479        default "100"
480        help
481           On AT91rm9200 chips where you're using a system clock derived
482           from the 32768 Hz hardware clock, this tick rate should divide
483           it exactly: use a power-of-two value, such as 128 or 256, to
484           reduce timing errors caused by rounding.
485
486           On AT91sam926x chips, or otherwise when using a higher precision
487           system clock (of at least several MHz), rounding is less of a
488           problem so it can be safer to use a decimal values like 100.
489
490 choice
491         prompt "Select a UART for early kernel messages"
492
493 config AT91_EARLY_DBGU
494         bool "DBGU"
495
496 config AT91_EARLY_USART0
497         bool "USART0"
498
499 config AT91_EARLY_USART1
500         bool "USART1"
501
502 config AT91_EARLY_USART2
503         bool "USART2"
504         depends on ! ARCH_AT91X40
505
506 config AT91_EARLY_USART3
507         bool "USART3"
508         depends on HAVE_AT91_USART3
509
510 config AT91_EARLY_USART4
511         bool "USART4"
512         depends on HAVE_AT91_USART4
513
514 config AT91_EARLY_USART5
515         bool "USART5"
516         depends on HAVE_AT91_USART5
517
518 endchoice
519
520 endmenu
521
522 endif