xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision ad48ce74)
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
1299d041268SAndrew Victorendif
1309d041268SAndrew Victor
1319d041268SAndrew Victor# ----------------------------------------------------------
1329d041268SAndrew Victor
1339d041268SAndrew Victorif ARCH_AT91SAM9260
1349d041268SAndrew Victor
135f7eee89bSAndrew Victorcomment "AT91SAM9260 Variants"
1369d041268SAndrew Victor
137f7eee89bSAndrew Victorconfig ARCH_AT91SAM9260_SAM9XE
138f7eee89bSAndrew Victor	bool "AT91SAM9XE"
1399d041268SAndrew Victor	depends on ARCH_AT91SAM9260
1409d041268SAndrew Victor	help
141f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
142a982ac06SMatt LaPlante	  They are basically AT91SAM9260s with various sizes of embedded Flash.
143f7eee89bSAndrew Victor
144f7eee89bSAndrew Victorcomment "AT91SAM9260 / AT91SAM9XE Board Type"
145f7eee89bSAndrew Victor
146f7eee89bSAndrew Victorconfig MACH_AT91SAM9260EK
147f7eee89bSAndrew Victor	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
148f7eee89bSAndrew Victor	depends on ARCH_AT91SAM9260
149f7eee89bSAndrew Victor	help
150f7eee89bSAndrew Victor	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
1519d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
1529d041268SAndrew Victor
15335131fb6SAndrew Victorconfig MACH_CAM60
15435131fb6SAndrew Victor	bool "KwikByte KB9260 (CAM60) board"
15535131fb6SAndrew Victor	depends on ARCH_AT91SAM9260
15635131fb6SAndrew Victor	help
15735131fb6SAndrew Victor	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
15835131fb6SAndrew Victor	  <http://www.kwikbyte.com/KB9260.html>
15935131fb6SAndrew Victor
16066dbfc6cSAndrew Victorconfig MACH_SAM9_L9260
16166dbfc6cSAndrew Victor	bool "Olimex SAM9-L9260 board"
16266dbfc6cSAndrew Victor	depends on ARCH_AT91SAM9260
16366dbfc6cSAndrew Victor	help
16466dbfc6cSAndrew Victor	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
16566dbfc6cSAndrew Victor	  <http://www.olimex.com/dev/sam9-L9260.html>
16666dbfc6cSAndrew Victor
1679d041268SAndrew Victorendif
1689d041268SAndrew Victor
1699d041268SAndrew Victor# ----------------------------------------------------------
1709d041268SAndrew Victor
1719d041268SAndrew Victorif ARCH_AT91SAM9261
1729d041268SAndrew Victor
1739d041268SAndrew Victorcomment "AT91SAM9261 Board Type"
1749d041268SAndrew Victor
1759d041268SAndrew Victorconfig MACH_AT91SAM9261EK
1769d041268SAndrew Victor	bool "Atmel AT91SAM9261-EK Evaluation Kit"
1779d041268SAndrew Victor	depends on ARCH_AT91SAM9261
1789d041268SAndrew Victor	help
1799d041268SAndrew Victor	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
1809d041268SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
1819d041268SAndrew Victor
1829d041268SAndrew Victorendif
1839d041268SAndrew Victor
1849d041268SAndrew Victor# ----------------------------------------------------------
1859d041268SAndrew Victor
186e6d92e63SAndrew Victorif ARCH_AT91SAM9263
187e6d92e63SAndrew Victor
188e6d92e63SAndrew Victorcomment "AT91SAM9263 Board Type"
189e6d92e63SAndrew Victor
190e6d92e63SAndrew Victorconfig MACH_AT91SAM9263EK
191e6d92e63SAndrew Victor	bool "Atmel AT91SAM9263-EK Evaluation Kit"
192e6d92e63SAndrew Victor	depends on ARCH_AT91SAM9263
193e6d92e63SAndrew Victor	help
194e6d92e63SAndrew Victor	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
195e6d92e63SAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
196e6d92e63SAndrew Victor
197e6d92e63SAndrew Victorendif
198e6d92e63SAndrew Victor
199e6d92e63SAndrew Victor# ----------------------------------------------------------
200e6d92e63SAndrew Victor
201c42dcb3dSAndrew Victorif ARCH_AT91SAM9RL
202c42dcb3dSAndrew Victor
203c42dcb3dSAndrew Victorcomment "AT91SAM9RL Board Type"
204c42dcb3dSAndrew Victor
205c42dcb3dSAndrew Victorconfig MACH_AT91SAM9RLEK
206c42dcb3dSAndrew Victor	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
207c42dcb3dSAndrew Victor	depends on ARCH_AT91SAM9RL
208c42dcb3dSAndrew Victor	help
209c42dcb3dSAndrew Victor	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
210c42dcb3dSAndrew Victor
211c42dcb3dSAndrew Victorendif
212c42dcb3dSAndrew Victor
213c42dcb3dSAndrew Victor# ----------------------------------------------------------
214c42dcb3dSAndrew Victor
21586640caeSAndrew Victorif ARCH_AT91CAP9
21686640caeSAndrew Victor
21786640caeSAndrew Victorcomment "AT91CAP9 Board Type"
21886640caeSAndrew Victor
21986640caeSAndrew Victorconfig MACH_AT91CAP9ADK
22086640caeSAndrew Victor	bool "Atmel AT91CAP9A-DK Evaluation Kit"
22186640caeSAndrew Victor	depends on ARCH_AT91CAP9
22286640caeSAndrew Victor	help
22386640caeSAndrew Victor	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
22486640caeSAndrew Victor	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
22586640caeSAndrew Victor
22686640caeSAndrew Victorendif
22786640caeSAndrew Victor
22886640caeSAndrew Victor# ----------------------------------------------------------
22986640caeSAndrew Victor
2309f1ccefeSGreg Ungererif ARCH_AT91X40
2319f1ccefeSGreg Ungerer
2329f1ccefeSGreg Ungerercomment "AT91X40 Board Type"
2339f1ccefeSGreg Ungerer
2349f1ccefeSGreg Ungererconfig MACH_AT91EB01
2359f1ccefeSGreg Ungerer	bool "Atmel AT91EB01 Evaluation Kit"
2369f1ccefeSGreg Ungerer	help
2379f1ccefeSGreg Ungerer	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
2389f1ccefeSGreg Ungerer	  It is also a popular target for simulators such as GDB's
2399f1ccefeSGreg Ungerer	  ARM simulator (commonly known as the ARMulator) and the
2409f1ccefeSGreg Ungerer	  Skyeye simulator.
2419f1ccefeSGreg Ungerer
2429f1ccefeSGreg Ungererendif
2439f1ccefeSGreg Ungerer
2449f1ccefeSGreg Ungerer# ----------------------------------------------------------
2459f1ccefeSGreg Ungerer
2469d041268SAndrew Victorcomment "AT91 Board Options"
2479d041268SAndrew Victor
2489d041268SAndrew Victorconfig MTD_AT91_DATAFLASH_CARD
2499d041268SAndrew Victor	bool "Enable DataFlash Card support"
2502f036ac6SAndrew Victor	depends on (ARCH_AT91RM9200DK || MACH_AT91RM9200EK || MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK || MACH_SAM9_L9260 || MACH_ECBAT91)
2519d041268SAndrew Victor	help
2529d041268SAndrew Victor	  Enable support for the DataFlash card.
2539d041268SAndrew Victor
2549d041268SAndrew Victorconfig MTD_NAND_AT91_BUSWIDTH_16
2559d041268SAndrew Victor	bool "Enable 16-bit data bus interface to NAND flash"
25686640caeSAndrew Victor	depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91CAP9ADK)
2579d041268SAndrew Victor	help
2589d041268SAndrew Victor	  On AT91SAM926x boards both types of NAND flash can be present
2599d041268SAndrew Victor	  (8 and 16 bit data bus width).
2609d041268SAndrew Victor
2619d041268SAndrew Victor# ----------------------------------------------------------
2629d041268SAndrew Victor
2639d041268SAndrew Victorcomment "AT91 Feature Selections"
2649d041268SAndrew Victor
2659d041268SAndrew Victorconfig AT91_PROGRAMMABLE_CLOCKS
2669d041268SAndrew Victor	bool "Programmable Clocks"
2679d041268SAndrew Victor	help
2689d041268SAndrew Victor	  Select this if you need to program one or more of the PCK0..PCK3
2699d041268SAndrew Victor	  programmable clock outputs.
2709d041268SAndrew Victor
2715248c657SDavid Brownellconfig AT91_TIMER_HZ
2725248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
2735248c657SDavid Brownell       range 32 1024
2745248c657SDavid Brownell       depends on ARCH_AT91
2755248c657SDavid Brownell       default "128" if ARCH_AT91RM9200
2765248c657SDavid Brownell       default "100"
2775248c657SDavid Brownell       help
2785248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
2795248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
2805248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
2815248c657SDavid Brownell	  reduce timing errors caused by rounding.
2825248c657SDavid Brownell
2835248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
2845248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
2855248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
2865248c657SDavid Brownell
287fa3218d8SGuennadi Liakhovetskichoice
288fa3218d8SGuennadi Liakhovetski	prompt "Select a UART for early kernel messages"
289fa3218d8SGuennadi Liakhovetski
290fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_DBGU
291fa3218d8SGuennadi Liakhovetski	bool "DBGU"
292fa3218d8SGuennadi Liakhovetski
293fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART0
294fa3218d8SGuennadi Liakhovetski	bool "USART0"
295fa3218d8SGuennadi Liakhovetski
296fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART1
297fa3218d8SGuennadi Liakhovetski	bool "USART1"
298fa3218d8SGuennadi Liakhovetski
299fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART2
300fa3218d8SGuennadi Liakhovetski	bool "USART2"
301fa3218d8SGuennadi Liakhovetski	depends on ! ARCH_AT91X40
302fa3218d8SGuennadi Liakhovetski
303fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART3
304fa3218d8SGuennadi Liakhovetski	bool "USART3"
305fa3218d8SGuennadi Liakhovetski	depends on (ARCH_AT91RM9200 || ARCH_AT91SAM9RL || ARCH_AT91SAM9260)
306fa3218d8SGuennadi Liakhovetski
307fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART4
308fa3218d8SGuennadi Liakhovetski	bool "USART4"
309fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
310fa3218d8SGuennadi Liakhovetski
311fa3218d8SGuennadi Liakhovetskiconfig AT91_EARLY_USART5
312fa3218d8SGuennadi Liakhovetski	bool "USART5"
313fa3218d8SGuennadi Liakhovetski	depends on ARCH_AT91SAM9260
314fa3218d8SGuennadi Liakhovetski
315fa3218d8SGuennadi Liakhovetskiendchoice
316fa3218d8SGuennadi Liakhovetski
3179d041268SAndrew Victorendmenu
3189d041268SAndrew Victor
3199d041268SAndrew Victorendif
320