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