xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 2f036ac6)
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
1122f036ac6SAndrew Victorconfig MACH_ECBAT91
1132f036ac6SAndrew Victor	bool "emQbit ECB_AT91 SBC"
1142f036ac6SAndrew Victor	depends on ARCH_AT91RM9200
1152f036ac6SAndrew Victor	help
1162f036ac6SAndrew Victor	  Select this if you are using emQbit's ECB_AT91 board.
1172f036ac6SAndrew Victor	  <http://wiki.emqbit.com/free-ecb-at91>
1182f036ac6SAndrew Victor
1199d041268SAndrew Victorendif
1209d041268SAndrew Victor
1219d041268SAndrew Victor# ----------------------------------------------------------
1229d041268SAndrew Victor
1239d041268SAndrew Victorif ARCH_AT91SAM9260
1249d041268SAndrew Victor
125f7eee89bSAndrew Victorcomment "AT91SAM9260 Variants"
1269d041268SAndrew Victor
127f7eee89bSAndrew Victorconfig ARCH_AT91SAM9260_SAM9XE
128f7eee89bSAndrew Victor	bool "AT91SAM9XE"
1299d041268SAndrew Victor	depends on ARCH_AT91SAM9260
1309d041268SAndrew Victor	help
131f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
132a982ac06SMatt LaPlante	  They are basically AT91SAM9260s with various sizes of embedded Flash.
133f7eee89bSAndrew Victor
134f7eee89bSAndrew Victorcomment "AT91SAM9260 / AT91SAM9XE Board Type"
135f7eee89bSAndrew Victor
136f7eee89bSAndrew Victorconfig MACH_AT91SAM9260EK
137f7eee89bSAndrew Victor	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
138f7eee89bSAndrew Victor	depends on ARCH_AT91SAM9260
139f7eee89bSAndrew Victor	help
140f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
1419d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
1429d041268SAndrew Victor
14335131fb6SAndrew Victorconfig MACH_CAM60
14435131fb6SAndrew Victor	bool "KwikByte KB9260 (CAM60) board"
14535131fb6SAndrew Victor	depends on ARCH_AT91SAM9260
14635131fb6SAndrew Victor	help
14735131fb6SAndrew Victor	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
14835131fb6SAndrew Victor	  <http://www.kwikbyte.com/KB9260.html>
14935131fb6SAndrew Victor
15066dbfc6cSAndrew Victorconfig MACH_SAM9_L9260
15166dbfc6cSAndrew Victor	bool "Olimex SAM9-L9260 board"
15266dbfc6cSAndrew Victor	depends on ARCH_AT91SAM9260
15366dbfc6cSAndrew Victor	help
15466dbfc6cSAndrew Victor	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
15566dbfc6cSAndrew Victor	  <http://www.olimex.com/dev/sam9-L9260.html>
15666dbfc6cSAndrew Victor
1579d041268SAndrew Victorendif
1589d041268SAndrew Victor
1599d041268SAndrew Victor# ----------------------------------------------------------
1609d041268SAndrew Victor
1619d041268SAndrew Victorif ARCH_AT91SAM9261
1629d041268SAndrew Victor
1639d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1649d041268SAndrew Victor
1659d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1669d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1679d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1689d041268SAndrew Victor	help
1699d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1709d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1719d041268SAndrew Victor
1729d041268SAndrew Victorendif
1739d041268SAndrew Victor
1749d041268SAndrew Victor# ----------------------------------------------------------
1759d041268SAndrew Victor
176e6d92e63SAndrew Victorif ARCH_AT91SAM9263
177e6d92e63SAndrew Victor
178e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
179e6d92e63SAndrew Victor
180e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
181e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
182e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
183e6d92e63SAndrew Victor	help
184e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
185e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
186e6d92e63SAndrew Victor
187e6d92e63SAndrew Victorendif
188e6d92e63SAndrew Victor
189e6d92e63SAndrew Victor# ----------------------------------------------------------
190e6d92e63SAndrew Victor
191c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
192c42dcb3dSAndrew Victor
193c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
194c42dcb3dSAndrew Victor
195c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
196c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
197c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
198c42dcb3dSAndrew Victor	help
199c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
200c42dcb3dSAndrew Victor
201c42dcb3dSAndrew Victorendif
202c42dcb3dSAndrew Victor
203c42dcb3dSAndrew Victor# ----------------------------------------------------------
204c42dcb3dSAndrew Victor
20586640caeSAndrew Victorif ARCH_AT91CAP9
20686640caeSAndrew Victor
20786640caeSAndrew Victorcomment "AT91CAP9 Board Type"
20886640caeSAndrew Victor
20986640caeSAndrew Victorconfig MACH_AT91CAP9ADK
21086640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
21186640caeSAndrew Victor	depends on ARCH_AT91CAP9
21286640caeSAndrew Victor	help
21386640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
21486640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
21586640caeSAndrew Victor
21686640caeSAndrew Victorendif
21786640caeSAndrew Victor
21886640caeSAndrew Victor# ----------------------------------------------------------
21986640caeSAndrew Victor
2209f1ccefeSGreg Ungererif ARCH_AT91X40
2219f1ccefeSGreg Ungerer
2229f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2239f1ccefeSGreg Ungerer
2249f1ccefeSGreg Ungererconfig MACH_AT91EB01
2259f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2269f1ccefeSGreg Ungerer	help
2279f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2289f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2299f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2309f1ccefeSGreg Ungerer	  Skyeye simulator.
2319f1ccefeSGreg Ungerer
2329f1ccefeSGreg Ungererendif
2339f1ccefeSGreg Ungerer
2349f1ccefeSGreg Ungerer# ----------------------------------------------------------
2359f1ccefeSGreg Ungerer
2369d041268SAndrew Victorcomment "AT91 Board Options"
2379d041268SAndrew Victor
2389d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2399d041268SAndrew Victor	bool "Enable DataFlash Card support"
2402f036ac6SAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK || MACH_SAM9_L9260 || MACH_ECBAT91)
2419d041268SAndrew Victor	help
2429d041268SAndrew Victor	  Enable support for the DataFlash card.
2439d041268SAndrew Victor
2449d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2459d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
24686640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2479d041268SAndrew Victor	help
2489d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2499d041268SAndrew Victor	  (8 and 16 bit data bus width).
2509d041268SAndrew Victor
2519d041268SAndrew Victor# ----------------------------------------------------------
2529d041268SAndrew Victor
2539d041268SAndrew Victorcomment "AT91 Feature Selections"
2549d041268SAndrew Victor
2559d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2569d041268SAndrew Victor	bool "Programmable Clocks"
2579d041268SAndrew Victor	help
2589d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2599d041268SAndrew Victor	  programmable clock outputs.
2609d041268SAndrew Victor
2615248c657SDavid Brownellconfig AT91_TIMER_HZ
2625248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2635248c657SDavid Brownell       range 32 1024
2645248c657SDavid Brownell       depends on ARCH_AT91
2655248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2665248c657SDavid Brownell       default "100"
2675248c657SDavid Brownell       help
2685248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2695248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2705248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2715248c657SDavid Brownell	  reduce timing errors caused by rounding.
2725248c657SDavid Brownell
2735248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2745248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2755248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2765248c657SDavid Brownell
277fa3218d8SGuennadi Liakhovetskichoice
278fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
279fa3218d8SGuennadi Liakhovetski
280fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
281fa3218d8SGuennadi Liakhovetski	bool "DBGU"
282fa3218d8SGuennadi Liakhovetski
283fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
284fa3218d8SGuennadi Liakhovetski	bool "USART0"
285fa3218d8SGuennadi Liakhovetski
286fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
287fa3218d8SGuennadi Liakhovetski	bool "USART1"
288fa3218d8SGuennadi Liakhovetski
289fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
290fa3218d8SGuennadi Liakhovetski	bool "USART2"
291fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
292fa3218d8SGuennadi Liakhovetski
293fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
294fa3218d8SGuennadi Liakhovetski	bool "USART3"
295fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
296fa3218d8SGuennadi Liakhovetski
297fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
298fa3218d8SGuennadi Liakhovetski	bool "USART4"
299fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
300fa3218d8SGuennadi Liakhovetski
301fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
302fa3218d8SGuennadi Liakhovetski	bool "USART5"
303fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
304fa3218d8SGuennadi Liakhovetski
305fa3218d8SGuennadi Liakhovetskiendchoice
306fa3218d8SGuennadi Liakhovetski
3079d041268SAndrew Victorendmenu
3089d041268SAndrew Victor
3099d041268SAndrew Victorendif
310