xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 1be27c62)
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
80ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
81c750815eSRussell King	select CPU_ARM920T
825e802dfaSDavid Brownell	select GENERIC_CLOCKEVENTS
83c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
841be27c62SArnd Bergmann	select MIGHT_HAVE_PCI
85896bc871SWenyou Yang	select SRAM if PM
869d041268SAndrew Victor
872b019a43SAlexandre Belloniconfig SOC_AT91SAM9
882b019a43SAlexandre Belloni	bool "AT91SAM9"
892b019a43SAlexandre Belloni	select ATMEL_AIC_IRQ
902b019a43SAlexandre Belloni	select ATMEL_SDRAMC
912b019a43SAlexandre Belloni	select COMMON_CLK_AT91
922b019a43SAlexandre Belloni	select CPU_ARM926T
932b019a43SAlexandre Belloni	select GENERIC_CLOCKEVENTS
94a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
95c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
962b019a43SAlexandre Belloni	select HAVE_AT91_UTMI
9774db4fb9SHong Xu	select HAVE_FB_ATMEL
982b019a43SAlexandre Belloni	select MEMORY
99896bc871SWenyou Yang	select SRAM if PM
10074db4fb9SHong Xu	help
1012b019a43SAlexandre Belloni	  Select this if you are using one of those Atmel SoC:
1022b019a43SAlexandre Belloni	    AT91SAM9260
1032b019a43SAlexandre Belloni	    AT91SAM9261
1042b019a43SAlexandre Belloni	    AT91SAM9263
1052b019a43SAlexandre Belloni	    AT91SAM9G15
1062b019a43SAlexandre Belloni	    AT91SAM9G20
1072b019a43SAlexandre Belloni	    AT91SAM9G25
1082b019a43SAlexandre Belloni	    AT91SAM9G35
1092b019a43SAlexandre Belloni	    AT91SAM9G45
1102b019a43SAlexandre Belloni	    AT91SAM9G46
1112b019a43SAlexandre Belloni	    AT91SAM9M10
1122b019a43SAlexandre Belloni	    AT91SAM9M11
1132b019a43SAlexandre Belloni	    AT91SAM9N12
1142b019a43SAlexandre Belloni	    AT91SAM9RL
1152b019a43SAlexandre Belloni	    AT91SAM9X25
1162b019a43SAlexandre Belloni	    AT91SAM9X35
1172b019a43SAlexandre Belloni	    AT91SAM9XE
1188f0cdcc5SLudovic Desrochesendif # SOC_SAM_V4_V5
1199f1ccefeSGreg Ungerer
1209d041268SAndrew Victorcomment "AT91 Feature Selections"
1219d041268SAndrew Victor
1225248c657SDavid Brownellconfig AT91_TIMER_HZ
1235248c657SDavid Brownell       int "Kernel HZ (jiffies per second)"
1245248c657SDavid Brownell       range 32 1024
1255248c657SDavid Brownell       depends on ARCH_AT91
126e152015bSNicolas Ferre       default "128" if SOC_AT91RM9200
1275248c657SDavid Brownell       default "100"
1285248c657SDavid Brownell       help
1295248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
1305248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
1315248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
1325248c657SDavid Brownell	  reduce timing errors caused by rounding.
1335248c657SDavid Brownell
1345248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
1355248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
1365248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
1375248c657SDavid Brownell
1389d041268SAndrew Victorendmenu
1399d041268SAndrew Victor
1409d041268SAndrew Victorendif
141