Merge branch 'writeback' of git://git.kernel.dk/linux-2.6-block
[linux-block.git] / arch / arm / mach-at91 / Kconfig
CommitLineData
8fc5ffa0
AV
1if ARCH_AT91
2
3menu "Atmel AT91 System-on-Chip"
4
05043d08
AV
5choice
6 prompt "Atmel AT91 Processor"
8fc5ffa0
AV
7
8config ARCH_AT91RM9200
9 bool "AT91RM9200"
c750815e 10 select CPU_ARM920T
5e802dfa
DB
11 select GENERIC_TIME
12 select GENERIC_CLOCKEVENTS
73a59c1c 13
8fc5ffa0 14config ARCH_AT91SAM9260
f7eee89b 15 bool "AT91SAM9260 or AT91SAM9XE"
c750815e 16 select CPU_ARM926T
ad48ce74
AV
17 select GENERIC_TIME
18 select GENERIC_CLOCKEVENTS
8fc5ffa0
AV
19
20config ARCH_AT91SAM9261
21 bool "AT91SAM9261"
c750815e 22 select CPU_ARM926T
ad48ce74
AV
23 select GENERIC_TIME
24 select GENERIC_CLOCKEVENTS
8fc5ffa0 25
b319ff80
NF
26config ARCH_AT91SAM9G10
27 bool "AT91SAM9G10"
28 select CPU_ARM926T
29 select GENERIC_TIME
30 select GENERIC_CLOCKEVENTS
31
b2c65616
AV
32config ARCH_AT91SAM9263
33 bool "AT91SAM9263"
c750815e 34 select CPU_ARM926T
ad48ce74
AV
35 select GENERIC_TIME
36 select GENERIC_CLOCKEVENTS
b2c65616 37
877d7720
AV
38config ARCH_AT91SAM9RL
39 bool "AT91SAM9RL"
c750815e 40 select CPU_ARM926T
ad48ce74
AV
41 select GENERIC_TIME
42 select GENERIC_CLOCKEVENTS
877d7720 43
61352667 44config ARCH_AT91SAM9G20
45 bool "AT91SAM9G20"
c750815e 46 select CPU_ARM926T
61352667 47 select GENERIC_TIME
48 select GENERIC_CLOCKEVENTS
49
789b23bc
NF
50config ARCH_AT91SAM9G45
51 bool "AT91SAM9G45"
52 select CPU_ARM926T
53 select GENERIC_TIME
54 select GENERIC_CLOCKEVENTS
55
2b3b3516
AV
56config ARCH_AT91CAP9
57 bool "AT91CAP9"
c750815e 58 select CPU_ARM926T
ad48ce74
AV
59 select GENERIC_TIME
60 select GENERIC_CLOCKEVENTS
2b3b3516 61
9f1ccefe
GU
62config ARCH_AT91X40
63 bool "AT91x40"
64
05043d08
AV
65endchoice
66
9f1ccefe
GU
67config AT91_PMC_UNIT
68 bool
69 default !ARCH_AT91X40
70
8fc5ffa0
AV
71# ----------------------------------------------------------
72
73if ARCH_AT91RM9200
73a59c1c
SP
74
75comment "AT91RM9200 Board Type"
76
b184a4c9
LB
77config MACH_ONEARM
78 bool "Ajeco 1ARM Single Board Computer"
79 depends on ARCH_AT91RM9200
80 help
8fc5ffa0
AV
81 Select this if you are using Ajeco's 1ARM Single Board Computer.
82 <http://www.ajeco.fi/products.htm>
b184a4c9 83
73a59c1c
SP
84config ARCH_AT91RM9200DK
85 bool "Atmel AT91RM9200-DK Development board"
86 depends on ARCH_AT91RM9200
87 help
8fc5ffa0
AV
88 Select this if you are using Atmel's AT91RM9200-DK Development board.
89 (Discontinued)
90
73a59c1c
SP
91config MACH_AT91RM9200EK
92 bool "Atmel AT91RM9200-EK Evaluation Kit"
93 depends on ARCH_AT91RM9200
94 help
8fc5ffa0
AV
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>
73a59c1c
SP
97
98config MACH_CSB337
8fc5ffa0 99 bool "Cogent CSB337"
73a59c1c
SP
100 depends on ARCH_AT91RM9200
101 help
8fc5ffa0
AV
102 Select this if you are using Cogent's CSB337 board.
103 <http://www.cogcomp.com/csb_csb337.htm>
73a59c1c
SP
104
105config MACH_CSB637
8fc5ffa0 106 bool "Cogent CSB637"
73a59c1c
SP
107 depends on ARCH_AT91RM9200
108 help
8fc5ffa0
AV
109 Select this if you are using Cogent's CSB637 board.
110 <http://www.cogcomp.com/csb_csb637.htm>
73a59c1c
SP
111
112config MACH_CARMEVA
8fc5ffa0 113 bool "Conitec ARM&EVA"
73a59c1c
SP
114 depends on ARCH_AT91RM9200
115 help
8fc5ffa0
AV
116 Select this if you are using Conitec's AT91RM9200-MCU-Module.
117 <http://www.conitec.net/english/linuxboard.htm>
73a59c1c 118
8fc5ffa0
AV
119config MACH_ATEB9200
120 bool "Embest ATEB9200"
73a59c1c
SP
121 depends on ARCH_AT91RM9200
122 help
8fc5ffa0
AV
123 Select this if you are using Embest's ATEB9200 board.
124 <http://www.embedinfo.com/english/product/ATEB9200.asp>
73a59c1c 125
8fc5ffa0
AV
126config MACH_KB9200
127 bool "KwikByte KB920x"
6902f523
AV
128 depends on ARCH_AT91RM9200
129 help
8fc5ffa0
AV
130 Select this if you are using KwikByte's KB920x board.
131 <http://kwikbyte.com/KB9202_description_new.htm>
6902f523 132
5d01f133
SR
133config 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
6902f523
AV
140config MACH_KAFA
141 bool "Sperry-Sun KAFA board"
142 depends on ARCH_AT91RM9200
143 help
8fc5ffa0
AV
144 Select this if you are using Sperry-Sun's KAFA board.
145
2f036ac6
AV
146config 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
e3ba22db
AV
153config 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
10233a93
EB
159config 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
8fc5ffa0
AV
166endif
167
168# ----------------------------------------------------------
169
170if ARCH_AT91SAM9260
171
f7eee89b
AV
172comment "AT91SAM9260 Variants"
173
174config 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.
a982ac06 179 They are basically AT91SAM9260s with various sizes of embedded Flash.
f7eee89b
AV
180
181comment "AT91SAM9260 / AT91SAM9XE Board Type"
8fc5ffa0 182
58a0cd78 183config MACH_AT91SAM9260EK
f7eee89b 184 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
58a0cd78
AV
185 depends on ARCH_AT91SAM9260
186 help
f7eee89b 187 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
58a0cd78
AV
188 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
189
35131fb6
AV
190config 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
66dbfc6c
AV
197config 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
9c784f95
SL
204config 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
ca0a789a
AV
213config 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
220config 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
41a353d1
EB
227config 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
8fc5ffa0
AV
234endif
235
236# ----------------------------------------------------------
237
238if ARCH_AT91SAM9261
239
240comment "AT91SAM9261 Board Type"
241
58a0cd78
AV
242config 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
8fc5ffa0
AV
249endif
250
58a0cd78
AV
251# ----------------------------------------------------------
252
b319ff80
NF
253if ARCH_AT91SAM9G10
254
255comment "AT91SAM9G10 Board Type"
256
257config 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
264endif
265
266# ----------------------------------------------------------
267
e6d92e63
AV
268if ARCH_AT91SAM9263
269
270comment "AT91SAM9263 Board Type"
271
272config 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
ca0a789a
AV
279config 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
ffc63b7d
AV
286config 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
864f38eb
RE
292config MACH_AT91SAM9G20EK_2MMC
293 bool "Atmel AT91SAM9G20-EK Evaluation Kit modified for 2 MMC Slots"
294 depends on ARCH_AT91SAM9G20
295 help
296 Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
297 Rev A or B modified for 2 MMC Slots.
298
e6d92e63
AV
299endif
300
301# ----------------------------------------------------------
302
c42dcb3d
AV
303if ARCH_AT91SAM9RL
304
305comment "AT91SAM9RL Board Type"
306
307config MACH_AT91SAM9RLEK
308 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
309 depends on ARCH_AT91SAM9RL
310 help
311 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
312
313endif
314
315# ----------------------------------------------------------
316
61352667 317if ARCH_AT91SAM9G20
318
319comment "AT91SAM9G20 Board Type"
320
321config MACH_AT91SAM9G20EK
322 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
323 depends on ARCH_AT91SAM9G20
324 help
325 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
326
41a353d1
EB
327config MACH_CPU9G20
328 bool "Eukrea CPU9G20 board"
329 depends on ARCH_AT91SAM9G20
330 help
331 Select this if you are using a Eukrea Electromatique's
332 CPU9G20 Board <http://www.eukrea.com/>
333
61352667 334endif
335
336# ----------------------------------------------------------
337
789b23bc
NF
338if ARCH_AT91SAM9G45
339
340comment "AT91SAM9G45 Board Type"
341
342config MACH_AT91SAM9G45EKES
343 bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
344 depends on ARCH_AT91SAM9G45
345 help
346 Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
347 "ES" at the end of the name means that this board is an
348 Engineering Sample.
349
350endif
351
352# ----------------------------------------------------------
353
86640cae
AV
354if ARCH_AT91CAP9
355
356comment "AT91CAP9 Board Type"
357
358config MACH_AT91CAP9ADK
359 bool "Atmel AT91CAP9A-DK Evaluation Kit"
360 depends on ARCH_AT91CAP9
361 help
362 Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
363 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
364
365endif
366
367# ----------------------------------------------------------
368
9f1ccefe
GU
369if ARCH_AT91X40
370
371comment "AT91X40 Board Type"
372
373config MACH_AT91EB01
374 bool "Atmel AT91EB01 Evaluation Kit"
375 help
376 Select this if you are using Atmel's AT91EB01 Evaluation Kit.
377 It is also a popular target for simulators such as GDB's
378 ARM simulator (commonly known as the ARMulator) and the
379 Skyeye simulator.
380
381endif
382
383# ----------------------------------------------------------
384
58a0cd78
AV
385comment "AT91 Board Options"
386
387config MTD_AT91_DATAFLASH_CARD
388 bool "Enable DataFlash Card support"
b319ff80 389 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)
58a0cd78
AV
390 help
391 Enable support for the DataFlash card.
392
f6ed6f78 393config MTD_NAND_ATMEL_BUSWIDTH_16
58a0cd78 394 bool "Enable 16-bit data bus interface to NAND flash"
b319ff80 395 depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9G10EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91SAM9G45EKES || MACH_AT91CAP9ADK)
58a0cd78
AV
396 help
397 On AT91SAM926x boards both types of NAND flash can be present
398 (8 and 16 bit data bus width).
6902f523 399
8fc5ffa0 400# ----------------------------------------------------------
73a59c1c 401
8fc5ffa0 402comment "AT91 Feature Selections"
73a59c1c
SP
403
404config AT91_PROGRAMMABLE_CLOCKS
405 bool "Programmable Clocks"
406 help
407 Select this if you need to program one or more of the PCK0..PCK3
408 programmable clock outputs.
409
eaad2db0
AV
410config AT91_SLOW_CLOCK
411 bool "Suspend-to-RAM disables main oscillator"
412 depends on SUSPEND
413 help
414 Select this if you want Suspend-to-RAM to save the most power
415 possible (without powering off the CPU) by disabling the PLLs
416 and main oscillator so that only the 32 KiHz clock is available.
417
418 When only that slow-clock is available, some peripherals lose
419 functionality. Many can't issue wakeup events unless faster
420 clocks are available. Some lose their operating state and
421 need to be completely re-initialized.
422
5248c657
DB
423config AT91_TIMER_HZ
424 int "Kernel HZ (jiffies per second)"
425 range 32 1024
426 depends on ARCH_AT91
427 default "128" if ARCH_AT91RM9200
428 default "100"
429 help
430 On AT91rm9200 chips where you're using a system clock derived
431 from the 32768 Hz hardware clock, this tick rate should divide
432 it exactly: use a power-of-two value, such as 128 or 256, to
433 reduce timing errors caused by rounding.
434
435 On AT91sam926x chips, or otherwise when using a higher precision
436 system clock (of at least several MHz), rounding is less of a
437 problem so it can be safer to use a decimal values like 100.
438
fa3218d8
GL
439choice
440 prompt "Select a UART for early kernel messages"
441
442config AT91_EARLY_DBGU
443 bool "DBGU"
444
445config AT91_EARLY_USART0
446 bool "USART0"
447
448config AT91_EARLY_USART1
449 bool "USART1"
450
451config AT91_EARLY_USART2
452 bool "USART2"
453 depends on ! ARCH_AT91X40
454
455config AT91_EARLY_USART3
456 bool "USART3"
789b23bc 457 depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20 || ARCH_AT91SAM9G45)
fa3218d8
GL
458
459config AT91_EARLY_USART4
460 bool "USART4"
61352667 461 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
fa3218d8
GL
462
463config AT91_EARLY_USART5
464 bool "USART5"
61352667 465 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
fa3218d8
GL
466
467endchoice
468
73a59c1c
SP
469endmenu
470
471endif