xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision fa3218d8)
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"
159d041268SAndrew Victor
169d041268SAndrew Victorconfig ARCH_AT91SAM9261
179d041268SAndrew Victor	bool "AT91SAM9261"
189d041268SAndrew Victor
19b2c65616SAndrew Victorconfig ARCH_AT91SAM9263
20b2c65616SAndrew Victor	bool "AT91SAM9263"
21b2c65616SAndrew Victor
22877d7720SAndrew Victorconfig ARCH_AT91SAM9RL
23877d7720SAndrew Victor	bool "AT91SAM9RL"
24877d7720SAndrew Victor
252b3b3516SAndrew Victorconfig ARCH_AT91CAP9
262b3b3516SAndrew Victor	bool "AT91CAP9"
272b3b3516SAndrew Victor
289f1ccefeSGreg Ungererconfig ARCH_AT91X40
299f1ccefeSGreg Ungerer	bool "AT91x40"
309f1ccefeSGreg Ungerer
319d041268SAndrew Victorendchoice
329d041268SAndrew Victor
339f1ccefeSGreg Ungererconfig AT91_PMC_UNIT
349f1ccefeSGreg Ungerer	bool
359f1ccefeSGreg Ungerer	default !ARCH_AT91X40
369f1ccefeSGreg Ungerer
379d041268SAndrew Victor# ----------------------------------------------------------
389d041268SAndrew Victor
399d041268SAndrew Victorif ARCH_AT91RM9200
409d041268SAndrew Victor
419d041268SAndrew Victorcomment "AT91RM9200 Board Type"
429d041268SAndrew Victor
439d041268SAndrew Victorconfig MACH_ONEARM
449d041268SAndrew Victor	bool "Ajeco 1ARM Single Board Computer"
459d041268SAndrew Victor	depends on ARCH_AT91RM9200
469d041268SAndrew Victor	help
479d041268SAndrew Victor	  Select this if you are using Ajeco's 1ARM Single Board Computer.
489d041268SAndrew Victor	  <http://www.ajeco.fi/products.htm>
499d041268SAndrew Victor
509d041268SAndrew Victorconfig ARCH_AT91RM9200DK
519d041268SAndrew Victor	bool "Atmel AT91RM9200-DK Development board"
529d041268SAndrew Victor	depends on ARCH_AT91RM9200
539d041268SAndrew Victor	help
549d041268SAndrew Victor	  Select this if you are using Atmel's AT91RM9200-DK Development board.
559d041268SAndrew Victor	  (Discontinued)
569d041268SAndrew Victor
579d041268SAndrew Victorconfig MACH_AT91RM9200EK
589d041268SAndrew Victor	bool "Atmel AT91RM9200-EK Evaluation Kit"
599d041268SAndrew Victor	depends on ARCH_AT91RM9200
609d041268SAndrew Victor	help
619d041268SAndrew Victor	  Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
629d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
639d041268SAndrew Victor
649d041268SAndrew Victorconfig MACH_CSB337
659d041268SAndrew Victor	bool "Cogent CSB337"
669d041268SAndrew Victor	depends on ARCH_AT91RM9200
679d041268SAndrew Victor	help
689d041268SAndrew Victor	  Select this if you are using Cogent's CSB337 board.
699d041268SAndrew Victor	  <http://www.cogcomp.com/csb_csb337.htm>
709d041268SAndrew Victor
719d041268SAndrew Victorconfig MACH_CSB637
729d041268SAndrew Victor	bool "Cogent CSB637"
739d041268SAndrew Victor	depends on ARCH_AT91RM9200
749d041268SAndrew Victor	help
759d041268SAndrew Victor	  Select this if you are using Cogent's CSB637 board.
769d041268SAndrew Victor	  <http://www.cogcomp.com/csb_csb637.htm>
779d041268SAndrew Victor
789d041268SAndrew Victorconfig MACH_CARMEVA
799d041268SAndrew Victor	bool "Conitec ARM&EVA"
809d041268SAndrew Victor	depends on ARCH_AT91RM9200
819d041268SAndrew Victor	help
829d041268SAndrew Victor	  Select this if you are using Conitec's AT91RM9200-MCU-Module.
839d041268SAndrew Victor	  <http://www.conitec.net/english/linuxboard.htm>
849d041268SAndrew Victor
859d041268SAndrew Victorconfig MACH_ATEB9200
869d041268SAndrew Victor	bool "Embest ATEB9200"
879d041268SAndrew Victor	depends on ARCH_AT91RM9200
889d041268SAndrew Victor	help
899d041268SAndrew Victor	  Select this if you are using Embest's ATEB9200 board.
909d041268SAndrew Victor	  <http://www.embedinfo.com/english/product/ATEB9200.asp>
919d041268SAndrew Victor
929d041268SAndrew Victorconfig MACH_KB9200
939d041268SAndrew Victor	bool "KwikByte KB920x"
949d041268SAndrew Victor	depends on ARCH_AT91RM9200
959d041268SAndrew Victor	help
969d041268SAndrew Victor	  Select this if you are using KwikByte's KB920x board.
979d041268SAndrew Victor	  <http://kwikbyte.com/KB9202_description_new.htm>
989d041268SAndrew Victor
995d01f133SSimon Richterconfig MACH_PICOTUX2XX
1005d01f133SSimon Richter	bool "picotux 200"
1015d01f133SSimon Richter	depends on ARCH_AT91RM9200
1025d01f133SSimon Richter	help
1035d01f133SSimon Richter	  Select this if you are using a picotux 200.
1045d01f133SSimon Richter	  <http://www.picotux.com/>
1055d01f133SSimon Richter
1069d041268SAndrew Victorconfig MACH_KAFA
1079d041268SAndrew Victor	bool "Sperry-Sun KAFA board"
1089d041268SAndrew Victor	depends on ARCH_AT91RM9200
1099d041268SAndrew Victor	help
1109d041268SAndrew Victor	  Select this if you are using Sperry-Sun's KAFA board.
1119d041268SAndrew Victor
1129d041268SAndrew Victorendif
1139d041268SAndrew Victor
1149d041268SAndrew Victor# ----------------------------------------------------------
1159d041268SAndrew Victor
1169d041268SAndrew Victorif ARCH_AT91SAM9260
1179d041268SAndrew Victor
118f7eee89bSAndrew Victorcomment "AT91SAM9260 Variants"
1199d041268SAndrew Victor
120f7eee89bSAndrew Victorconfig ARCH_AT91SAM9260_SAM9XE
121f7eee89bSAndrew Victor	bool "AT91SAM9XE"
1229d041268SAndrew Victor	depends on ARCH_AT91SAM9260
1239d041268SAndrew Victor	help
124f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
125a982ac06SMatt LaPlante	  They are basically AT91SAM9260s with various sizes of embedded Flash.
126f7eee89bSAndrew Victor
127f7eee89bSAndrew Victorcomment "AT91SAM9260 / AT91SAM9XE Board Type"
128f7eee89bSAndrew Victor
129f7eee89bSAndrew Victorconfig MACH_AT91SAM9260EK
130f7eee89bSAndrew Victor	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
131f7eee89bSAndrew Victor	depends on ARCH_AT91SAM9260
132f7eee89bSAndrew Victor	help
133f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
1349d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
1359d041268SAndrew Victor
1369d041268SAndrew Victorendif
1379d041268SAndrew Victor
1389d041268SAndrew Victor# ----------------------------------------------------------
1399d041268SAndrew Victor
1409d041268SAndrew Victorif ARCH_AT91SAM9261
1419d041268SAndrew Victor
1429d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1439d041268SAndrew Victor
1449d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1459d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1469d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1479d041268SAndrew Victor	help
1489d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1499d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1509d041268SAndrew Victor
1519d041268SAndrew Victorendif
1529d041268SAndrew Victor
1539d041268SAndrew Victor# ----------------------------------------------------------
1549d041268SAndrew Victor
155e6d92e63SAndrew Victorif ARCH_AT91SAM9263
156e6d92e63SAndrew Victor
157e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
158e6d92e63SAndrew Victor
159e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
160e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
161e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
162e6d92e63SAndrew Victor	help
163e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
164e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
165e6d92e63SAndrew Victor
166e6d92e63SAndrew Victorendif
167e6d92e63SAndrew Victor
168e6d92e63SAndrew Victor# ----------------------------------------------------------
169e6d92e63SAndrew Victor
170c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
171c42dcb3dSAndrew Victor
172c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
173c42dcb3dSAndrew Victor
174c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
175c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
176c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
177c42dcb3dSAndrew Victor	help
178c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
179c42dcb3dSAndrew Victor
180c42dcb3dSAndrew Victorendif
181c42dcb3dSAndrew Victor
182c42dcb3dSAndrew Victor# ----------------------------------------------------------
183c42dcb3dSAndrew Victor
18486640caeSAndrew Victorif ARCH_AT91CAP9
18586640caeSAndrew Victor
18686640caeSAndrew Victorcomment "AT91CAP9 Board Type"
18786640caeSAndrew Victor
18886640caeSAndrew Victorconfig MACH_AT91CAP9ADK
18986640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
19086640caeSAndrew Victor	depends on ARCH_AT91CAP9
19186640caeSAndrew Victor	help
19286640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
19386640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
19486640caeSAndrew Victor
19586640caeSAndrew Victorendif
19686640caeSAndrew Victor
19786640caeSAndrew Victor# ----------------------------------------------------------
19886640caeSAndrew Victor
1999f1ccefeSGreg Ungererif ARCH_AT91X40
2009f1ccefeSGreg Ungerer
2019f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2029f1ccefeSGreg Ungerer
2039f1ccefeSGreg Ungererconfig MACH_AT91EB01
2049f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2059f1ccefeSGreg Ungerer	help
2069f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2079f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2089f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2099f1ccefeSGreg Ungerer	  Skyeye simulator.
2109f1ccefeSGreg Ungerer
2119f1ccefeSGreg Ungererendif
2129f1ccefeSGreg Ungerer
2139f1ccefeSGreg Ungerer# ----------------------------------------------------------
2149f1ccefeSGreg Ungerer
2159d041268SAndrew Victorcomment "AT91 Board Options"
2169d041268SAndrew Victor
2179d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2189d041268SAndrew Victor	bool "Enable DataFlash Card support"
21986640caeSAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2209d041268SAndrew Victor	help
2219d041268SAndrew Victor	  Enable support for the DataFlash card.
2229d041268SAndrew Victor
2239d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2249d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
22586640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2269d041268SAndrew Victor	help
2279d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2289d041268SAndrew Victor	  (8 and 16 bit data bus width).
2299d041268SAndrew Victor
2309d041268SAndrew Victor# ----------------------------------------------------------
2319d041268SAndrew Victor
2329d041268SAndrew Victorcomment "AT91 Feature Selections"
2339d041268SAndrew Victor
2349d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2359d041268SAndrew Victor	bool "Programmable Clocks"
2369d041268SAndrew Victor	help
2379d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2389d041268SAndrew Victor	  programmable clock outputs.
2399d041268SAndrew Victor
2405248c657SDavid Brownellconfig AT91_TIMER_HZ
2415248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2425248c657SDavid Brownell       range 32 1024
2435248c657SDavid Brownell       depends on ARCH_AT91
2445248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2455248c657SDavid Brownell       default "100"
2465248c657SDavid Brownell       help
2475248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2485248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2495248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2505248c657SDavid Brownell	  reduce timing errors caused by rounding.
2515248c657SDavid Brownell
2525248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2535248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2545248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2555248c657SDavid Brownell
256fa3218d8SGuennadi Liakhovetskichoice
257fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
258fa3218d8SGuennadi Liakhovetski
259fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
260fa3218d8SGuennadi Liakhovetski	bool "DBGU"
261fa3218d8SGuennadi Liakhovetski
262fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
263fa3218d8SGuennadi Liakhovetski	bool "USART0"
264fa3218d8SGuennadi Liakhovetski
265fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
266fa3218d8SGuennadi Liakhovetski	bool "USART1"
267fa3218d8SGuennadi Liakhovetski
268fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
269fa3218d8SGuennadi Liakhovetski	bool "USART2"
270fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
271fa3218d8SGuennadi Liakhovetski
272fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
273fa3218d8SGuennadi Liakhovetski	bool "USART3"
274fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
275fa3218d8SGuennadi Liakhovetski
276fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
277fa3218d8SGuennadi Liakhovetski	bool "USART4"
278fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
279fa3218d8SGuennadi Liakhovetski
280fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
281fa3218d8SGuennadi Liakhovetski	bool "USART5"
282fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
283fa3218d8SGuennadi Liakhovetski
284fa3218d8SGuennadi Liakhovetskiendchoice
285fa3218d8SGuennadi Liakhovetski
2869d041268SAndrew Victorendmenu
2879d041268SAndrew Victor
2889d041268SAndrew Victorendif
289