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