xref: /linux/arch/arm/mach-at91/Kconfig (revision b53cdd03222391f76e82cd0c7d040816c919ab75)
19d041268SAndrew Victorif ARCH_AT91
29d041268SAndrew Victor
3f090fb37SBoris BREZILLONconfig HAVE_AT91_UTMI
4f090fb37SBoris BREZILLON	bool
5f090fb37SBoris BREZILLON
6c84a61d8SBoris BREZILLONconfig HAVE_AT91_USB_CLK
7c84a61d8SBoris BREZILLON	bool
8c84a61d8SBoris BREZILLON
9c8a8c630SBoris BREZILLONconfig COMMON_CLK_AT91
10c8a8c630SBoris BREZILLON	bool
11c8a8c630SBoris BREZILLON	select COMMON_CLK
12c8a8c630SBoris BREZILLON
13a9c0688fSBoris BREZILLONconfig HAVE_AT91_SMD
14a9c0688fSBoris BREZILLON	bool
15a9c0688fSBoris BREZILLON
16bcc5fd49SAlexandre Belloniconfig HAVE_AT91_H32MX
17bcc5fd49SAlexandre Belloni	bool
18bcc5fd49SAlexandre Belloni
198f4b4794SLudovic Desrochesconfig SOC_SAMA5
208f4b4794SLudovic Desroches	bool
213b26f39bSBoris BREZILLON	select ATMEL_AIC5_IRQ
22ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
238f4b4794SLudovic Desroches	select CPU_V7
248f4b4794SLudovic Desroches	select GENERIC_CLOCKEVENTS
2563e60368SAlexandre Belloni	select MEMORY
2663e60368SAlexandre Belloni	select ATMEL_SDRAMC
27896bc871SWenyou Yang	select SRAM if PM
288f4b4794SLudovic Desroches
299d041268SAndrew Victormenu "Atmel AT91 System-on-Chip"
309d041268SAndrew Victor
318f0cdcc5SLudovic Desrocheschoice
328f0cdcc5SLudovic Desroches
338f0cdcc5SLudovic Desroches	prompt "Core type"
348f0cdcc5SLudovic Desroches
35fe138c23SArnd Bergmannconfig SOC_SAM_V4_V5
36fe138c23SArnd Bergmann	bool "ARM9 AT91SAM9/AT91RM9200"
37fe138c23SArnd Bergmann	help
38fe138c23SArnd Bergmann	  Select this if you are using one of Atmel's AT91SAM9 or
39fe138c23SArnd Bergmann	  AT91RM9200 SoC.
408f0cdcc5SLudovic Desroches
418f4b4794SLudovic Desrochesconfig SOC_SAM_V7
428f4b4794SLudovic Desroches	bool "Cortex A5"
438f4b4794SLudovic Desroches	help
448f4b4794SLudovic Desroches	  Select this if you are using one of Atmel's SAMA5D3 SoC.
458f4b4794SLudovic Desroches
468f0cdcc5SLudovic Desrochesendchoice
478f0cdcc5SLudovic Desroches
481e3ce2b8SJean-Christophe PLAGNIOL-VILLARDcomment "Atmel AT91 Processor"
499d041268SAndrew Victor
508f4b4794SLudovic Desrochesif SOC_SAM_V7
518f4b4794SLudovic Desrochesconfig SOC_SAMA5D3
528f4b4794SLudovic Desroches	bool "SAMA5D3 family"
538f4b4794SLudovic Desroches	select SOC_SAMA5
548f4b4794SLudovic Desroches	select HAVE_FB_ATMEL
55f090fb37SBoris BREZILLON	select HAVE_AT91_UTMI
56a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
57c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
588f4b4794SLudovic Desroches	help
598f4b4794SLudovic Desroches	  Select this if you are using one of Atmel's SAMA5D3 family SoC.
607f457160SJosh Wu	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
612dc850b6SNicolas Ferre
622dc850b6SNicolas Ferreconfig SOC_SAMA5D4
632dc850b6SNicolas Ferre	bool "SAMA5D4 family"
642dc850b6SNicolas Ferre	select SOC_SAMA5
652dc850b6SNicolas Ferre	select CLKSRC_MMIO
662dc850b6SNicolas Ferre	select CACHE_L2X0
672dc850b6SNicolas Ferre	select HAVE_FB_ATMEL
682dc850b6SNicolas Ferre	select HAVE_AT91_UTMI
692dc850b6SNicolas Ferre	select HAVE_AT91_SMD
702dc850b6SNicolas Ferre	select HAVE_AT91_USB_CLK
712dc850b6SNicolas Ferre	select HAVE_AT91_H32MX
722dc850b6SNicolas Ferre	help
732dc850b6SNicolas Ferre	  Select this if you are using one of Atmel's SAMA5D4 family SoC.
748f4b4794SLudovic Desrochesendif
758f4b4794SLudovic Desroches
768f0cdcc5SLudovic Desrochesif SOC_SAM_V4_V5
771e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200
789d041268SAndrew Victor	bool "AT91RM9200"
79ef7eda2cSNicolas Ferre	select ATMEL_AIC_IRQ
80*b53cdd03SAlexandre Belloni	select ATMEL_ST
81ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
82c750815eSRussell King	select CPU_ARM920T
835e802dfaSDavid Brownell	select GENERIC_CLOCKEVENTS
84c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
851be27c62SArnd Bergmann	select MIGHT_HAVE_PCI
86896bc871SWenyou Yang	select SRAM if PM
879d041268SAndrew Victor
882b019a43SAlexandre Belloniconfig SOC_AT91SAM9
892b019a43SAlexandre Belloni	bool "AT91SAM9"
902b019a43SAlexandre Belloni	select ATMEL_AIC_IRQ
912b019a43SAlexandre Belloni	select ATMEL_SDRAMC
922b019a43SAlexandre Belloni	select COMMON_CLK_AT91
932b019a43SAlexandre Belloni	select CPU_ARM926T
942b019a43SAlexandre Belloni	select GENERIC_CLOCKEVENTS
95a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
96c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
972b019a43SAlexandre Belloni	select HAVE_AT91_UTMI
9874db4fb9SHong Xu	select HAVE_FB_ATMEL
992b019a43SAlexandre Belloni	select MEMORY
100896bc871SWenyou Yang	select SRAM if PM
10174db4fb9SHong Xu	help
1022b019a43SAlexandre Belloni	  Select this if you are using one of those Atmel SoC:
1032b019a43SAlexandre Belloni	    AT91SAM9260
1042b019a43SAlexandre Belloni	    AT91SAM9261
1052b019a43SAlexandre Belloni	    AT91SAM9263
1062b019a43SAlexandre Belloni	    AT91SAM9G15
1072b019a43SAlexandre Belloni	    AT91SAM9G20
1082b019a43SAlexandre Belloni	    AT91SAM9G25
1092b019a43SAlexandre Belloni	    AT91SAM9G35
1102b019a43SAlexandre Belloni	    AT91SAM9G45
1112b019a43SAlexandre Belloni	    AT91SAM9G46
1122b019a43SAlexandre Belloni	    AT91SAM9M10
1132b019a43SAlexandre Belloni	    AT91SAM9M11
1142b019a43SAlexandre Belloni	    AT91SAM9N12
1152b019a43SAlexandre Belloni	    AT91SAM9RL
1162b019a43SAlexandre Belloni	    AT91SAM9X25
1172b019a43SAlexandre Belloni	    AT91SAM9X35
1182b019a43SAlexandre Belloni	    AT91SAM9XE
1198f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5
1209f1ccefeSGreg Ungerer
1219d041268SAndrew Victorcomment "AT91 Feature Selections"
1229d041268SAndrew Victor
1235248c657SDavid Brownellconfig AT91_TIMER_HZ
1245248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
1255248c657SDavid Brownell       range 32 1024
1265248c657SDavid Brownell       depends on ARCH_AT91
127e152015bSNicolas Ferre       default "128" if SOC_AT91RM9200
1285248c657SDavid Brownell       default "100"
1295248c657SDavid Brownell       help
1305248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
1315248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
1325248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
1335248c657SDavid Brownell	  reduce timing errors caused by rounding.
1345248c657SDavid Brownell
1355248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
1365248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
1375248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
1385248c657SDavid Brownell
1399d041268SAndrew Victorendmenu
1409d041268SAndrew Victor
1419d041268SAndrew Victorendif
142