xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 35131fb6)
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
13635131fb6SAndrew Victorconfig MACH_CAM60
13735131fb6SAndrew Victor	bool "KwikByte KB9260 (CAM60) board"
13835131fb6SAndrew Victor	depends on ARCH_AT91SAM9260
13935131fb6SAndrew Victor	help
14035131fb6SAndrew Victor	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
14135131fb6SAndrew Victor	  <http://www.kwikbyte.com/KB9260.html>
14235131fb6SAndrew Victor
1439d041268SAndrew Victorendif
1449d041268SAndrew Victor
1459d041268SAndrew Victor# ----------------------------------------------------------
1469d041268SAndrew Victor
1479d041268SAndrew Victorif ARCH_AT91SAM9261
1489d041268SAndrew Victor
1499d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1509d041268SAndrew Victor
1519d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1529d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1539d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1549d041268SAndrew Victor	help
1559d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1569d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1579d041268SAndrew Victor
1589d041268SAndrew Victorendif
1599d041268SAndrew Victor
1609d041268SAndrew Victor# ----------------------------------------------------------
1619d041268SAndrew Victor
162e6d92e63SAndrew Victorif ARCH_AT91SAM9263
163e6d92e63SAndrew Victor
164e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
165e6d92e63SAndrew Victor
166e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
167e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
168e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
169e6d92e63SAndrew Victor	help
170e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
171e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
172e6d92e63SAndrew Victor
173e6d92e63SAndrew Victorendif
174e6d92e63SAndrew Victor
175e6d92e63SAndrew Victor# ----------------------------------------------------------
176e6d92e63SAndrew Victor
177c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
178c42dcb3dSAndrew Victor
179c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
180c42dcb3dSAndrew Victor
181c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
182c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
183c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
184c42dcb3dSAndrew Victor	help
185c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
186c42dcb3dSAndrew Victor
187c42dcb3dSAndrew Victorendif
188c42dcb3dSAndrew Victor
189c42dcb3dSAndrew Victor# ----------------------------------------------------------
190c42dcb3dSAndrew Victor
19186640caeSAndrew Victorif ARCH_AT91CAP9
19286640caeSAndrew Victor
19386640caeSAndrew Victorcomment "AT91CAP9 Board Type"
19486640caeSAndrew Victor
19586640caeSAndrew Victorconfig MACH_AT91CAP9ADK
19686640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
19786640caeSAndrew Victor	depends on ARCH_AT91CAP9
19886640caeSAndrew Victor	help
19986640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
20086640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
20186640caeSAndrew Victor
20286640caeSAndrew Victorendif
20386640caeSAndrew Victor
20486640caeSAndrew Victor# ----------------------------------------------------------
20586640caeSAndrew Victor
2069f1ccefeSGreg Ungererif ARCH_AT91X40
2079f1ccefeSGreg Ungerer
2089f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2099f1ccefeSGreg Ungerer
2109f1ccefeSGreg Ungererconfig MACH_AT91EB01
2119f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2129f1ccefeSGreg Ungerer	help
2139f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2149f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2159f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2169f1ccefeSGreg Ungerer	  Skyeye simulator.
2179f1ccefeSGreg Ungerer
2189f1ccefeSGreg Ungererendif
2199f1ccefeSGreg Ungerer
2209f1ccefeSGreg Ungerer# ----------------------------------------------------------
2219f1ccefeSGreg Ungerer
2229d041268SAndrew Victorcomment "AT91 Board Options"
2239d041268SAndrew Victor
2249d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2259d041268SAndrew Victor	bool "Enable DataFlash Card support"
22686640caeSAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2279d041268SAndrew Victor	help
2289d041268SAndrew Victor	  Enable support for the DataFlash card.
2299d041268SAndrew Victor
2309d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2319d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
23286640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2339d041268SAndrew Victor	help
2349d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2359d041268SAndrew Victor	  (8 and 16 bit data bus width).
2369d041268SAndrew Victor
2379d041268SAndrew Victor# ----------------------------------------------------------
2389d041268SAndrew Victor
2399d041268SAndrew Victorcomment "AT91 Feature Selections"
2409d041268SAndrew Victor
2419d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2429d041268SAndrew Victor	bool "Programmable Clocks"
2439d041268SAndrew Victor	help
2449d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2459d041268SAndrew Victor	  programmable clock outputs.
2469d041268SAndrew Victor
2475248c657SDavid Brownellconfig AT91_TIMER_HZ
2485248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2495248c657SDavid Brownell       range 32 1024
2505248c657SDavid Brownell       depends on ARCH_AT91
2515248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2525248c657SDavid Brownell       default "100"
2535248c657SDavid Brownell       help
2545248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2555248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2565248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2575248c657SDavid Brownell	  reduce timing errors caused by rounding.
2585248c657SDavid Brownell
2595248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2605248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2615248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2625248c657SDavid Brownell
263fa3218d8SGuennadi Liakhovetskichoice
264fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
265fa3218d8SGuennadi Liakhovetski
266fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
267fa3218d8SGuennadi Liakhovetski	bool "DBGU"
268fa3218d8SGuennadi Liakhovetski
269fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
270fa3218d8SGuennadi Liakhovetski	bool "USART0"
271fa3218d8SGuennadi Liakhovetski
272fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
273fa3218d8SGuennadi Liakhovetski	bool "USART1"
274fa3218d8SGuennadi Liakhovetski
275fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
276fa3218d8SGuennadi Liakhovetski	bool "USART2"
277fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
278fa3218d8SGuennadi Liakhovetski
279fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
280fa3218d8SGuennadi Liakhovetski	bool "USART3"
281fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
282fa3218d8SGuennadi Liakhovetski
283fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
284fa3218d8SGuennadi Liakhovetski	bool "USART4"
285fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
286fa3218d8SGuennadi Liakhovetski
287fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
288fa3218d8SGuennadi Liakhovetski	bool "USART5"
289fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
290fa3218d8SGuennadi Liakhovetski
291fa3218d8SGuennadi Liakhovetskiendchoice
292fa3218d8SGuennadi Liakhovetski
2939d041268SAndrew Victorendmenu
2949d041268SAndrew Victor
2959d041268SAndrew Victorendif
296