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