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