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