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 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
320 config MACH_CPU9G20
321         bool "Eukrea CPU9G20 board"
322         depends on ARCH_AT91SAM9G20
323         help
324           Select this if you are using a Eukrea Electromatique's
325           CPU9G20 Board <http://www.eukrea.com/>
326
327 endif
328
329 # ----------------------------------------------------------
330
331 if ARCH_AT91SAM9G45
332
333 comment "AT91SAM9G45 Board Type"
334
335 config MACH_AT91SAM9G45EKES
336         bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
337         depends on ARCH_AT91SAM9G45
338         help
339           Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
340           "ES" at the end of the name means that this board is an
341           Engineering Sample.
342
343 endif
344
345 # ----------------------------------------------------------
346
347 if ARCH_AT91CAP9
348
349 comment "AT91CAP9 Board Type"
350
351 config MACH_AT91CAP9ADK
352         bool "Atmel AT91CAP9A-DK Evaluation Kit"
353         depends on ARCH_AT91CAP9
354         help
355           Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
356           <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
357
358 endif
359
360 # ----------------------------------------------------------
361
362 if ARCH_AT91X40
363
364 comment "AT91X40 Board Type"
365
366 config MACH_AT91EB01
367         bool "Atmel AT91EB01 Evaluation Kit"
368         help
369           Select this if you are using Atmel's AT91EB01 Evaluation Kit.
370           It is also a popular target for simulators such as GDB's
371           ARM simulator (commonly known as the ARMulator) and the
372           Skyeye simulator.
373
374 endif
375
376 # ----------------------------------------------------------
377
378 comment "AT91 Board Options"
379
380 config MTD_AT91_DATAFLASH_CARD
381         bool "Enable DataFlash Card support"
382         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)
383         help
384           Enable support for the DataFlash card.
385
386 config MTD_NAND_ATMEL_BUSWIDTH_16
387         bool "Enable 16-bit data bus interface to NAND flash"
388         depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK)
389         help
390           On AT91SAM926x boards both types of NAND flash can be present
391           (8 and 16 bit data bus width).
392
393 # ----------------------------------------------------------
394
395 comment "AT91 Feature Selections"
396
397 config AT91_PROGRAMMABLE_CLOCKS
398         bool "Programmable Clocks"
399         help
400           Select this if you need to program one or more of the PCK0..PCK3
401           programmable clock outputs.
402
403 config AT91_SLOW_CLOCK
404         bool "Suspend-to-RAM disables main oscillator"
405         depends on SUSPEND
406         help
407           Select this if you want Suspend-to-RAM to save the most power
408           possible (without powering off the CPU) by disabling the PLLs
409           and main oscillator so that only the 32 KiHz clock is available.
410
411           When only that slow-clock is available, some peripherals lose
412           functionality.  Many can't issue wakeup events unless faster
413           clocks are available.  Some lose their operating state and
414           need to be completely re-initialized.
415
416 config AT91_TIMER_HZ
417        int "Kernel HZ (jiffies per second)"
418        range 32 1024
419        depends on ARCH_AT91
420        default "128" if ARCH_AT91RM9200
421        default "100"
422        help
423           On AT91rm9200 chips where you're using a system clock derived
424           from the 32768 Hz hardware clock, this tick rate should divide
425           it exactly: use a power-of-two value, such as 128 or 256, to
426           reduce timing errors caused by rounding.
427
428           On AT91sam926x chips, or otherwise when using a higher precision
429           system clock (of at least several MHz), rounding is less of a
430           problem so it can be safer to use a decimal values like 100.
431
432 choice
433         prompt "Select a UART for early kernel messages"
434
435 config AT91_EARLY_DBGU
436         bool "DBGU"
437
438 config AT91_EARLY_USART0
439         bool "USART0"
440
441 config AT91_EARLY_USART1
442         bool "USART1"
443
444 config AT91_EARLY_USART2
445         bool "USART2"
446         depends on ! ARCH_AT91X40
447
448 config AT91_EARLY_USART3
449         bool "USART3"
450         depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20 || ARCH_AT91SAM9G45)
451
452 config AT91_EARLY_USART4
453         bool "USART4"
454         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
455
456 config AT91_EARLY_USART5
457         bool "USART5"
458         depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
459
460 endchoice
461
462 endmenu
463
464 endif