xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 66dbfc6c)
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
14366dbfc6cSAndrew Victorconfig MACH_SAM9_L9260
14466dbfc6cSAndrew Victor	bool "Olimex SAM9-L9260 board"
14566dbfc6cSAndrew Victor	depends on ARCH_AT91SAM9260
14666dbfc6cSAndrew Victor	help
14766dbfc6cSAndrew Victor	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
14866dbfc6cSAndrew Victor	  <http://www.olimex.com/dev/sam9-L9260.html>
14966dbfc6cSAndrew Victor
1509d041268SAndrew Victorendif
1519d041268SAndrew Victor
1529d041268SAndrew Victor# ----------------------------------------------------------
1539d041268SAndrew Victor
1549d041268SAndrew Victorif ARCH_AT91SAM9261
1559d041268SAndrew Victor
1569d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1579d041268SAndrew Victor
1589d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1599d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1609d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1619d041268SAndrew Victor	help
1629d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1639d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1649d041268SAndrew Victor
1659d041268SAndrew Victorendif
1669d041268SAndrew Victor
1679d041268SAndrew Victor# ----------------------------------------------------------
1689d041268SAndrew Victor
169e6d92e63SAndrew Victorif ARCH_AT91SAM9263
170e6d92e63SAndrew Victor
171e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
172e6d92e63SAndrew Victor
173e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
174e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
175e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
176e6d92e63SAndrew Victor	help
177e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
178e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
179e6d92e63SAndrew Victor
180e6d92e63SAndrew Victorendif
181e6d92e63SAndrew Victor
182e6d92e63SAndrew Victor# ----------------------------------------------------------
183e6d92e63SAndrew Victor
184c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
185c42dcb3dSAndrew Victor
186c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
187c42dcb3dSAndrew Victor
188c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
189c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
190c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
191c42dcb3dSAndrew Victor	help
192c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
193c42dcb3dSAndrew Victor
194c42dcb3dSAndrew Victorendif
195c42dcb3dSAndrew Victor
196c42dcb3dSAndrew Victor# ----------------------------------------------------------
197c42dcb3dSAndrew Victor
19886640caeSAndrew Victorif ARCH_AT91CAP9
19986640caeSAndrew Victor
20086640caeSAndrew Victorcomment "AT91CAP9 Board Type"
20186640caeSAndrew Victor
20286640caeSAndrew Victorconfig MACH_AT91CAP9ADK
20386640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
20486640caeSAndrew Victor	depends on ARCH_AT91CAP9
20586640caeSAndrew Victor	help
20686640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
20786640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
20886640caeSAndrew Victor
20986640caeSAndrew Victorendif
21086640caeSAndrew Victor
21186640caeSAndrew Victor# ----------------------------------------------------------
21286640caeSAndrew Victor
2139f1ccefeSGreg Ungererif ARCH_AT91X40
2149f1ccefeSGreg Ungerer
2159f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2169f1ccefeSGreg Ungerer
2179f1ccefeSGreg Ungererconfig MACH_AT91EB01
2189f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2199f1ccefeSGreg Ungerer	help
2209f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2219f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2229f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2239f1ccefeSGreg Ungerer	  Skyeye simulator.
2249f1ccefeSGreg Ungerer
2259f1ccefeSGreg Ungererendif
2269f1ccefeSGreg Ungerer
2279f1ccefeSGreg Ungerer# ----------------------------------------------------------
2289f1ccefeSGreg Ungerer
2299d041268SAndrew Victorcomment "AT91 Board Options"
2309d041268SAndrew Victor
2319d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2329d041268SAndrew Victor	bool "Enable DataFlash Card support"
23366dbfc6cSAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK || MACH_SAM9_L9260)
2349d041268SAndrew Victor	help
2359d041268SAndrew Victor	  Enable support for the DataFlash card.
2369d041268SAndrew Victor
2379d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2389d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
23986640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2409d041268SAndrew Victor	help
2419d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2429d041268SAndrew Victor	  (8 and 16 bit data bus width).
2439d041268SAndrew Victor
2449d041268SAndrew Victor# ----------------------------------------------------------
2459d041268SAndrew Victor
2469d041268SAndrew Victorcomment "AT91 Feature Selections"
2479d041268SAndrew Victor
2489d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2499d041268SAndrew Victor	bool "Programmable Clocks"
2509d041268SAndrew Victor	help
2519d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2529d041268SAndrew Victor	  programmable clock outputs.
2539d041268SAndrew Victor
2545248c657SDavid Brownellconfig AT91_TIMER_HZ
2555248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2565248c657SDavid Brownell       range 32 1024
2575248c657SDavid Brownell       depends on ARCH_AT91
2585248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2595248c657SDavid Brownell       default "100"
2605248c657SDavid Brownell       help
2615248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2625248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2635248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2645248c657SDavid Brownell	  reduce timing errors caused by rounding.
2655248c657SDavid Brownell
2665248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2675248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2685248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2695248c657SDavid Brownell
270fa3218d8SGuennadi Liakhovetskichoice
271fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
272fa3218d8SGuennadi Liakhovetski
273fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
274fa3218d8SGuennadi Liakhovetski	bool "DBGU"
275fa3218d8SGuennadi Liakhovetski
276fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
277fa3218d8SGuennadi Liakhovetski	bool "USART0"
278fa3218d8SGuennadi Liakhovetski
279fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
280fa3218d8SGuennadi Liakhovetski	bool "USART1"
281fa3218d8SGuennadi Liakhovetski
282fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
283fa3218d8SGuennadi Liakhovetski	bool "USART2"
284fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
285fa3218d8SGuennadi Liakhovetski
286fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
287fa3218d8SGuennadi Liakhovetski	bool "USART3"
288fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
289fa3218d8SGuennadi Liakhovetski
290fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
291fa3218d8SGuennadi Liakhovetski	bool "USART4"
292fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
293fa3218d8SGuennadi Liakhovetski
294fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
295fa3218d8SGuennadi Liakhovetski	bool "USART5"
296fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
297fa3218d8SGuennadi Liakhovetski
298fa3218d8SGuennadi Liakhovetskiendchoice
299fa3218d8SGuennadi Liakhovetski
3009d041268SAndrew Victorendmenu
3019d041268SAndrew Victor
3029d041268SAndrew Victorendif
303