Merge branch 'misc-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
[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 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
390 config MACH_USB_A9G20
391         bool "CALAO USB-A9G20"
392         depends on ARCH_AT91SAM9G20
393         help
394           Select this if you are using a Calao Systems USB-A9G20.
395           <http://www.calao-systems.com>
396
397 endif
398
399 if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
400 comment "AT91SAM9260/AT91SAM9G20 boards"
401
402 config MACH_SNAPPER_9260
403         bool "Bluewater Systems Snapper 9260/9G20 module"
404         help
405           Select this if you are using the Bluewater Systems Snapper 9260 or
406           Snapper 9G20 modules.
407           <http://www.bluewatersys.com/>
408 endif
409
410 # ----------------------------------------------------------
411
412 if ARCH_AT91SAM9G45
413
414 comment "AT91SAM9G45 Board Type"
415
416 config MACH_AT91SAM9M10G45EK
417         bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
418         help
419           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
420           "ES" at the end of the name means that this board is an
421           Engineering Sample.
422
423 endif
424
425 # ----------------------------------------------------------
426
427 if ARCH_AT91CAP9
428
429 comment "AT91CAP9 Board Type"
430
431 config MACH_AT91CAP9ADK
432         bool "Atmel AT91CAP9A-DK Evaluation Kit"
433         select HAVE_AT91_DATAFLASH_CARD
434         help
435           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
436           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
437
438 endif
439
440 # ----------------------------------------------------------
441
442 if ARCH_AT91X40
443
444 comment "AT91X40 Board Type"
445
446 config MACH_AT91EB01
447         bool "Atmel AT91EB01 Evaluation Kit"
448         help
449           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
450           It is also a popular target for simulators such as GDB's
451           ARM simulator (commonly known as the ARMulator) and the
452           Skyeye simulator.
453
454 endif
455
456 # ----------------------------------------------------------
457
458 comment "Generic Board Type"
459
460 config MACH_AT91SAM_DT
461         bool "Atmel AT91SAM Evaluation Kits with device-tree support"
462         select USE_OF
463         help
464           Select this if you want to experiment device-tree with
465           an Atmel Evaluation Kit.
466
467 # ----------------------------------------------------------
468
469 comment "AT91 Board Options"
470
471 config MTD_AT91_DATAFLASH_CARD
472         bool "Enable DataFlash Card support"
473         depends on HAVE_AT91_DATAFLASH_CARD
474         help
475           Enable support for the DataFlash card.
476
477 # ----------------------------------------------------------
478
479 comment "AT91 Feature Selections"
480
481 config AT91_PROGRAMMABLE_CLOCKS
482         bool "Programmable Clocks"
483         help
484           Select this if you need to program one or more of the PCK0..PCK3
485           programmable clock outputs.
486
487 config AT91_SLOW_CLOCK
488         bool "Suspend-to-RAM disables main oscillator"
489         depends on SUSPEND
490         help
491           Select this if you want Suspend-to-RAM to save the most power
492           possible (without powering off the CPU) by disabling the PLLs
493           and main oscillator so that only the 32 KiHz clock is available.
494
495           When only that slow-clock is available, some peripherals lose
496           functionality.  Many can't issue wakeup events unless faster
497           clocks are available.  Some lose their operating state and
498           need to be completely re-initialized.
499
500 config AT91_TIMER_HZ
501        int "Kernel HZ (jiffies per second)"
502        range 32 1024
503        depends on ARCH_AT91
504        default "128" if ARCH_AT91RM9200
505        default "100"
506        help
507           On AT91rm9200 chips where you're using a system clock derived
508           from the 32768 Hz hardware clock, this tick rate should divide
509           it exactly: use a power-of-two value, such as 128 or 256, to
510           reduce timing errors caused by rounding.
511
512           On AT91sam926x chips, or otherwise when using a higher precision
513           system clock (of at least several MHz), rounding is less of a
514           problem so it can be safer to use a decimal values like 100.
515
516 choice
517         prompt "Select a UART for early kernel messages"
518
519 config AT91_EARLY_DBGU
520         bool "DBGU"
521
522 config AT91_EARLY_USART0
523         bool "USART0"
524
525 config AT91_EARLY_USART1
526         bool "USART1"
527
528 config AT91_EARLY_USART2
529         bool "USART2"
530         depends on ! ARCH_AT91X40
531
532 config AT91_EARLY_USART3
533         bool "USART3"
534         depends on HAVE_AT91_USART3
535
536 config AT91_EARLY_USART4
537         bool "USART4"
538         depends on HAVE_AT91_USART4
539
540 config AT91_EARLY_USART5
541         bool "USART5"
542         depends on HAVE_AT91_USART5
543
544 endchoice
545
546 endmenu
547
548 endif