Linux 2.6.33-rc3
[linux-2.6-block.git] / arch / arm / mach-at91 / Kconfig
CommitLineData
8fc5ffa0
AV
1if ARCH_AT91
2
2ef9f59a
JCPV
3config HAVE_AT91_DATAFLASH_CARD
4 bool
5
6config HAVE_NAND_ATMEL_BUSWIDTH_16
7 bool
8
9config HAVE_AT91_USART3
10 bool
11
12config HAVE_AT91_USART4
13 bool
14
15config HAVE_AT91_USART5
16 bool
17
8fc5ffa0
AV
18menu "Atmel AT91 System-on-Chip"
19
05043d08
AV
20choice
21 prompt "Atmel AT91 Processor"
8fc5ffa0
AV
22
23config ARCH_AT91RM9200
24 bool "AT91RM9200"
c750815e 25 select CPU_ARM920T
5e802dfa
DB
26 select GENERIC_TIME
27 select GENERIC_CLOCKEVENTS
2ef9f59a 28 select HAVE_AT91_USART3
73a59c1c 29
8fc5ffa0 30config ARCH_AT91SAM9260
f7eee89b 31 bool "AT91SAM9260 or AT91SAM9XE"
c750815e 32 select CPU_ARM926T
ad48ce74
AV
33 select GENERIC_TIME
34 select GENERIC_CLOCKEVENTS
2ef9f59a
JCPV
35 select HAVE_AT91_USART3
36 select HAVE_AT91_USART4
37 select HAVE_AT91_USART5
8fc5ffa0
AV
38
39config ARCH_AT91SAM9261
40 bool "AT91SAM9261"
c750815e 41 select CPU_ARM926T
ad48ce74
AV
42 select GENERIC_TIME
43 select GENERIC_CLOCKEVENTS
0912e535 44 select HAVE_FB_ATMEL
8fc5ffa0 45
b319ff80
NF
46config ARCH_AT91SAM9G10
47 bool "AT91SAM9G10"
48 select CPU_ARM926T
49 select GENERIC_TIME
50 select GENERIC_CLOCKEVENTS
0912e535 51 select HAVE_FB_ATMEL
b319ff80 52
b2c65616
AV
53config ARCH_AT91SAM9263
54 bool "AT91SAM9263"
c750815e 55 select CPU_ARM926T
ad48ce74
AV
56 select GENERIC_TIME
57 select GENERIC_CLOCKEVENTS
0912e535 58 select HAVE_FB_ATMEL
b2c65616 59
877d7720
AV
60config ARCH_AT91SAM9RL
61 bool "AT91SAM9RL"
c750815e 62 select CPU_ARM926T
ad48ce74
AV
63 select GENERIC_TIME
64 select GENERIC_CLOCKEVENTS
2ef9f59a 65 select HAVE_AT91_USART3
0912e535 66 select HAVE_FB_ATMEL
877d7720 67
61352667 68config ARCH_AT91SAM9G20
69 bool "AT91SAM9G20"
c750815e 70 select CPU_ARM926T
61352667 71 select GENERIC_TIME
72 select GENERIC_CLOCKEVENTS
2ef9f59a
JCPV
73 select HAVE_AT91_USART3
74 select HAVE_AT91_USART4
75 select HAVE_AT91_USART5
61352667 76
789b23bc
NF
77config ARCH_AT91SAM9G45
78 bool "AT91SAM9G45"
79 select CPU_ARM926T
80 select GENERIC_TIME
81 select GENERIC_CLOCKEVENTS
2ef9f59a 82 select HAVE_AT91_USART3
0912e535 83 select HAVE_FB_ATMEL
789b23bc 84
2b3b3516
AV
85config ARCH_AT91CAP9
86 bool "AT91CAP9"
c750815e 87 select CPU_ARM926T
ad48ce74
AV
88 select GENERIC_TIME
89 select GENERIC_CLOCKEVENTS
0912e535 90 select HAVE_FB_ATMEL
2b3b3516 91
9f1ccefe
GU
92config ARCH_AT91X40
93 bool "AT91x40"
94
05043d08
AV
95endchoice
96
9f1ccefe
GU
97config AT91_PMC_UNIT
98 bool
99 default !ARCH_AT91X40
100
8fc5ffa0
AV
101# ----------------------------------------------------------
102
103if ARCH_AT91RM9200
73a59c1c
SP
104
105comment "AT91RM9200 Board Type"
106
b184a4c9
LB
107config MACH_ONEARM
108 bool "Ajeco 1ARM Single Board Computer"
b184a4c9 109 help
8fc5ffa0
AV
110 Select this if you are using Ajeco's 1ARM Single Board Computer.
111 <http://www.ajeco.fi/products.htm>
b184a4c9 112
73a59c1c
SP
113config ARCH_AT91RM9200DK
114 bool "Atmel AT91RM9200-DK Development board"
2ef9f59a 115 select HAVE_AT91_DATAFLASH_CARD
73a59c1c 116 help
8fc5ffa0
AV
117 Select this if you are using Atmel's AT91RM9200-DK Development board.
118 (Discontinued)
119
73a59c1c
SP
120config MACH_AT91RM9200EK
121 bool "Atmel AT91RM9200-EK Evaluation Kit"
2ef9f59a 122 select HAVE_AT91_DATAFLASH_CARD
73a59c1c 123 help
8fc5ffa0
AV
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>
73a59c1c
SP
126
127config MACH_CSB337
8fc5ffa0 128 bool "Cogent CSB337"
73a59c1c 129 help
8fc5ffa0
AV
130 Select this if you are using Cogent's CSB337 board.
131 <http://www.cogcomp.com/csb_csb337.htm>
73a59c1c
SP
132
133config MACH_CSB637
8fc5ffa0 134 bool "Cogent CSB637"
73a59c1c 135 help
8fc5ffa0
AV
136 Select this if you are using Cogent's CSB637 board.
137 <http://www.cogcomp.com/csb_csb637.htm>
73a59c1c
SP
138
139config MACH_CARMEVA
8fc5ffa0 140 bool "Conitec ARM&EVA"
73a59c1c 141 help
8fc5ffa0
AV
142 Select this if you are using Conitec's AT91RM9200-MCU-Module.
143 <http://www.conitec.net/english/linuxboard.htm>
73a59c1c 144
8fc5ffa0
AV
145config MACH_ATEB9200
146 bool "Embest ATEB9200"
73a59c1c 147 help
8fc5ffa0
AV
148 Select this if you are using Embest's ATEB9200 board.
149 <http://www.embedinfo.com/english/product/ATEB9200.asp>
73a59c1c 150
8fc5ffa0
AV
151config MACH_KB9200
152 bool "KwikByte KB920x"
6902f523 153 help
8fc5ffa0
AV
154 Select this if you are using KwikByte's KB920x board.
155 <http://kwikbyte.com/KB9202_description_new.htm>
6902f523 156
5d01f133
SR
157config MACH_PICOTUX2XX
158 bool "picotux 200"
5d01f133
SR
159 help
160 Select this if you are using a picotux 200.
161 <http://www.picotux.com/>
162
6902f523
AV
163config MACH_KAFA
164 bool "Sperry-Sun KAFA board"
6902f523 165 help
8fc5ffa0
AV
166 Select this if you are using Sperry-Sun's KAFA board.
167
2f036ac6
AV
168config MACH_ECBAT91
169 bool "emQbit ECB_AT91 SBC"
2ef9f59a 170 select HAVE_AT91_DATAFLASH_CARD
2f036ac6
AV
171 help
172 Select this if you are using emQbit's ECB_AT91 board.
173 <http://wiki.emqbit.com/free-ecb-at91>
174
e3ba22db
AV
175config MACH_YL9200
176 bool "ucDragon YL-9200"
e3ba22db
AV
177 help
178 Select this if you are using the ucDragon YL-9200 board.
179
10233a93
EB
180config MACH_CPUAT91
181 bool "Eukrea CPUAT91"
10233a93
EB
182 help
183 Select this if you are using the Eukrea Electromatique's
184 CPUAT91 board <http://www.eukrea.com/>.
185
01c62c9b
UKK
186config MACH_ECO920
187 bool "eco920"
188 help
189 Select this if you are using the eco920 board
190
8fc5ffa0
AV
191endif
192
193# ----------------------------------------------------------
194
195if ARCH_AT91SAM9260
196
f7eee89b
AV
197comment "AT91SAM9260 Variants"
198
199config ARCH_AT91SAM9260_SAM9XE
200 bool "AT91SAM9XE"
f7eee89b
AV
201 help
202 Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
a982ac06 203 They are basically AT91SAM9260s with various sizes of embedded Flash.
f7eee89b
AV
204
205comment "AT91SAM9260 / AT91SAM9XE Board Type"
8fc5ffa0 206
58a0cd78 207config MACH_AT91SAM9260EK
f7eee89b 208 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
2ef9f59a
JCPV
209 select HAVE_AT91_DATAFLASH_CARD
210 select HAVE_NAND_ATMEL_BUSWIDTH_16
58a0cd78 211 help
f7eee89b 212 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
58a0cd78
AV
213 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
214
35131fb6
AV
215config MACH_CAM60
216 bool "KwikByte KB9260 (CAM60) board"
35131fb6
AV
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
66dbfc6c
AV
221config MACH_SAM9_L9260
222 bool "Olimex SAM9-L9260 board"
2ef9f59a 223 select HAVE_AT91_DATAFLASH_CARD
66dbfc6c
AV
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
9c784f95
SL
228config MACH_AFEB9260
229 bool "Custom afeb9260 board v1"
9c784f95
SL
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
ca0a789a
AV
236config MACH_USB_A9260
237 bool "CALAO USB-A9260"
ca0a789a
AV
238 help
239 Select this if you are using a Calao Systems USB-A9260.
240 <http://www.calao-systems.com>
241
242config MACH_QIL_A9260
243 bool "CALAO QIL-A9260 board"
ca0a789a
AV
244 help
245 Select this if you are using a Calao Systems QIL-A9260 Board.
246 <http://www.calao-systems.com>
247
41a353d1
EB
248config MACH_CPU9260
249 bool "Eukrea CPU9260 board"
41a353d1
EB
250 help
251 Select this if you are using a Eukrea Electromatique's
252 CPU9260 Board <http://www.eukrea.com/>
253
8fc5ffa0
AV
254endif
255
256# ----------------------------------------------------------
257
258if ARCH_AT91SAM9261
259
260comment "AT91SAM9261 Board Type"
261
58a0cd78
AV
262config MACH_AT91SAM9261EK
263 bool "Atmel AT91SAM9261-EK Evaluation Kit"
2ef9f59a
JCPV
264 select HAVE_AT91_DATAFLASH_CARD
265 select HAVE_NAND_ATMEL_BUSWIDTH_16
58a0cd78
AV
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
8fc5ffa0
AV
270endif
271
58a0cd78
AV
272# ----------------------------------------------------------
273
b319ff80
NF
274if ARCH_AT91SAM9G10
275
276comment "AT91SAM9G10 Board Type"
277
278config MACH_AT91SAM9G10EK
279 bool "Atmel AT91SAM9G10-EK Evaluation Kit"
2ef9f59a
JCPV
280 select HAVE_AT91_DATAFLASH_CARD
281 select HAVE_NAND_ATMEL_BUSWIDTH_16
b319ff80
NF
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
286endif
287
288# ----------------------------------------------------------
289
e6d92e63
AV
290if ARCH_AT91SAM9263
291
292comment "AT91SAM9263 Board Type"
293
294config MACH_AT91SAM9263EK
295 bool "Atmel AT91SAM9263-EK Evaluation Kit"
2ef9f59a
JCPV
296 select HAVE_AT91_DATAFLASH_CARD
297 select HAVE_NAND_ATMEL_BUSWIDTH_16
e6d92e63
AV
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
ca0a789a
AV
302config MACH_USB_A9263
303 bool "CALAO USB-A9263"
ca0a789a
AV
304 help
305 Select this if you are using a Calao Systems USB-A9263.
306 <http://www.calao-systems.com>
307
ffc63b7d
AV
308config MACH_NEOCORE926
309 bool "Adeneo NEOCORE926"
2ef9f59a 310 select HAVE_AT91_DATAFLASH_CARD
ffc63b7d
AV
311 help
312 Select this if you are using the Adeneo Neocore 926 board.
313
e6d92e63
AV
314endif
315
316# ----------------------------------------------------------
317
c42dcb3d
AV
318if ARCH_AT91SAM9RL
319
320comment "AT91SAM9RL Board Type"
321
322config MACH_AT91SAM9RLEK
323 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
c42dcb3d
AV
324 help
325 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
326
327endif
328
329# ----------------------------------------------------------
330
61352667 331if ARCH_AT91SAM9G20
332
333comment "AT91SAM9G20 Board Type"
334
335config MACH_AT91SAM9G20EK
336 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
2ef9f59a
JCPV
337 select HAVE_AT91_DATAFLASH_CARD
338 select HAVE_NAND_ATMEL_BUSWIDTH_16
61352667 339 help
0f74296a
NF
340 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
341 that embeds only one SD/MMC slot.
342
343config MACH_AT91SAM9G20EK_2MMC
344 bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
2ef9f59a 345 select HAVE_NAND_ATMEL_BUSWIDTH_16
0f74296a
NF
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.
61352667 350
41a353d1
EB
351config MACH_CPU9G20
352 bool "Eukrea CPU9G20 board"
41a353d1
EB
353 help
354 Select this if you are using a Eukrea Electromatique's
355 CPU9G20 Board <http://www.eukrea.com/>
356
61352667 357endif
358
359# ----------------------------------------------------------
360
789b23bc
NF
361if ARCH_AT91SAM9G45
362
363comment "AT91SAM9G45 Board Type"
364
365config MACH_AT91SAM9G45EKES
366 bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
2ef9f59a 367 select HAVE_NAND_ATMEL_BUSWIDTH_16
789b23bc
NF
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
373endif
374
375# ----------------------------------------------------------
376
86640cae
AV
377if ARCH_AT91CAP9
378
379comment "AT91CAP9 Board Type"
380
381config MACH_AT91CAP9ADK
382 bool "Atmel AT91CAP9A-DK Evaluation Kit"
2ef9f59a
JCPV
383 select HAVE_AT91_DATAFLASH_CARD
384 select HAVE_NAND_ATMEL_BUSWIDTH_16
86640cae
AV
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
389endif
390
391# ----------------------------------------------------------
392
9f1ccefe
GU
393if ARCH_AT91X40
394
395comment "AT91X40 Board Type"
396
397config 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
405endif
406
407# ----------------------------------------------------------
408
58a0cd78
AV
409comment "AT91 Board Options"
410
411config MTD_AT91_DATAFLASH_CARD
412 bool "Enable DataFlash Card support"
2ef9f59a 413 depends on HAVE_AT91_DATAFLASH_CARD
58a0cd78
AV
414 help
415 Enable support for the DataFlash card.
416
f6ed6f78 417config MTD_NAND_ATMEL_BUSWIDTH_16
58a0cd78 418 bool "Enable 16-bit data bus interface to NAND flash"
2ef9f59a 419 depends on HAVE_NAND_ATMEL_BUSWIDTH_16
58a0cd78
AV
420 help
421 On AT91SAM926x boards both types of NAND flash can be present
422 (8 and 16 bit data bus width).
6902f523 423
8fc5ffa0 424# ----------------------------------------------------------
73a59c1c 425
8fc5ffa0 426comment "AT91 Feature Selections"
73a59c1c
SP
427
428config 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
eaad2db0
AV
434config 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
5248c657
DB
447config 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
fa3218d8
GL
463choice
464 prompt "Select a UART for early kernel messages"
465
466config AT91_EARLY_DBGU
467 bool "DBGU"
468
469config AT91_EARLY_USART0
470 bool "USART0"
471
472config AT91_EARLY_USART1
473 bool "USART1"
474
475config AT91_EARLY_USART2
476 bool "USART2"
477 depends on ! ARCH_AT91X40
478
479config AT91_EARLY_USART3
480 bool "USART3"
2ef9f59a 481 depends on HAVE_AT91_USART3
fa3218d8
GL
482
483config AT91_EARLY_USART4
484 bool "USART4"
2ef9f59a 485 depends on HAVE_AT91_USART4
fa3218d8
GL
486
487config AT91_EARLY_USART5
488 bool "USART5"
2ef9f59a 489 depends on HAVE_AT91_USART5
fa3218d8
GL
490
491endchoice
492
73a59c1c
SP
493endmenu
494
495endif