1 menu "Atmel AT91 System-on-Chip"
5 prompt "Atmel AT91 Processor"
10 select GENERIC_CLOCKEVENTS
12 config ARCH_AT91SAM9260
13 bool "AT91SAM9260 or AT91SAM9XE"
15 select GENERIC_CLOCKEVENTS
17 Select this if you are using Atmel's AT91SAM9260 or AT91SAM9XE
18 System-on-Chip. They are basically AT91SAM9260s with various
19 sizes of embedded Flash.
21 config ARCH_AT91SAM9261
24 select GENERIC_CLOCKEVENTS
26 config ARCH_AT91SAM9263
29 select GENERIC_CLOCKEVENTS
31 config ARCH_AT91SAM9RL
34 select GENERIC_CLOCKEVENTS
36 config ARCH_AT91SAM9G20
39 select GENERIC_CLOCKEVENTS
44 select GENERIC_CLOCKEVENTS
55 # ----------------------------------------------------------
60 A kernel is always taylored to run on a specific board.
61 Find out what board you have and choose one of the
65 bool "Ajeco 1ARM Single Board Computer"
66 depends on ARCH_AT91RM9200
68 Select this if you are using Ajeco's 1ARM Single Board Computer.
69 <http://www.ajeco.fi/products.htm>
71 config ARCH_AT91RM9200DK
72 bool "Atmel AT91RM9200-DK Development board"
73 depends on ARCH_AT91RM9200
75 Select this if you are using Atmel's AT91RM9200-DK Development board.
78 config MACH_AT91RM9200EK
79 bool "Atmel AT91RM9200-EK Evaluation Kit"
80 depends on ARCH_AT91RM9200
82 Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
83 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
87 depends on ARCH_AT91RM9200
89 Select this if you are using Cogent's CSB337 board.
90 <http://www.cogcomp.com/csb_csb337.htm>
94 depends on ARCH_AT91RM9200
96 Select this if you are using Cogent's CSB637 board.
97 <http://www.cogcomp.com/csb_csb637.htm>
100 bool "Conitec ARM&EVA"
101 depends on ARCH_AT91RM9200
103 Select this if you are using Conitec's AT91RM9200-MCU-Module.
104 <http://www.conitec.net/english/linuxboard.htm>
107 bool "Embest ATEB9200"
108 depends on ARCH_AT91RM9200
110 Select this if you are using Embest's ATEB9200 board.
111 <http://www.embedinfo.com/english/product/ATEB9200.asp>
114 bool "KwikByte KB920x"
115 depends on ARCH_AT91RM9200
117 Select this if you are using KwikByte's KB920x board.
118 <http://kwikbyte.com/KB9202_description_new.htm>
120 config MACH_PICOTUX2XX
122 depends on ARCH_AT91RM9200
124 Select this if you are using a picotux 200.
125 <http://www.picotux.com/>
128 bool "Sperry-Sun KAFA board"
129 depends on ARCH_AT91RM9200
131 Select this if you are using Sperry-Sun's KAFA board.
134 bool "emQbit ECB_AT91 SBC"
135 depends on ARCH_AT91RM9200
137 Select this if you are using emQbit's ECB_AT91 board.
138 <http://wiki.emqbit.com/free-ecb-at91>
141 bool "ucDragon YL-9200"
142 depends on ARCH_AT91RM9200
144 Select this if you are using the ucDragon YL-9200 board.
146 # ----------------------------------------------------------
148 config MACH_AT91SAM9260EK
149 bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
150 depends on ARCH_AT91SAM9260
152 Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
153 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
156 bool "KwikByte KB9260 (CAM60) board"
157 depends on ARCH_AT91SAM9260
159 Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
160 <http://www.kwikbyte.com/KB9260.html>
162 config MACH_SAM9_L9260
163 bool "Olimex SAM9-L9260 board"
164 depends on ARCH_AT91SAM9260
166 Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
167 <http://www.olimex.com/dev/sam9-L9260.html>
169 config MACH_USB_A9260
170 bool "CALAO USB-A9260"
171 depends on ARCH_AT91SAM9260
173 Select this if you are using a Calao Systems USB-A9260.
174 <http://www.calao-systems.com>
176 config MACH_QIL_A9260
177 bool "CALAO QIL-A9260 board"
178 depends on ARCH_AT91SAM9260
179 select AT91_EARLY_USART0
181 Select this if you are using a Calao Systems QIL-A9260 Board.
182 <http://www.calao-systems.com>
184 # ----------------------------------------------------------
186 config MACH_AT91SAM9261EK
187 bool "Atmel AT91SAM9261-EK Evaluation Kit"
188 depends on ARCH_AT91SAM9261
190 Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
191 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
193 # ----------------------------------------------------------
195 config MACH_AT91SAM9263EK
196 bool "Atmel AT91SAM9263-EK Evaluation Kit"
197 depends on ARCH_AT91SAM9263
199 Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
200 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
202 config MACH_USB_A9263
203 bool "CALAO USB-A9263"
204 depends on ARCH_AT91SAM9263
206 Select this if you are using a Calao Systems USB-A9263.
207 <http://www.calao-systems.com>
210 # ----------------------------------------------------------
212 config MACH_AT91SAM9RLEK
213 bool "Atmel AT91SAM9RL-EK Evaluation Kit"
214 depends on ARCH_AT91SAM9RL
216 Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
218 # ----------------------------------------------------------
220 config MACH_AT91SAM9G20EK
221 bool "Atmel AT91SAM9G20-EK Evaluation Kit"
222 depends on ARCH_AT91SAM9G20
224 Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit.
226 # ----------------------------------------------------------
228 config MACH_AT91CAP9ADK
229 bool "Atmel AT91CAP9A-DK Evaluation Kit"
230 depends on ARCH_AT91CAP9
232 Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
233 <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
235 # ----------------------------------------------------------
238 bool "Atmel AT91EB01 Evaluation Kit"
239 depends on ARCH_AT91X40
241 Select this if you are using Atmel's AT91EB01 Evaluation Kit.
242 It is also a popular target for simulators such as GDB's
243 ARM simulator (commonly known as the ARMulator) and the
248 # ----------------------------------------------------------
250 comment "AT91 Board Options"
252 config MTD_AT91_DATAFLASH_CARD
253 bool "Enable DataFlash Card support"
254 depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_ECBAT91 || MACH_SAM9_L9260 || MACH_AT91CAP9ADK)
256 Enable support for the DataFlash card.
258 config MTD_NAND_ATMEL_BUSWIDTH_16
259 bool "Enable 16-bit data bus interface to NAND flash"
260 depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK)
262 On AT91SAM926x boards both types of NAND flash can be present
263 (8 and 16 bit data bus width).
265 # ----------------------------------------------------------
267 comment "AT91 Feature Selections"
269 config AT91_PROGRAMMABLE_CLOCKS
270 bool "Programmable Clocks"
272 Select this if you need to program one or more of the PCK0..PCK3
273 programmable clock outputs.
276 int "Kernel HZ (jiffies per second)"
279 default "128" if ARCH_AT91RM9200
282 On AT91rm9200 chips where you're using a system clock derived
283 from the 32768 Hz hardware clock, this tick rate should divide
284 it exactly: use a power-of-two value, such as 128 or 256, to
285 reduce timing errors caused by rounding.
287 On AT91sam926x chips, or otherwise when using a higher precision
288 system clock (of at least several MHz), rounding is less of a
289 problem so it can be safer to use a decimal values like 100.
291 config AT91_SETUP_USART
292 depends on SERIAL_ATMEL
296 All AT91 boards are set up with a pre-defined configuration for
297 their serial ports. It might be, that a development board has
298 a number of serial ports enabled by default, but more serial
299 ports may be actually available. This can be circumvented, by
300 enabling this option and customising the serial setup of a board.
302 If you are building add-on boards for a AT91 based development
303 board, and you need a special serial port mapping, you should
304 modify the custom USART settings below.
306 NOTE: There is no built-in check that avoids you assigning more
307 than one USART to a singel device, so use with care.
309 # .--------------------------------------------------------------------------.
310 # |AT91 Serial Port Configuration Summary |.|.| USARTn - /dev/ttySn binding |
311 # |--------------------------------------------------------------------------|
312 # |ARCH_AT91RM9200: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
313 # |--------------------------------------------------------------------------|
314 # |MACH_ONEARM board-1arm.c |D|4| 0c| 1c*| | | | |
315 # |ARCH_AT91RM9200DK board-dk.c |D|0| | 1c*| | | | |
316 # |MACH_AT91RM9200EK board-ek.c |D|0| | 1c*| | | | |
317 # |MACH_CSB337 board-csb337.c |D|0| | | | | | |
318 # |MACH_CSB637 board-csb637.c |D|0| | | | | | |
319 # |MACH_CARMEVA board-carmeva.c |D|0| | | | | | |
320 # |MACH_ATEB9200 board-eb9200.c |D|0| 1| | | | | |
321 # |MACH_KB9200 board-kb9202.c |D|0| 1| 2| | 3c| | |
322 # |MACH_KAFA board-kafa.c |D|4| 0| | | | | |
323 # |MACH_PICOTUX2XX board-picotux200.c |D|4| | 1c*| | | | |
324 # |MACH_ECBAT91 board-ecbat91.c |D|0| 1| | | | | |
325 # |MACH_YL9200 board-yl-9200.c |D|0| 2| 1c*| | 3c.| | |
326 # |--------------------------------------------------------------------------|
327 # |ARCH_AT91SAM9260: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
328 # |--------------------------------------------------------------------------|
329 # |MACH_AT91SAM9260EK board-sam9260ek.c |D|0| 1c*| 2c| | | | |
330 # |MACH_CAM60 board-cam60.c |D|0| | | | | | |
331 # |MACH_SAM9_L9260 board-sam9-l9260.c |D|0| 1c*| 2c| | | | |
332 # |MACH_USB_A9260 board-usb-a9260.c |D|0| | | | | | |
333 # |MACH_QIL_A9260 board-qil-a9260.c |0|0| 1c*| 2c| 3c| | | |
334 # |--------------------------------------------------------------------------|
335 # |ARCH_AT91SAM9261: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
336 # |--------------------------------------------------------------------------|
337 # |MACH_AT91SAM9261EK board-sam9261ek.c |D|0| | | | | | |
338 # |--------------------------------------------------------------------------|
339 # |ARCH_AT91SAM9263: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
340 # |--------------------------------------------------------------------------|
341 # |MACH_AT91SAM9263EK board-sam9263ek.c |D|0| 1c| | | | | |
342 # |MACH_USB_A9263 board-usb-a9263.c |D|0| | | | | | |
343 # |--------------------------------------------------------------------------|
344 # |ARCH_AT91SAM9RL: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
345 # |--------------------------------------------------------------------------|
346 # |MACH_AT91SAM9RLEK board-sam9rlek.c |D|0| 1c| | | | | |
347 # |--------------------------------------------------------------------------|
348 # |ARCH_AT91SAM9G20: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
349 # |--------------------------------------------------------------------------|
350 # |MACH_AT91SAM9G20EK board-sam9g20ek.c |D|0| 1c*| 2c| | | | |
351 # |--------------------------------------------------------------------------|
352 # |ARCH_AT91CAP9: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
353 # |--------------------------------------------------------------------------|
354 # |MACH_AT91CAP9ADK board-cap9adk.c |D|0| | | | | | |
355 # |--------------------------------------------------------------------------|
356 # |ARCH_AT91X40: |C|D| 0 | 1 | 2 | 3 | 4 | 5 |
357 # |--------------------------------------------------------------------------|
358 # |MACH_AT91EB01 board-eb01.c |-|-| | | | | | |
359 # '--------------------------------------------------------------------------'
372 # c : control lines (CTS and RTS)
373 # c* : control lines (CTS, RTS, DTR, DSR, DCD, RI)
374 # c. : control lines (RTS)
376 # Example: The MACH_YL9200 implementation can be found in board-yl-9200.c.
377 # Its console is on the serial debug port and on /dev/ttyS0. USART0 is mapped
378 # to /dev/ttyS2. USART1 is mapped to /dev/ttyS1 and it has CTS, RTS, DTR,
379 # DSR, DCD, RI enabled. USART2 is not set up. USART3 is mapped to /dev/ttyS3
380 # and it has the RTS control line enabled.
384 default "2" if ARCH_AT91X40
385 default "4" if ARCH_AT91CAP9 || ARCH_AT91SAM9261 || ARCH_AT91SAM9263
386 default "5" if ARCH_AT91RM9200 || ARCH_AT91SAM9RL
390 prompt "Select a UART for early kernel messages"
391 depends on AT91_SETUP_USART
393 config AT91_EARLY_DBGU
396 config AT91_EARLY_USART0
399 config AT91_EARLY_USART1
402 config AT91_EARLY_USART2
404 depends on ! ARCH_AT91X40
406 config AT91_EARLY_USART3
408 depends on ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
410 config AT91_EARLY_USART4
412 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
414 config AT91_EARLY_USART5
416 depends on ARCH_AT91SAM9260 || ARCH_AT91SAM9G20
420 menuconfig AT91_SETUP_DBGU
421 depends on AT91_SETUP_USART
423 default y if !ARCH_AT91X40
425 config AT91_DBGU_DEV_NR
426 depends on AT91_SETUP_DBGU
427 int "device number /dev/tty*(0-6)"
429 default "4" if MACH_ONEARM
430 default "4" if MACH_KAFA
431 default "4" if MACH_PICOTUX2XX
434 menuconfig AT91_SETUP_USART0
435 depends on AT91_SETUP_USART
437 default y if MACH_ONEARM
438 default y if MACH_ATEB9200
439 default y if MACH_KB9200
440 default y if MACH_KAFA
441 default y if MACH_ECBAT91
442 default y if MACH_YL9200
443 default y if MACH_AT91SAM9260EK
444 default y if MACH_SAM9_L9260
445 default y if MACH_QIL_A9260
446 default y if MACH_AT91SAM9263EK
447 default y if MACH_AT91SAM9RLEK
448 default y if MACH_AT91SAM9G20EK
450 config AT91_USART0_DEV_NR
451 depends on AT91_SETUP_USART0
452 int "device number /dev/tty*(0-6)"
454 default "0" if MACH_ONEARM
455 default "0" if MACH_KAFA
456 default "2" if MACH_YL9200
459 menuconfig AT91_USART0_MODEM_CONTROLS
460 depends on AT91_SETUP_USART0 && !ARCH_AT91X40
461 bool "Hardware Control Lines"
462 default y if MACH_ONEARM
463 default y if MACH_AT91SAM9260EK
464 default y if MACH_SAM9_L9260
465 default y if MACH_QIL_A9260
466 default y if MACH_AT91SAM9263EK
467 default y if MACH_AT91SAM9RLEK
468 default y if MACH_AT91SAM9G20EK
470 config AT91_USART0_UART_CTS
471 depends on AT91_USART0_MODEM_CONTROLS
475 Enable the CTS control line.
477 config AT91_USART0_UART_RTS
478 depends on AT91_USART0_MODEM_CONTROLS
482 Enable the RTS control line.
484 config AT91_USART0_UART_DTR
485 depends on AT91_USART0_MODEM_CONTROLS && !ARCH_AT91CAP9 && !ARCH_AT91RM9200 && !ARCH_AT91SAM9261
487 default y if MACH_AT91SAM9260EK
488 default y if MACH_SAM9_L9260
489 default y if MACH_QIL_A9260
490 default y if MACH_AT91SAM9G20EK
492 Enable the DTR control line.
494 config AT91_USART0_UART_DSR
495 depends on AT91_USART0_MODEM_CONTROLS && !ARCH_AT91CAP9 && !ARCH_AT91RM9200 && !ARCH_AT91SAM9261
497 default y if MACH_AT91SAM9260EK
498 default y if MACH_SAM9_L9260
499 default y if MACH_QIL_A9260
500 default y if MACH_AT91SAM9G20EK
502 Enable the DSR control line.
504 config AT91_USART0_UART_DCD
505 depends on AT91_USART0_MODEM_CONTROLS && !ARCH_AT91CAP9 && !ARCH_AT91RM9200 && !ARCH_AT91SAM9261
507 default y if MACH_AT91SAM9260EK
508 default y if MACH_SAM9_L9260
509 default y if MACH_QIL_A9260
510 default y if MACH_AT91SAM9G20EK
512 Enable the DCD control line.
514 config AT91_USART0_UART_RI
515 depends on AT91_USART0_MODEM_CONTROLS && !ARCH_AT91CAP9 && !ARCH_AT91RM9200 && !ARCH_AT91SAM9261
517 default y if MACH_AT91SAM9260EK
518 default y if MACH_SAM9_L9260
519 default y if MACH_QIL_A9260
520 default y if MACH_AT91SAM9G20EK
522 Enable the RI control line.
524 menuconfig AT91_SETUP_USART1
525 depends on AT91_SETUP_USART
527 default y if MACH_ONEARM
528 default y if ARCH_AT91RM9200DK
529 default y if MACH_AT91RM9200EK
530 default y if MACH_KB9200
531 default y if MACH_PICOTUX2XX
532 default y if MACH_YL9200
533 default y if MACH_AT91SAM9260EK
534 default y if MACH_SAM9_L9260
535 default y if MACH_QIL_A9260
536 default y if MACH_AT91SAM9G20EK
538 config AT91_USART1_DEV_NR
539 depends on AT91_SETUP_USART1
540 int "device number /dev/tty*(0-6)"
542 default "1" if MACH_ONEARM
543 default "1" if ARCH_AT91RM9200DK
544 default "1" if MACH_AT91RM9200EK
545 default "1" if MACH_PICOTUX2XX
546 default "1" if MACH_YL9200
549 menuconfig AT91_USART1_MODEM_CONTROLS
550 depends on AT91_SETUP_USART1 && !ARCH_AT91X40
551 bool "Hardware Control Lines"
552 default y if MACH_ONEARM
553 default y if ARCH_AT91RM9200DK
554 default y if MACH_AT91RM9200EK
555 default y if MACH_PICOTUX2XX
556 default y if MACH_YL9200
557 default y if MACH_AT91SAM9260EK
558 default y if MACH_SAM9_L9260
559 default y if MACH_QIL_A9260
560 default y if MACH_AT91SAM9G20EK
562 config AT91_USART1_UART_CTS
563 depends on AT91_USART1_MODEM_CONTROLS
567 Enable the CTS control line.
569 config AT91_USART1_UART_RTS
570 depends on AT91_USART1_MODEM_CONTROLS
574 Enable the RTS control line.
576 config AT91_USART1_UART_DTR
577 depends on AT91_USART1_MODEM_CONTROLS && \
578 (MACH_ONEARM || ARCH_AT91RM9200DK || \
579 MACH_AT91RM9200EK || MACH_PICOTUX2XX || MACH_YL9200)
583 Enable the DTR control line.
585 config AT91_USART1_UART_DSR
586 depends on AT91_USART1_MODEM_CONTROLS && \
587 (MACH_ONEARM || ARCH_AT91RM9200DK || \
588 MACH_AT91RM9200EK || MACH_PICOTUX2XX || MACH_YL9200)
592 Enable the DSR control line.
594 config AT91_USART1_UART_DCD
595 depends on AT91_USART1_MODEM_CONTROLS && \
596 (MACH_ONEARM || ARCH_AT91RM9200DK || \
597 MACH_AT91RM9200EK || MACH_PICOTUX2XX || MACH_YL9200)
601 Enable the DCD control line.
603 config AT91_USART1_UART_RI
604 depends on AT91_USART1_MODEM_CONTROLS && \
605 (MACH_ONEARM || ARCH_AT91RM9200DK || \
606 MACH_AT91RM9200EK || MACH_PICOTUX2XX || MACH_YL9200)
610 Enable the RI control line.
612 menuconfig AT91_SETUP_USART2
613 depends on AT91_SETUP_USART && !ARCH_AT91X40
615 default y if MACH_QIL_A9260
617 config AT91_USART2_DEV_NR
618 depends on AT91_SETUP_USART2
619 int "device number /dev/tty*(0-6)"
623 menuconfig AT91_USART2_MODEM_CONTROLS
624 depends on AT91_SETUP_USART2 && !ARCH_AT91X40
625 bool "Hardware Control Lines"
626 default y if MACH_QIL_A9260
628 config AT91_USART2_UART_CTS
629 depends on AT91_USART2_MODEM_CONTROLS
633 Enable the CTS control line.
635 config AT91_USART2_UART_RTS
636 depends on AT91_USART2_MODEM_CONTROLS
640 Enable the RTS control line.
642 menuconfig AT91_SETUP_USART3
643 depends on AT91_SETUP_USART && \
644 (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || \
645 ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
647 default y if MACH_KB9200
648 default y if MACH_YL9200
650 config AT91_USART3_DEV_NR
651 depends on AT91_SETUP_USART3
652 int "device number /dev/tty*(0-6)"
654 default "3" if MACH_KB9200
655 default "3" if MACH_YL9200
658 menuconfig AT91_USART3_MODEM_CONTROLS
659 depends on AT91_SETUP_USART3
660 bool "Hardware Control Lines"
661 default y if MACH_KB9200
662 default y if MACH_YL9200
664 config AT91_USART3_UART_CTS
665 depends on AT91_USART3_MODEM_CONTROLS
667 default y if MACH_KB9200
669 Enable the CTS control line.
671 config AT91_USART3_UART_RTS
672 depends on AT91_USART3_MODEM_CONTROLS
676 Enable the RTS control line.
678 menuconfig AT91_SETUP_USART4
679 depends on AT91_SETUP_USART && (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
683 config AT91_USART4_DEV_NR
684 depends on AT91_SETUP_USART4
685 int "device number /dev/tty*(0-6)"
689 menuconfig AT91_SETUP_USART5
690 depends on AT91_SETUP_USART && (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
694 config AT91_USART5_DEV_NR
695 depends on AT91_SETUP_USART5
696 int "device number /dev/tty*(0-6)"