ARM: 6393/1: AT91: Add flexibity 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_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 config MACH_FLEXIBITY
252         bool "Flexibity Connect board"
253         help
254           Select this if you are using Flexibity Connect board
255           <http://www.flexibity.com>
256
257 endif
258
259 # ----------------------------------------------------------
260
261 if ARCH_AT91SAM9261
262
263 comment "AT91SAM9261 Board Type"
264
265 config MACH_AT91SAM9261EK
266         bool "Atmel AT91SAM9261-EK Evaluation Kit"
267         select HAVE_AT91_DATAFLASH_CARD
268         select HAVE_NAND_ATMEL_BUSWIDTH_16
269         help
270           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
271           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
272
273 endif
274
275 # ----------------------------------------------------------
276
277 if ARCH_AT91SAM9G10
278
279 comment "AT91SAM9G10 Board Type"
280
281 config MACH_AT91SAM9G10EK
282         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
283         select HAVE_AT91_DATAFLASH_CARD
284         select HAVE_NAND_ATMEL_BUSWIDTH_16
285         help
286           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
287           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
288
289 endif
290
291 # ----------------------------------------------------------
292
293 if ARCH_AT91SAM9263
294
295 comment "AT91SAM9263 Board Type"
296
297 config MACH_AT91SAM9263EK
298         bool "Atmel AT91SAM9263-EK Evaluation Kit"
299         select HAVE_AT91_DATAFLASH_CARD
300         select HAVE_NAND_ATMEL_BUSWIDTH_16
301         help
302           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
303           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
304
305 config MACH_USB_A9263
306         bool "CALAO USB-A9263"
307         help
308           Select this if you are using a Calao Systems USB-A9263.
309           <http://www.calao-systems.com>
310
311 config MACH_NEOCORE926
312         bool "Adeneo NEOCORE926"
313         select HAVE_AT91_DATAFLASH_CARD
314         help
315           Select this if you are using the Adeneo Neocore 926 board.
316
317 endif
318
319 # ----------------------------------------------------------
320
321 if ARCH_AT91SAM9RL
322
323 comment "AT91SAM9RL Board Type"
324
325 config MACH_AT91SAM9RLEK
326         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
327         help
328           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
329
330 endif
331
332 # ----------------------------------------------------------
333
334 if ARCH_AT91SAM9G20
335
336 comment "AT91SAM9G20 Board Type"
337
338 config MACH_AT91SAM9G20EK
339         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
340         select HAVE_AT91_DATAFLASH_CARD
341         select HAVE_NAND_ATMEL_BUSWIDTH_16
342         help
343           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
344           that embeds only one SD/MMC slot.
345
346 config MACH_AT91SAM9G20EK_2MMC
347         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
348         select HAVE_NAND_ATMEL_BUSWIDTH_16
349         help
350           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
351           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
352           onwards.
353
354 config MACH_CPU9G20
355         bool "Eukrea CPU9G20 board"
356         help
357           Select this if you are using a Eukrea Electromatique's
358           CPU9G20 Board <http://www.eukrea.com/>
359
360 config MACH_PORTUXG20
361         bool "taskit PortuxG20"
362         help
363           Select this if you are using taskit's PortuxG20.
364           <http://www.taskit.de/en/>
365
366 config MACH_STAMP9G20
367         bool "taskit Stamp9G20 CPU module"
368         help
369           Select this if you are using taskit's Stamp9G20 CPU module on its
370           evaluation board.
371           <http://www.taskit.de/en/>
372
373 endif
374
375 if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
376 comment "AT91SAM9260/AT91SAM9G20 boards"
377
378 config MACH_SNAPPER_9260
379         bool "Bluewater Systems Snapper 9260/9G20 module"
380         help
381           Select this if you are using the Bluewater Systems Snapper 9260 or
382           Snapper 9G20 modules.
383           <http://www.bluewatersys.com/>
384 endif
385
386 # ----------------------------------------------------------
387
388 if ARCH_AT91SAM9G45
389
390 comment "AT91SAM9G45 Board Type"
391
392 config MACH_AT91SAM9G45EKES
393         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
394         select HAVE_NAND_ATMEL_BUSWIDTH_16
395         help
396           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
397           "ES" at the end of the name means that this board is an
398           Engineering Sample.
399
400 endif
401
402 # ----------------------------------------------------------
403
404 if ARCH_AT91CAP9
405
406 comment "AT91CAP9 Board Type"
407
408 config MACH_AT91CAP9ADK
409         bool "Atmel AT91CAP9A-DK Evaluation Kit"
410         select HAVE_AT91_DATAFLASH_CARD
411         select HAVE_NAND_ATMEL_BUSWIDTH_16
412         help
413           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
414           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
415
416 endif
417
418 # ----------------------------------------------------------
419
420 if ARCH_AT572D940HF
421
422 comment "AT572D940HF Board Type"
423
424 config MACH_AT572D940HFEB
425         bool "AT572D940HF-EK"
426         depends on ARCH_AT572D940HF
427         select HAVE_AT91_DATAFLASH_CARD
428         select HAVE_NAND_ATMEL_BUSWIDTH_16
429         help
430           Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
431           <http://www.atmel.com/products/diopsis/default.asp>
432
433 endif
434
435 # ----------------------------------------------------------
436
437 if ARCH_AT91X40
438
439 comment "AT91X40 Board Type"
440
441 config MACH_AT91EB01
442         bool "Atmel AT91EB01 Evaluation Kit"
443         help
444           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
445           It is also a popular target for simulators such as GDB's
446           ARM simulator (commonly known as the ARMulator) and the
447           Skyeye simulator.
448
449 endif
450
451 # ----------------------------------------------------------
452
453 comment "AT91 Board Options"
454
455 config MTD_AT91_DATAFLASH_CARD
456         bool "Enable DataFlash Card support"
457         depends on HAVE_AT91_DATAFLASH_CARD
458         help
459           Enable support for the DataFlash card.
460
461 config MTD_NAND_ATMEL_BUSWIDTH_16
462         bool "Enable 16-bit data bus interface to NAND flash"
463         depends on HAVE_NAND_ATMEL_BUSWIDTH_16
464         help
465           On AT91SAM926x boards both types of NAND flash can be present
466           (8 and 16 bit data bus width).
467
468 # ----------------------------------------------------------
469
470 comment "AT91 Feature Selections"
471
472 config AT91_PROGRAMMABLE_CLOCKS
473         bool "Programmable Clocks"
474         help
475           Select this if you need to program one or more of the PCK0..PCK3
476           programmable clock outputs.
477
478 config AT91_SLOW_CLOCK
479         bool "Suspend-to-RAM disables main oscillator"
480         depends on SUSPEND
481         help
482           Select this if you want Suspend-to-RAM to save the most power
483           possible (without powering off the CPU) by disabling the PLLs
484           and main oscillator so that only the 32 KiHz clock is available.
485
486           When only that slow-clock is available, some peripherals lose
487           functionality.  Many can't issue wakeup events unless faster
488           clocks are available.  Some lose their operating state and
489           need to be completely re-initialized.
490
491 config AT91_TIMER_HZ
492        int "Kernel HZ (jiffies per second)"
493        range 32 1024
494        depends on ARCH_AT91
495        default "128" if ARCH_AT91RM9200
496        default "100"
497        help
498           On AT91rm9200 chips where you're using a system clock derived
499           from the 32768 Hz hardware clock, this tick rate should divide
500           it exactly: use a power-of-two value, such as 128 or 256, to
501           reduce timing errors caused by rounding.
502
503           On AT91sam926x chips, or otherwise when using a higher precision
504           system clock (of at least several MHz), rounding is less of a
505           problem so it can be safer to use a decimal values like 100.
506
507 choice
508         prompt "Select a UART for early kernel messages"
509
510 config AT91_EARLY_DBGU
511         bool "DBGU"
512
513 config AT91_EARLY_USART0
514         bool "USART0"
515
516 config AT91_EARLY_USART1
517         bool "USART1"
518
519 config AT91_EARLY_USART2
520         bool "USART2"
521         depends on ! ARCH_AT91X40
522
523 config AT91_EARLY_USART3
524         bool "USART3"
525         depends on HAVE_AT91_USART3
526
527 config AT91_EARLY_USART4
528         bool "USART4"
529         depends on HAVE_AT91_USART4
530
531 config AT91_EARLY_USART5
532         bool "USART5"
533         depends on HAVE_AT91_USART5
534
535 endchoice
536
537 endmenu
538
539 endif