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