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