]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/arm/mach-at91/Kconfig
ARM: at91: make rstc soc independent
[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
13079a73
JCPV
6config HAVE_AT91_DBGU0
7 bool
8
9config HAVE_AT91_DBGU1
10 bool
11
2ef9f59a
JCPV
12config HAVE_AT91_USART3
13 bool
14
15config HAVE_AT91_USART4
16 bool
17
18config HAVE_AT91_USART5
19 bool
20
c0177594
JCPV
21config AT91_SAM9_ALT_RESET
22 bool
23
8fc5ffa0
AV
24menu "Atmel AT91 System-on-Chip"
25
05043d08
AV
26choice
27 prompt "Atmel AT91 Processor"
8fc5ffa0
AV
28
29config ARCH_AT91RM9200
30 bool "AT91RM9200"
c750815e 31 select CPU_ARM920T
5e802dfa 32 select GENERIC_CLOCKEVENTS
13079a73 33 select HAVE_AT91_DBGU0
2ef9f59a 34 select HAVE_AT91_USART3
73a59c1c 35
8fc5ffa0 36config ARCH_AT91SAM9260
f7eee89b 37 bool "AT91SAM9260 or AT91SAM9XE"
c750815e 38 select CPU_ARM926T
ad48ce74 39 select GENERIC_CLOCKEVENTS
13079a73 40 select HAVE_AT91_DBGU0
2ef9f59a
JCPV
41 select HAVE_AT91_USART3
42 select HAVE_AT91_USART4
43 select HAVE_AT91_USART5
ee621dd6 44 select HAVE_NET_MACB
c0177594 45 select AT91_SAM9_ALT_RESET
8fc5ffa0
AV
46
47config ARCH_AT91SAM9261
48 bool "AT91SAM9261"
c750815e 49 select CPU_ARM926T
ad48ce74 50 select GENERIC_CLOCKEVENTS
0912e535 51 select HAVE_FB_ATMEL
13079a73 52 select HAVE_AT91_DBGU0
c0177594 53 select AT91_SAM9_ALT_RESET
8fc5ffa0 54
b319ff80
NF
55config ARCH_AT91SAM9G10
56 bool "AT91SAM9G10"
57 select CPU_ARM926T
b319ff80 58 select GENERIC_CLOCKEVENTS
13079a73 59 select HAVE_AT91_DBGU0
0912e535 60 select HAVE_FB_ATMEL
c0177594 61 select AT91_SAM9_ALT_RESET
b319ff80 62
b2c65616
AV
63config ARCH_AT91SAM9263
64 bool "AT91SAM9263"
c750815e 65 select CPU_ARM926T
ad48ce74 66 select GENERIC_CLOCKEVENTS
0912e535 67 select HAVE_FB_ATMEL
ee621dd6 68 select HAVE_NET_MACB
13079a73 69 select HAVE_AT91_DBGU1
c0177594 70 select AT91_SAM9_ALT_RESET
b2c65616 71
877d7720
AV
72config ARCH_AT91SAM9RL
73 bool "AT91SAM9RL"
c750815e 74 select CPU_ARM926T
ad48ce74 75 select GENERIC_CLOCKEVENTS
2ef9f59a 76 select HAVE_AT91_USART3
0912e535 77 select HAVE_FB_ATMEL
13079a73 78 select HAVE_AT91_DBGU0
c0177594 79 select AT91_SAM9_ALT_RESET
877d7720 80
61352667 81config ARCH_AT91SAM9G20
82 bool "AT91SAM9G20"
c750815e 83 select CPU_ARM926T
61352667 84 select GENERIC_CLOCKEVENTS
13079a73 85 select HAVE_AT91_DBGU0
2ef9f59a
JCPV
86 select HAVE_AT91_USART3
87 select HAVE_AT91_USART4
88 select HAVE_AT91_USART5
ee621dd6 89 select HAVE_NET_MACB
c0177594 90 select AT91_SAM9_ALT_RESET
61352667 91
789b23bc
NF
92config ARCH_AT91SAM9G45
93 bool "AT91SAM9G45"
94 select CPU_ARM926T
789b23bc 95 select GENERIC_CLOCKEVENTS
2ef9f59a 96 select HAVE_AT91_USART3
0912e535 97 select HAVE_FB_ATMEL
ee621dd6 98 select HAVE_NET_MACB
13079a73 99 select HAVE_AT91_DBGU1
789b23bc 100
2b3b3516
AV
101config ARCH_AT91CAP9
102 bool "AT91CAP9"
c750815e 103 select CPU_ARM926T
ad48ce74 104 select GENERIC_CLOCKEVENTS
0912e535 105 select HAVE_FB_ATMEL
568aa750 106 select HAVE_NET_MACB
13079a73 107 select HAVE_AT91_DBGU1
2b3b3516 108
9f1ccefe
GU
109config ARCH_AT91X40
110 bool "AT91x40"
5cfc8ee0 111 select ARCH_USES_GETTIMEOFFSET
9f1ccefe 112
05043d08
AV
113endchoice
114
9f1ccefe
GU
115config AT91_PMC_UNIT
116 bool
117 default !ARCH_AT91X40
118
8fc5ffa0
AV
119# ----------------------------------------------------------
120
121if ARCH_AT91RM9200
73a59c1c
SP
122
123comment "AT91RM9200 Board Type"
124
b184a4c9
LB
125config MACH_ONEARM
126 bool "Ajeco 1ARM Single Board Computer"
b184a4c9 127 help
8fc5ffa0 128 Select this if you are using Ajeco's 1ARM Single Board Computer.
50a23e6e 129 <http://www.ajeco.fi/>
b184a4c9 130
73a59c1c
SP
131config ARCH_AT91RM9200DK
132 bool "Atmel AT91RM9200-DK Development board"
2ef9f59a 133 select HAVE_AT91_DATAFLASH_CARD
73a59c1c 134 help
8fc5ffa0
AV
135 Select this if you are using Atmel's AT91RM9200-DK Development board.
136 (Discontinued)
137
73a59c1c
SP
138config MACH_AT91RM9200EK
139 bool "Atmel AT91RM9200-EK Evaluation Kit"
2ef9f59a 140 select HAVE_AT91_DATAFLASH_CARD
73a59c1c 141 help
8fc5ffa0
AV
142 Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
143 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
73a59c1c
SP
144
145config MACH_CSB337
8fc5ffa0 146 bool "Cogent CSB337"
73a59c1c 147 help
8fc5ffa0
AV
148 Select this if you are using Cogent's CSB337 board.
149 <http://www.cogcomp.com/csb_csb337.htm>
73a59c1c
SP
150
151config MACH_CSB637
8fc5ffa0 152 bool "Cogent CSB637"
73a59c1c 153 help
8fc5ffa0
AV
154 Select this if you are using Cogent's CSB637 board.
155 <http://www.cogcomp.com/csb_csb637.htm>
73a59c1c
SP
156
157config MACH_CARMEVA
8fc5ffa0 158 bool "Conitec ARM&EVA"
73a59c1c 159 help
8fc5ffa0 160 Select this if you are using Conitec's AT91RM9200-MCU-Module.
50a23e6e 161 <http://www.conitec.net/english/linuxboard.php>
73a59c1c 162
8fc5ffa0
AV
163config MACH_ATEB9200
164 bool "Embest ATEB9200"
73a59c1c 165 help
8fc5ffa0
AV
166 Select this if you are using Embest's ATEB9200 board.
167 <http://www.embedinfo.com/english/product/ATEB9200.asp>
73a59c1c 168
8fc5ffa0
AV
169config MACH_KB9200
170 bool "KwikByte KB920x"
6902f523 171 help
8fc5ffa0 172 Select this if you are using KwikByte's KB920x board.
50a23e6e 173 <http://www.kwikbyte.com/KB9202.html>
6902f523 174
5d01f133
SR
175config MACH_PICOTUX2XX
176 bool "picotux 200"
5d01f133
SR
177 help
178 Select this if you are using a picotux 200.
179 <http://www.picotux.com/>
180
6902f523
AV
181config MACH_KAFA
182 bool "Sperry-Sun KAFA board"
6902f523 183 help
8fc5ffa0
AV
184 Select this if you are using Sperry-Sun's KAFA board.
185
2f036ac6
AV
186config MACH_ECBAT91
187 bool "emQbit ECB_AT91 SBC"
2ef9f59a 188 select HAVE_AT91_DATAFLASH_CARD
2f036ac6
AV
189 help
190 Select this if you are using emQbit's ECB_AT91 board.
191 <http://wiki.emqbit.com/free-ecb-at91>
192
e3ba22db
AV
193config MACH_YL9200
194 bool "ucDragon YL-9200"
e3ba22db
AV
195 help
196 Select this if you are using the ucDragon YL-9200 board.
197
10233a93
EB
198config MACH_CPUAT91
199 bool "Eukrea CPUAT91"
10233a93
EB
200 help
201 Select this if you are using the Eukrea Electromatique's
202 CPUAT91 board <http://www.eukrea.com/>.
203
01c62c9b
UKK
204config MACH_ECO920
205 bool "eco920"
206 help
207 Select this if you are using the eco920 board
208
82cb8654
JH
209config MACH_RSI_EWS
210 bool "RSI Embedded Webserver"
211 depends on ARCH_AT91RM9200
212 help
213 Select this if you are using RSIs EWS board.
8fc5ffa0
AV
214endif
215
216# ----------------------------------------------------------
217
218if ARCH_AT91SAM9260
219
f7eee89b
AV
220comment "AT91SAM9260 Variants"
221
f7eee89b 222comment "AT91SAM9260 / AT91SAM9XE Board Type"
8fc5ffa0 223
58a0cd78 224config MACH_AT91SAM9260EK
f7eee89b 225 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
2ef9f59a 226 select HAVE_AT91_DATAFLASH_CARD
58a0cd78 227 help
f7eee89b 228 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
58a0cd78
AV
229 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
230
35131fb6
AV
231config MACH_CAM60
232 bool "KwikByte KB9260 (CAM60) board"
35131fb6
AV
233 help
234 Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
235 <http://www.kwikbyte.com/KB9260.html>
236
66dbfc6c
AV
237config MACH_SAM9_L9260
238 bool "Olimex SAM9-L9260 board"
2ef9f59a 239 select HAVE_AT91_DATAFLASH_CARD
66dbfc6c
AV
240 help
241 Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
242 <http://www.olimex.com/dev/sam9-L9260.html>
243
9c784f95
SL
244config MACH_AFEB9260
245 bool "Custom afeb9260 board v1"
9c784f95
SL
246 help
247 Select this if you are using custom afeb9260 board based on
248 open hardware design. Select this for revision 1 of the board.
249 <svn://194.85.238.22/home/users/george/svn/arm9eb>
250 <http://groups.google.com/group/arm9fpga-evolution-board>
251
ca0a789a
AV
252config MACH_USB_A9260
253 bool "CALAO USB-A9260"
ca0a789a
AV
254 help
255 Select this if you are using a Calao Systems USB-A9260.
256 <http://www.calao-systems.com>
257
258config MACH_QIL_A9260
259 bool "CALAO QIL-A9260 board"
ca0a789a
AV
260 help
261 Select this if you are using a Calao Systems QIL-A9260 Board.
262 <http://www.calao-systems.com>
263
41a353d1
EB
264config MACH_CPU9260
265 bool "Eukrea CPU9260 board"
41a353d1
EB
266 help
267 Select this if you are using a Eukrea Electromatique's
268 CPU9260 Board <http://www.eukrea.com/>
269
8ed90595
MO
270config MACH_FLEXIBITY
271 bool "Flexibity Connect board"
272 help
273 Select this if you are using Flexibity Connect board
274 <http://www.flexibity.com>
275
8fc5ffa0
AV
276endif
277
278# ----------------------------------------------------------
279
280if ARCH_AT91SAM9261
281
282comment "AT91SAM9261 Board Type"
283
58a0cd78
AV
284config MACH_AT91SAM9261EK
285 bool "Atmel AT91SAM9261-EK Evaluation Kit"
2ef9f59a 286 select HAVE_AT91_DATAFLASH_CARD
58a0cd78
AV
287 help
288 Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
289 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
290
8fc5ffa0
AV
291endif
292
58a0cd78
AV
293# ----------------------------------------------------------
294
b319ff80
NF
295if ARCH_AT91SAM9G10
296
297comment "AT91SAM9G10 Board Type"
298
299config MACH_AT91SAM9G10EK
300 bool "Atmel AT91SAM9G10-EK Evaluation Kit"
2ef9f59a 301 select HAVE_AT91_DATAFLASH_CARD
b319ff80
NF
302 help
303 Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
304 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
305
306endif
307
308# ----------------------------------------------------------
309
e6d92e63
AV
310if ARCH_AT91SAM9263
311
312comment "AT91SAM9263 Board Type"
313
314config MACH_AT91SAM9263EK
315 bool "Atmel AT91SAM9263-EK Evaluation Kit"
2ef9f59a 316 select HAVE_AT91_DATAFLASH_CARD
e6d92e63
AV
317 help
318 Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
319 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
320
ca0a789a
AV
321config MACH_USB_A9263
322 bool "CALAO USB-A9263"
ca0a789a
AV
323 help
324 Select this if you are using a Calao Systems USB-A9263.
325 <http://www.calao-systems.com>
326
ffc63b7d
AV
327config MACH_NEOCORE926
328 bool "Adeneo NEOCORE926"
2ef9f59a 329 select HAVE_AT91_DATAFLASH_CARD
ffc63b7d
AV
330 help
331 Select this if you are using the Adeneo Neocore 926 board.
332
e6d92e63
AV
333endif
334
335# ----------------------------------------------------------
336
c42dcb3d
AV
337if ARCH_AT91SAM9RL
338
339comment "AT91SAM9RL Board Type"
340
341config MACH_AT91SAM9RLEK
342 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
c42dcb3d
AV
343 help
344 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
345
346endif
347
348# ----------------------------------------------------------
349
61352667 350if ARCH_AT91SAM9G20
351
352comment "AT91SAM9G20 Board Type"
353
354config MACH_AT91SAM9G20EK
355 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
2ef9f59a 356 select HAVE_AT91_DATAFLASH_CARD
61352667 357 help
0f74296a
NF
358 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
359 that embeds only one SD/MMC slot.
360
361config MACH_AT91SAM9G20EK_2MMC
a6e016f1 362 depends on MACH_AT91SAM9G20EK
0f74296a 363 bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
0f74296a
NF
364 help
365 Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
366 with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
367 onwards.
61352667 368
41a353d1
EB
369config MACH_CPU9G20
370 bool "Eukrea CPU9G20 board"
41a353d1
EB
371 help
372 Select this if you are using a Eukrea Electromatique's
373 CPU9G20 Board <http://www.eukrea.com/>
374
0fb55d3b
ST
375config MACH_ACMENETUSFOXG20
376 bool "Acme Systems srl FOX Board G20"
377 help
378 Select this if you are using Acme Systems
379 FOX Board G20 <http://www.acmesystems.it>
380
9b404b7c
CG
381config MACH_PORTUXG20
382 bool "taskit PortuxG20"
383 help
384 Select this if you are using taskit's PortuxG20.
385 <http://www.taskit.de/en/>
386
387config MACH_STAMP9G20
388 bool "taskit Stamp9G20 CPU module"
389 help
390 Select this if you are using taskit's Stamp9G20 CPU module on its
391 evaluation board.
392 <http://www.taskit.de/en/>
393
abf0c1bc
PG
394config MACH_PCONTROL_G20
395 bool "PControl G20 CPU module"
396 help
397 Select this if you are using taskit's Stamp9G20 CPU module on this
398 carrier board, beeing the decentralized unit of a building automation
399 system; featuring nvram, eth-switch, iso-rs485, display, io
fcdc2ea7
IP
400
401config MACH_GSIA18S
402 bool "GS_IA18_S board"
403 help
404 This enables support for the GS_IA18_S board
405 produced by GeoSIG Ltd company. This is an internet accelerograph.
406 <http://www.geosig.com>
0a072a24
JCPV
407
408config MACH_USB_A9G20
409 bool "CALAO USB-A9G20"
410 depends on ARCH_AT91SAM9G20
411 help
412 Select this if you are using a Calao Systems USB-A9G20.
413 <http://www.calao-systems.com>
414
61352667 415endif
416
064baaca
RM
417if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
418comment "AT91SAM9260/AT91SAM9G20 boards"
419
420config MACH_SNAPPER_9260
421 bool "Bluewater Systems Snapper 9260/9G20 module"
422 help
423 Select this if you are using the Bluewater Systems Snapper 9260 or
424 Snapper 9G20 modules.
425 <http://www.bluewatersys.com/>
426endif
427
61352667 428# ----------------------------------------------------------
429
789b23bc
NF
430if ARCH_AT91SAM9G45
431
432comment "AT91SAM9G45 Board Type"
433
67dd8995
JCPV
434config MACH_AT91SAM9M10G45EK
435 bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
789b23bc
NF
436 help
437 Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
438 "ES" at the end of the name means that this board is an
439 Engineering Sample.
440
441endif
442
443# ----------------------------------------------------------
444
86640cae
AV
445if ARCH_AT91CAP9
446
447comment "AT91CAP9 Board Type"
448
449config MACH_AT91CAP9ADK
450 bool "Atmel AT91CAP9A-DK Evaluation Kit"
2ef9f59a 451 select HAVE_AT91_DATAFLASH_CARD
86640cae
AV
452 help
453 Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
454 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
455
456endif
457
458# ----------------------------------------------------------
459
9f1ccefe
GU
460if ARCH_AT91X40
461
462comment "AT91X40 Board Type"
463
464config MACH_AT91EB01
465 bool "Atmel AT91EB01 Evaluation Kit"
466 help
467 Select this if you are using Atmel's AT91EB01 Evaluation Kit.
468 It is also a popular target for simulators such as GDB's
469 ARM simulator (commonly known as the ARMulator) and the
470 Skyeye simulator.
471
472endif
473
474# ----------------------------------------------------------
475
49fe2ba3
NF
476comment "Generic Board Type"
477
478config MACH_AT91SAM_DT
479 bool "Atmel AT91SAM Evaluation Kits with device-tree support"
480 select USE_OF
481 help
482 Select this if you want to experiment device-tree with
483 an Atmel Evaluation Kit.
484
485# ----------------------------------------------------------
486
58a0cd78
AV
487comment "AT91 Board Options"
488
489config MTD_AT91_DATAFLASH_CARD
490 bool "Enable DataFlash Card support"
2ef9f59a 491 depends on HAVE_AT91_DATAFLASH_CARD
58a0cd78
AV
492 help
493 Enable support for the DataFlash card.
494
8fc5ffa0 495# ----------------------------------------------------------
73a59c1c 496
8fc5ffa0 497comment "AT91 Feature Selections"
73a59c1c
SP
498
499config AT91_PROGRAMMABLE_CLOCKS
500 bool "Programmable Clocks"
501 help
502 Select this if you need to program one or more of the PCK0..PCK3
503 programmable clock outputs.
504
eaad2db0
AV
505config AT91_SLOW_CLOCK
506 bool "Suspend-to-RAM disables main oscillator"
507 depends on SUSPEND
508 help
509 Select this if you want Suspend-to-RAM to save the most power
510 possible (without powering off the CPU) by disabling the PLLs
511 and main oscillator so that only the 32 KiHz clock is available.
512
513 When only that slow-clock is available, some peripherals lose
514 functionality. Many can't issue wakeup events unless faster
515 clocks are available. Some lose their operating state and
516 need to be completely re-initialized.
517
5248c657
DB
518config AT91_TIMER_HZ
519 int "Kernel HZ (jiffies per second)"
520 range 32 1024
521 depends on ARCH_AT91
522 default "128" if ARCH_AT91RM9200
523 default "100"
524 help
525 On AT91rm9200 chips where you're using a system clock derived
526 from the 32768 Hz hardware clock, this tick rate should divide
527 it exactly: use a power-of-two value, such as 128 or 256, to
528 reduce timing errors caused by rounding.
529
530 On AT91sam926x chips, or otherwise when using a higher precision
531 system clock (of at least several MHz), rounding is less of a
532 problem so it can be safer to use a decimal values like 100.
533
fa3218d8
GL
534choice
535 prompt "Select a UART for early kernel messages"
536
13079a73
JCPV
537config AT91_EARLY_DBGU0
538 bool "DBGU on rm9200, 9260/9g20, 9261/9g10 and 9rl"
539 depends on HAVE_AT91_DBGU0
540
541config AT91_EARLY_DBGU1
542 bool "DBGU on 9263, 9g45 and cap9"
543 depends on HAVE_AT91_DBGU1
fa3218d8
GL
544
545config AT91_EARLY_USART0
546 bool "USART0"
547
548config AT91_EARLY_USART1
549 bool "USART1"
550
551config AT91_EARLY_USART2
552 bool "USART2"
553 depends on ! ARCH_AT91X40
554
555config AT91_EARLY_USART3
556 bool "USART3"
2ef9f59a 557 depends on HAVE_AT91_USART3
fa3218d8
GL
558
559config AT91_EARLY_USART4
560 bool "USART4"
2ef9f59a 561 depends on HAVE_AT91_USART4
fa3218d8
GL
562
563config AT91_EARLY_USART5
564 bool "USART5"
2ef9f59a 565 depends on HAVE_AT91_USART5
fa3218d8
GL
566
567endchoice
568
73a59c1c
SP
569endmenu
570
571endif