ARM: 5790/1: ep93xx: add missing newline between file header and code
[pandora-kernel.git] / arch / arm / mach-at91 / Kconfig
1 if ARCH_AT91
2
3 menu "Atmel AT91 System-on-Chip"
4
5 choice
6         prompt "Atmel AT91 Processor"
7
8 config ARCH_AT91RM9200
9         bool "AT91RM9200"
10         select CPU_ARM920T
11         select GENERIC_TIME
12         select GENERIC_CLOCKEVENTS
13
14 config ARCH_AT91SAM9260
15         bool "AT91SAM9260 or AT91SAM9XE"
16         select CPU_ARM926T
17         select GENERIC_TIME
18         select GENERIC_CLOCKEVENTS
19
20 config ARCH_AT91SAM9261
21         bool "AT91SAM9261"
22         select CPU_ARM926T
23         select GENERIC_TIME
24         select GENERIC_CLOCKEVENTS
25
26 config ARCH_AT91SAM9G10
27         bool "AT91SAM9G10"
28         select CPU_ARM926T
29         select GENERIC_TIME
30         select GENERIC_CLOCKEVENTS
31
32 config ARCH_AT91SAM9263
33         bool "AT91SAM9263"
34         select CPU_ARM926T
35         select GENERIC_TIME
36         select GENERIC_CLOCKEVENTS
37
38 config ARCH_AT91SAM9RL
39         bool "AT91SAM9RL"
40         select CPU_ARM926T
41         select GENERIC_TIME
42         select GENERIC_CLOCKEVENTS
43
44 config ARCH_AT91SAM9G20
45         bool "AT91SAM9G20"
46         select CPU_ARM926T
47         select GENERIC_TIME
48         select GENERIC_CLOCKEVENTS
49
50 config ARCH_AT91SAM9G45
51         bool "AT91SAM9G45"
52         select CPU_ARM926T
53         select GENERIC_TIME
54         select GENERIC_CLOCKEVENTS
55
56 config ARCH_AT91CAP9
57         bool "AT91CAP9"
58         select CPU_ARM926T
59         select GENERIC_TIME
60         select GENERIC_CLOCKEVENTS
61
62 config ARCH_AT91X40
63         bool "AT91x40"
64
65 endchoice
66
67 config AT91_PMC_UNIT
68         bool
69         default !ARCH_AT91X40
70
71 # ----------------------------------------------------------
72
73 if ARCH_AT91RM9200
74
75 comment "AT91RM9200 Board Type"
76
77 config MACH_ONEARM
78         bool "Ajeco 1ARM Single Board Computer"
79         depends on ARCH_AT91RM9200
80         help
81           Select this if you are using Ajeco's 1ARM Single Board Computer.
82           <http://www.ajeco.fi/products.htm>
83
84 config ARCH_AT91RM9200DK
85         bool "Atmel AT91RM9200-DK Development board"
86         depends on ARCH_AT91RM9200
87         help
88           Select this if you are using Atmel's AT91RM9200-DK Development board.
89           (Discontinued)
90
91 config MACH_AT91RM9200EK
92         bool "Atmel AT91RM9200-EK Evaluation Kit"
93         depends on ARCH_AT91RM9200
94         help
95           Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
96           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
97
98 config MACH_CSB337
99         bool "Cogent CSB337"
100         depends on ARCH_AT91RM9200
101         help
102           Select this if you are using Cogent's CSB337 board.
103           <http://www.cogcomp.com/csb_csb337.htm>
104
105 config MACH_CSB637
106         bool "Cogent CSB637"
107         depends on ARCH_AT91RM9200
108         help
109           Select this if you are using Cogent's CSB637 board.
110           <http://www.cogcomp.com/csb_csb637.htm>
111
112 config MACH_CARMEVA
113         bool "Conitec ARM&EVA"
114         depends on ARCH_AT91RM9200
115         help
116           Select this if you are using Conitec's AT91RM9200-MCU-Module.
117           <http://www.conitec.net/english/linuxboard.htm>
118
119 config MACH_ATEB9200
120         bool "Embest ATEB9200"
121         depends on ARCH_AT91RM9200
122         help
123           Select this if you are using Embest's ATEB9200 board.
124           <http://www.embedinfo.com/english/product/ATEB9200.asp>
125
126 config MACH_KB9200
127         bool "KwikByte KB920x"
128         depends on ARCH_AT91RM9200
129         help
130           Select this if you are using KwikByte's KB920x board.
131           <http://kwikbyte.com/KB9202_description_new.htm>
132
133 config MACH_PICOTUX2XX
134         bool "picotux 200"
135         depends on ARCH_AT91RM9200
136         help
137           Select this if you are using a picotux 200.
138           <http://www.picotux.com/>
139
140 config MACH_KAFA
141         bool "Sperry-Sun KAFA board"
142         depends on ARCH_AT91RM9200
143         help
144           Select this if you are using Sperry-Sun's KAFA board.
145
146 config MACH_ECBAT91
147         bool "emQbit ECB_AT91 SBC"
148         depends on ARCH_AT91RM9200
149         help
150           Select this if you are using emQbit's ECB_AT91 board.
151           <http://wiki.emqbit.com/free-ecb-at91>
152
153 config MACH_YL9200
154         bool "ucDragon YL-9200"
155         depends on ARCH_AT91RM9200
156         help
157           Select this if you are using the ucDragon YL-9200 board.
158
159 config MACH_CPUAT91
160         bool "Eukrea CPUAT91"
161         depends on ARCH_AT91RM9200
162         help
163           Select this if you are using the Eukrea Electromatique's
164           CPUAT91 board <http://www.eukrea.com/>.
165
166 endif
167
168 # ----------------------------------------------------------
169
170 if ARCH_AT91SAM9260
171
172 comment "AT91SAM9260 Variants"
173
174 config ARCH_AT91SAM9260_SAM9XE
175         bool "AT91SAM9XE"
176         depends on ARCH_AT91SAM9260
177         help
178           Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
179           They are basically AT91SAM9260s with various sizes of embedded Flash.
180
181 comment "AT91SAM9260 / AT91SAM9XE Board Type"
182
183 config MACH_AT91SAM9260EK
184         bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
185         depends on ARCH_AT91SAM9260
186         help
187           Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
188           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
189
190 config MACH_CAM60
191         bool "KwikByte KB9260 (CAM60) board"
192         depends on ARCH_AT91SAM9260
193         help
194           Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
195           <http://www.kwikbyte.com/KB9260.html>
196
197 config MACH_SAM9_L9260
198         bool "Olimex SAM9-L9260 board"
199         depends on ARCH_AT91SAM9260
200         help
201           Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
202           <http://www.olimex.com/dev/sam9-L9260.html>
203
204 config MACH_AFEB9260
205         bool "Custom afeb9260 board v1"
206         depends on ARCH_AT91SAM9260
207         help
208           Select this if you are using custom afeb9260 board based on
209           open hardware design. Select this for revision 1 of the board.
210           <svn://194.85.238.22/home/users/george/svn/arm9eb>
211           <http://groups.google.com/group/arm9fpga-evolution-board>
212
213 config MACH_USB_A9260
214         bool "CALAO USB-A9260"
215         depends on ARCH_AT91SAM9260
216         help
217           Select this if you are using a Calao Systems USB-A9260.
218           <http://www.calao-systems.com>
219
220 config MACH_QIL_A9260
221         bool "CALAO QIL-A9260 board"
222         depends on ARCH_AT91SAM9260
223         help
224           Select this if you are using a Calao Systems QIL-A9260 Board.
225           <http://www.calao-systems.com>
226
227 config MACH_CPU9260
228         bool "Eukrea CPU9260 board"
229         depends on ARCH_AT91SAM9260
230         help
231           Select this if you are using a Eukrea Electromatique's
232           CPU9260 Board <http://www.eukrea.com/>
233
234 endif
235
236 # ----------------------------------------------------------
237
238 if ARCH_AT91SAM9261
239
240 comment "AT91SAM9261 Board Type"
241
242 config MACH_AT91SAM9261EK
243         bool "Atmel AT91SAM9261-EK Evaluation Kit"
244         depends on ARCH_AT91SAM9261
245         help
246           Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
247           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
248
249 endif
250
251 # ----------------------------------------------------------
252
253 if ARCH_AT91SAM9G10
254
255 comment "AT91SAM9G10 Board Type"
256
257 config MACH_AT91SAM9G10EK
258         bool "Atmel AT91SAM9G10-EK Evaluation Kit"
259         depends on ARCH_AT91SAM9G10
260         help
261           Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
262           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
263
264 endif
265
266 # ----------------------------------------------------------
267
268 if ARCH_AT91SAM9263
269
270 comment "AT91SAM9263 Board Type"
271
272 config MACH_AT91SAM9263EK
273         bool "Atmel AT91SAM9263-EK Evaluation Kit"
274         depends on ARCH_AT91SAM9263
275         help
276           Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
277           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
278
279 config MACH_USB_A9263
280         bool "CALAO USB-A9263"
281         depends on ARCH_AT91SAM9263
282         help
283           Select this if you are using a Calao Systems USB-A9263.
284           <http://www.calao-systems.com>
285
286 config MACH_NEOCORE926
287         bool "Adeneo NEOCORE926"
288         depends on ARCH_AT91SAM9263
289         help
290           Select this if you are using the Adeneo Neocore 926 board.
291
292 endif
293
294 # ----------------------------------------------------------
295
296 if ARCH_AT91SAM9RL
297
298 comment "AT91SAM9RL Board Type"
299
300 config MACH_AT91SAM9RLEK
301         bool "Atmel AT91SAM9RL-EK Evaluation Kit"
302         depends on ARCH_AT91SAM9RL
303         help
304           Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
305
306 endif
307
308 # ----------------------------------------------------------
309
310 if ARCH_AT91SAM9G20
311
312 comment "AT91SAM9G20 Board Type"
313
314 config MACH_AT91SAM9G20EK
315         bool "Atmel AT91SAM9G20-EK Evaluation Kit"
316         depends on ARCH_AT91SAM9G20
317         help
318           Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
319           that embeds only one SD/MMC slot.
320
321 config MACH_AT91SAM9G20EK_2MMC
322         bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
323         depends on ARCH_AT91SAM9G20
324         help
325           Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
326           with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
327           onwards.
328
329 config MACH_CPU9G20
330         bool "Eukrea CPU9G20 board"
331         depends on ARCH_AT91SAM9G20
332         help
333           Select this if you are using a Eukrea Electromatique's
334           CPU9G20 Board <http://www.eukrea.com/>
335
336 endif
337
338 # ----------------------------------------------------------
339
340 if ARCH_AT91SAM9G45
341
342 comment "AT91SAM9G45 Board Type"
343
344 config MACH_AT91SAM9G45EKES
345         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
346         depends on ARCH_AT91SAM9G45
347         help
348           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
349           "ES" at the end of the name means that this board is an
350           Engineering Sample.
351
352 endif
353
354 # ----------------------------------------------------------
355
356 if ARCH_AT91CAP9
357
358 comment "AT91CAP9 Board Type"
359
360 config MACH_AT91CAP9ADK
361         bool "Atmel AT91CAP9A-DK Evaluation Kit"
362         depends on ARCH_AT91CAP9
363         help
364           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
365           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
366
367 endif
368
369 # ----------------------------------------------------------
370
371 if ARCH_AT91X40
372
373 comment "AT91X40 Board Type"
374
375 config MACH_AT91EB01
376         bool "Atmel AT91EB01 Evaluation Kit"
377         help
378           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
379           It is also a popular target for simulators such as GDB's
380           ARM simulator (commonly known as the ARMulator) and the
381           Skyeye simulator.
382
383 endif
384
385 # ----------------------------------------------------------
386
387 comment "AT91 Board Options"
388
389 config MTD_AT91_DATAFLASH_CARD
390         bool "Enable DataFlash Card support"
391         depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK || MACH_NEOCORE926)
392         help
393           Enable support for the DataFlash card.
394
395 config MTD_NAND_ATMEL_BUSWIDTH_16
396         bool "Enable 16-bit data bus interface to NAND flash"
397         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G20EK_2MMC || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK)
398         help
399           On AT91SAM926x boards both types of NAND flash can be present
400           (8 and 16 bit data bus width).
401
402 # ----------------------------------------------------------
403
404 comment "AT91 Feature Selections"
405
406 config AT91_PROGRAMMABLE_CLOCKS
407         bool "Programmable Clocks"
408         help
409           Select this if you need to program one or more of the PCK0..PCK3
410           programmable clock outputs.
411
412 config AT91_SLOW_CLOCK
413         bool "Suspend-to-RAM disables main oscillator"
414         depends on SUSPEND
415         help
416           Select this if you want Suspend-to-RAM to save the most power
417           possible (without powering off the CPU) by disabling the PLLs
418           and main oscillator so that only the 32 KiHz clock is available.
419
420           When only that slow-clock is available, some peripherals lose
421           functionality.  Many can't issue wakeup events unless faster
422           clocks are available.  Some lose their operating state and
423           need to be completely re-initialized.
424
425 config AT91_TIMER_HZ
426        int "Kernel HZ (jiffies per second)"
427        range 32 1024
428        depends on ARCH_AT91
429        default "128" if ARCH_AT91RM9200
430        default "100"
431        help
432           On AT91rm9200 chips where you're using a system clock derived
433           from the 32768 Hz hardware clock, this tick rate should divide
434           it exactly: use a power-of-two value, such as 128 or 256, to
435           reduce timing errors caused by rounding.
436
437           On AT91sam926x chips, or otherwise when using a higher precision
438           system clock (of at least several MHz), rounding is less of a
439           problem so it can be safer to use a decimal values like 100.
440
441 choice
442         prompt "Select a UART for early kernel messages"
443
444 config AT91_EARLY_DBGU
445         bool "DBGU"
446
447 config AT91_EARLY_USART0
448         bool "USART0"
449
450 config AT91_EARLY_USART1
451         bool "USART1"
452
453 config AT91_EARLY_USART2
454         bool "USART2"
455         depends on ! ARCH_AT91X40
456
457 config AT91_EARLY_USART3
458         bool "USART3"
459         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20 || ARCH_AT91SAM9G45)
460
461 config AT91_EARLY_USART4
462         bool "USART4"
463         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
464
465 config AT91_EARLY_USART5
466         bool "USART5"
467         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
468
469 endchoice
470
471 endmenu
472
473 endif