xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision e3ba22db)
19d041268SAndrew Victorif ARCH_AT91
29d041268SAndrew Victor
39d041268SAndrew Victormenu "Atmel AT91 System-on-Chip"
49d041268SAndrew Victor
59d041268SAndrew Victorchoice
69d041268SAndrew Victor	prompt "Atmel AT91 Processor"
79d041268SAndrew Victor
89d041268SAndrew Victorconfig ARCH_AT91RM9200
99d041268SAndrew Victor	bool "AT91RM9200"
105e802dfaSDavid Brownell	select GENERIC_TIME
115e802dfaSDavid Brownell	select GENERIC_CLOCKEVENTS
129d041268SAndrew Victor
139d041268SAndrew Victorconfig ARCH_AT91SAM9260
14f7eee89bSAndrew Victor	bool "AT91SAM9260 or AT91SAM9XE"
15ad48ce74SAndrew Victor	select GENERIC_TIME
16ad48ce74SAndrew Victor	select GENERIC_CLOCKEVENTS
179d041268SAndrew Victor
189d041268SAndrew Victorconfig ARCH_AT91SAM9261
199d041268SAndrew Victor	bool "AT91SAM9261"
20ad48ce74SAndrew Victor	select GENERIC_TIME
21ad48ce74SAndrew Victor	select GENERIC_CLOCKEVENTS
229d041268SAndrew Victor
23b2c65616SAndrew Victorconfig ARCH_AT91SAM9263
24b2c65616SAndrew Victor	bool "AT91SAM9263"
25ad48ce74SAndrew Victor	select GENERIC_TIME
26ad48ce74SAndrew Victor	select GENERIC_CLOCKEVENTS
27b2c65616SAndrew Victor
28877d7720SAndrew Victorconfig ARCH_AT91SAM9RL
29877d7720SAndrew Victor	bool "AT91SAM9RL"
30ad48ce74SAndrew Victor	select GENERIC_TIME
31ad48ce74SAndrew Victor	select GENERIC_CLOCKEVENTS
32877d7720SAndrew Victor
332b3b3516SAndrew Victorconfig ARCH_AT91CAP9
342b3b3516SAndrew Victor	bool "AT91CAP9"
35ad48ce74SAndrew Victor	select GENERIC_TIME
36ad48ce74SAndrew Victor	select GENERIC_CLOCKEVENTS
372b3b3516SAndrew Victor
389f1ccefeSGreg Ungererconfig ARCH_AT91X40
399f1ccefeSGreg Ungerer	bool "AT91x40"
409f1ccefeSGreg Ungerer
419d041268SAndrew Victorendchoice
429d041268SAndrew Victor
439f1ccefeSGreg Ungererconfig AT91_PMC_UNIT
449f1ccefeSGreg Ungerer	bool
459f1ccefeSGreg Ungerer	default !ARCH_AT91X40
469f1ccefeSGreg Ungerer
479d041268SAndrew Victor# ----------------------------------------------------------
489d041268SAndrew Victor
499d041268SAndrew Victorif ARCH_AT91RM9200
509d041268SAndrew Victor
519d041268SAndrew Victorcomment "AT91RM9200 Board Type"
529d041268SAndrew Victor
539d041268SAndrew Victorconfig MACH_ONEARM
549d041268SAndrew Victor	bool "Ajeco 1ARM Single Board Computer"
559d041268SAndrew Victor	depends on ARCH_AT91RM9200
569d041268SAndrew Victor	help
579d041268SAndrew Victor	  Select this if you are using Ajeco's 1ARM Single Board Computer.
589d041268SAndrew Victor	  <http://www.ajeco.fi/products.htm>
599d041268SAndrew Victor
609d041268SAndrew Victorconfig ARCH_AT91RM9200DK
619d041268SAndrew Victor	bool "Atmel AT91RM9200-DK Development board"
629d041268SAndrew Victor	depends on ARCH_AT91RM9200
639d041268SAndrew Victor	help
649d041268SAndrew Victor	  Select this if you are using Atmel's AT91RM9200-DK Development board.
659d041268SAndrew Victor	  (Discontinued)
669d041268SAndrew Victor
679d041268SAndrew Victorconfig MACH_AT91RM9200EK
689d041268SAndrew Victor	bool "Atmel AT91RM9200-EK Evaluation Kit"
699d041268SAndrew Victor	depends on ARCH_AT91RM9200
709d041268SAndrew Victor	help
719d041268SAndrew Victor	  Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
729d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
739d041268SAndrew Victor
749d041268SAndrew Victorconfig MACH_CSB337
759d041268SAndrew Victor	bool "Cogent CSB337"
769d041268SAndrew Victor	depends on ARCH_AT91RM9200
779d041268SAndrew Victor	help
789d041268SAndrew Victor	  Select this if you are using Cogent's CSB337 board.
799d041268SAndrew Victor	  <http://www.cogcomp.com/csb_csb337.htm>
809d041268SAndrew Victor
819d041268SAndrew Victorconfig MACH_CSB637
829d041268SAndrew Victor	bool "Cogent CSB637"
839d041268SAndrew Victor	depends on ARCH_AT91RM9200
849d041268SAndrew Victor	help
859d041268SAndrew Victor	  Select this if you are using Cogent's CSB637 board.
869d041268SAndrew Victor	  <http://www.cogcomp.com/csb_csb637.htm>
879d041268SAndrew Victor
889d041268SAndrew Victorconfig MACH_CARMEVA
899d041268SAndrew Victor	bool "Conitec ARM&EVA"
909d041268SAndrew Victor	depends on ARCH_AT91RM9200
919d041268SAndrew Victor	help
929d041268SAndrew Victor	  Select this if you are using Conitec's AT91RM9200-MCU-Module.
939d041268SAndrew Victor	  <http://www.conitec.net/english/linuxboard.htm>
949d041268SAndrew Victor
959d041268SAndrew Victorconfig MACH_ATEB9200
969d041268SAndrew Victor	bool "Embest ATEB9200"
979d041268SAndrew Victor	depends on ARCH_AT91RM9200
989d041268SAndrew Victor	help
999d041268SAndrew Victor	  Select this if you are using Embest's ATEB9200 board.
1009d041268SAndrew Victor	  <http://www.embedinfo.com/english/product/ATEB9200.asp>
1019d041268SAndrew Victor
1029d041268SAndrew Victorconfig MACH_KB9200
1039d041268SAndrew Victor	bool "KwikByte KB920x"
1049d041268SAndrew Victor	depends on ARCH_AT91RM9200
1059d041268SAndrew Victor	help
1069d041268SAndrew Victor	  Select this if you are using KwikByte's KB920x board.
1079d041268SAndrew Victor	  <http://kwikbyte.com/KB9202_description_new.htm>
1089d041268SAndrew Victor
1095d01f133SSimon Richterconfig MACH_PICOTUX2XX
1105d01f133SSimon Richter	bool "picotux 200"
1115d01f133SSimon Richter	depends on ARCH_AT91RM9200
1125d01f133SSimon Richter	help
1135d01f133SSimon Richter	  Select this if you are using a picotux 200.
1145d01f133SSimon Richter	  <http://www.picotux.com/>
1155d01f133SSimon Richter
1169d041268SAndrew Victorconfig MACH_KAFA
1179d041268SAndrew Victor	bool "Sperry-Sun KAFA board"
1189d041268SAndrew Victor	depends on ARCH_AT91RM9200
1199d041268SAndrew Victor	help
1209d041268SAndrew Victor	  Select this if you are using Sperry-Sun's KAFA board.
1219d041268SAndrew Victor
1222f036ac6SAndrew Victorconfig MACH_ECBAT91
1232f036ac6SAndrew Victor	bool "emQbit ECB_AT91 SBC"
1242f036ac6SAndrew Victor	depends on ARCH_AT91RM9200
1252f036ac6SAndrew Victor	help
1262f036ac6SAndrew Victor	  Select this if you are using emQbit's ECB_AT91 board.
1272f036ac6SAndrew Victor	  <http://wiki.emqbit.com/free-ecb-at91>
1282f036ac6SAndrew Victor
129e3ba22dbSAndrew Victorconfig MACH_YL9200
130e3ba22dbSAndrew Victor	bool "ucDragon YL-9200"
131e3ba22dbSAndrew Victor	depends on ARCH_AT91RM9200
132e3ba22dbSAndrew Victor	help
133e3ba22dbSAndrew Victor	  Select this if you are using the ucDragon YL-9200 board.
134e3ba22dbSAndrew Victor
1359d041268SAndrew Victorendif
1369d041268SAndrew Victor
1379d041268SAndrew Victor# ----------------------------------------------------------
1389d041268SAndrew Victor
1399d041268SAndrew Victorif ARCH_AT91SAM9260
1409d041268SAndrew Victor
141f7eee89bSAndrew Victorcomment "AT91SAM9260 Variants"
1429d041268SAndrew Victor
143f7eee89bSAndrew Victorconfig ARCH_AT91SAM9260_SAM9XE
144f7eee89bSAndrew Victor	bool "AT91SAM9XE"
1459d041268SAndrew Victor	depends on ARCH_AT91SAM9260
1469d041268SAndrew Victor	help
147f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
148a982ac06SMatt LaPlante	  They are basically AT91SAM9260s with various sizes of embedded Flash.
149f7eee89bSAndrew Victor
150f7eee89bSAndrew Victorcomment "AT91SAM9260 / AT91SAM9XE Board Type"
151f7eee89bSAndrew Victor
152f7eee89bSAndrew Victorconfig MACH_AT91SAM9260EK
153f7eee89bSAndrew Victor	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
154f7eee89bSAndrew Victor	depends on ARCH_AT91SAM9260
155f7eee89bSAndrew Victor	help
156f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
1579d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
1589d041268SAndrew Victor
15935131fb6SAndrew Victorconfig MACH_CAM60
16035131fb6SAndrew Victor	bool "KwikByte KB9260 (CAM60) board"
16135131fb6SAndrew Victor	depends on ARCH_AT91SAM9260
16235131fb6SAndrew Victor	help
16335131fb6SAndrew Victor	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
16435131fb6SAndrew Victor	  <http://www.kwikbyte.com/KB9260.html>
16535131fb6SAndrew Victor
16666dbfc6cSAndrew Victorconfig MACH_SAM9_L9260
16766dbfc6cSAndrew Victor	bool "Olimex SAM9-L9260 board"
16866dbfc6cSAndrew Victor	depends on ARCH_AT91SAM9260
16966dbfc6cSAndrew Victor	help
17066dbfc6cSAndrew Victor	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
17166dbfc6cSAndrew Victor	  <http://www.olimex.com/dev/sam9-L9260.html>
17266dbfc6cSAndrew Victor
1739d041268SAndrew Victorendif
1749d041268SAndrew Victor
1759d041268SAndrew Victor# ----------------------------------------------------------
1769d041268SAndrew Victor
1779d041268SAndrew Victorif ARCH_AT91SAM9261
1789d041268SAndrew Victor
1799d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1809d041268SAndrew Victor
1819d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1829d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1839d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1849d041268SAndrew Victor	help
1859d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1869d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1879d041268SAndrew Victor
1889d041268SAndrew Victorendif
1899d041268SAndrew Victor
1909d041268SAndrew Victor# ----------------------------------------------------------
1919d041268SAndrew Victor
192e6d92e63SAndrew Victorif ARCH_AT91SAM9263
193e6d92e63SAndrew Victor
194e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
195e6d92e63SAndrew Victor
196e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
197e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
198e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
199e6d92e63SAndrew Victor	help
200e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
201e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
202e6d92e63SAndrew Victor
203e6d92e63SAndrew Victorendif
204e6d92e63SAndrew Victor
205e6d92e63SAndrew Victor# ----------------------------------------------------------
206e6d92e63SAndrew Victor
207c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
208c42dcb3dSAndrew Victor
209c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
210c42dcb3dSAndrew Victor
211c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
212c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
213c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
214c42dcb3dSAndrew Victor	help
215c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
216c42dcb3dSAndrew Victor
217c42dcb3dSAndrew Victorendif
218c42dcb3dSAndrew Victor
219c42dcb3dSAndrew Victor# ----------------------------------------------------------
220c42dcb3dSAndrew Victor
22186640caeSAndrew Victorif ARCH_AT91CAP9
22286640caeSAndrew Victor
22386640caeSAndrew Victorcomment "AT91CAP9 Board Type"
22486640caeSAndrew Victor
22586640caeSAndrew Victorconfig MACH_AT91CAP9ADK
22686640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
22786640caeSAndrew Victor	depends on ARCH_AT91CAP9
22886640caeSAndrew Victor	help
22986640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
23086640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
23186640caeSAndrew Victor
23286640caeSAndrew Victorendif
23386640caeSAndrew Victor
23486640caeSAndrew Victor# ----------------------------------------------------------
23586640caeSAndrew Victor
2369f1ccefeSGreg Ungererif ARCH_AT91X40
2379f1ccefeSGreg Ungerer
2389f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2399f1ccefeSGreg Ungerer
2409f1ccefeSGreg Ungererconfig MACH_AT91EB01
2419f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2429f1ccefeSGreg Ungerer	help
2439f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2449f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2459f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2469f1ccefeSGreg Ungerer	  Skyeye simulator.
2479f1ccefeSGreg Ungerer
2489f1ccefeSGreg Ungererendif
2499f1ccefeSGreg Ungerer
2509f1ccefeSGreg Ungerer# ----------------------------------------------------------
2519f1ccefeSGreg Ungerer
2529d041268SAndrew Victorcomment "AT91 Board Options"
2539d041268SAndrew Victor
2549d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2559d041268SAndrew Victor	bool "Enable DataFlash Card support"
2562f036ac6SAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK || MACH_SAM9_L9260 || MACH_ECBAT91)
2579d041268SAndrew Victor	help
2589d041268SAndrew Victor	  Enable support for the DataFlash card.
2599d041268SAndrew Victor
2609d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2619d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
26286640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2639d041268SAndrew Victor	help
2649d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2659d041268SAndrew Victor	  (8 and 16 bit data bus width).
2669d041268SAndrew Victor
2679d041268SAndrew Victor# ----------------------------------------------------------
2689d041268SAndrew Victor
2699d041268SAndrew Victorcomment "AT91 Feature Selections"
2709d041268SAndrew Victor
2719d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2729d041268SAndrew Victor	bool "Programmable Clocks"
2739d041268SAndrew Victor	help
2749d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2759d041268SAndrew Victor	  programmable clock outputs.
2769d041268SAndrew Victor
2775248c657SDavid Brownellconfig AT91_TIMER_HZ
2785248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2795248c657SDavid Brownell       range 32 1024
2805248c657SDavid Brownell       depends on ARCH_AT91
2815248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2825248c657SDavid Brownell       default "100"
2835248c657SDavid Brownell       help
2845248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2855248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2865248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2875248c657SDavid Brownell	  reduce timing errors caused by rounding.
2885248c657SDavid Brownell
2895248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2905248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2915248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2925248c657SDavid Brownell
293fa3218d8SGuennadi Liakhovetskichoice
294fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
295fa3218d8SGuennadi Liakhovetski
296fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
297fa3218d8SGuennadi Liakhovetski	bool "DBGU"
298fa3218d8SGuennadi Liakhovetski
299fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
300fa3218d8SGuennadi Liakhovetski	bool "USART0"
301fa3218d8SGuennadi Liakhovetski
302fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
303fa3218d8SGuennadi Liakhovetski	bool "USART1"
304fa3218d8SGuennadi Liakhovetski
305fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
306fa3218d8SGuennadi Liakhovetski	bool "USART2"
307fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
308fa3218d8SGuennadi Liakhovetski
309fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
310fa3218d8SGuennadi Liakhovetski	bool "USART3"
311fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
312fa3218d8SGuennadi Liakhovetski
313fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
314fa3218d8SGuennadi Liakhovetski	bool "USART4"
315fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
316fa3218d8SGuennadi Liakhovetski
317fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
318fa3218d8SGuennadi Liakhovetski	bool "USART5"
319fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
320fa3218d8SGuennadi Liakhovetski
321fa3218d8SGuennadi Liakhovetskiendchoice
322fa3218d8SGuennadi Liakhovetski
3239d041268SAndrew Victorendmenu
3249d041268SAndrew Victor
3259d041268SAndrew Victorendif
326