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