xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 41141127)
141141127SAlexandre Bellonimenuconfig ARCH_AT91
241141127SAlexandre Belloni	bool "Atmel SoCs"
341141127SAlexandre Belloni	select ARCH_REQUIRE_GPIOLIB
4ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
541141127SAlexandre Belloni	select PINCTRL
641141127SAlexandre Belloni	select PINCTRL_AT91
741141127SAlexandre Belloni	select SOC_BUS
88f4b4794SLudovic Desroches
941141127SAlexandre Belloniif ARCH_AT91
108f4b4794SLudovic Desrochesconfig SOC_SAMA5D3
1141141127SAlexandre Belloni	bool "SAMA5D3 family" if ARCH_MULTI_V7
128f4b4794SLudovic Desroches	select SOC_SAMA5
138f4b4794SLudovic Desroches	select HAVE_FB_ATMEL
14f090fb37SBoris BREZILLON	select HAVE_AT91_UTMI
15a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
16c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
178f4b4794SLudovic Desroches	help
188f4b4794SLudovic Desroches	  Select this if you are using one of Atmel's SAMA5D3 family SoC.
197f457160SJosh Wu	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
202dc850b6SNicolas Ferre
212dc850b6SNicolas Ferreconfig SOC_SAMA5D4
2241141127SAlexandre Belloni	bool "SAMA5D4 family" if ARCH_MULTI_V7
232dc850b6SNicolas Ferre	select SOC_SAMA5
242dc850b6SNicolas Ferre	select CACHE_L2X0
252dc850b6SNicolas Ferre	select HAVE_FB_ATMEL
262dc850b6SNicolas Ferre	select HAVE_AT91_UTMI
272dc850b6SNicolas Ferre	select HAVE_AT91_SMD
282dc850b6SNicolas Ferre	select HAVE_AT91_USB_CLK
292dc850b6SNicolas Ferre	select HAVE_AT91_H32MX
302dc850b6SNicolas Ferre	help
312dc850b6SNicolas Ferre	  Select this if you are using one of Atmel's SAMA5D4 family SoC.
328f4b4794SLudovic Desroches
331e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200
3441141127SAlexandre Belloni	bool "AT91RM9200" if ARCH_MULTI_V4T
35ef7eda2cSNicolas Ferre	select ATMEL_AIC_IRQ
36b53cdd03SAlexandre Belloni	select ATMEL_ST
37c750815eSRussell King	select CPU_ARM920T
38c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
391be27c62SArnd Bergmann	select MIGHT_HAVE_PCI
4041141127SAlexandre Belloni	select SOC_SAM_V4_V5
41896bc871SWenyou Yang	select SRAM if PM
4241141127SAlexandre Belloni	help
4341141127SAlexandre Belloni	  Select this if you are using Atmel's AT91RM9200 SoC.
449d041268SAndrew Victor
452b019a43SAlexandre Belloniconfig SOC_AT91SAM9
4641141127SAlexandre Belloni	bool "AT91SAM9" if ARCH_MULTI_V5
472b019a43SAlexandre Belloni	select ATMEL_AIC_IRQ
482b019a43SAlexandre Belloni	select ATMEL_SDRAMC
492b019a43SAlexandre Belloni	select CPU_ARM926T
50a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
51c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
522b019a43SAlexandre Belloni	select HAVE_AT91_UTMI
5374db4fb9SHong Xu	select HAVE_FB_ATMEL
542b019a43SAlexandre Belloni	select MEMORY
5541141127SAlexandre Belloni	select SOC_SAM_V4_V5
56896bc871SWenyou Yang	select SRAM if PM
5774db4fb9SHong Xu	help
582b019a43SAlexandre Belloni	  Select this if you are using one of those Atmel SoC:
592b019a43SAlexandre Belloni	    AT91SAM9260
602b019a43SAlexandre Belloni	    AT91SAM9261
612b019a43SAlexandre Belloni	    AT91SAM9263
622b019a43SAlexandre Belloni	    AT91SAM9G15
632b019a43SAlexandre Belloni	    AT91SAM9G20
642b019a43SAlexandre Belloni	    AT91SAM9G25
652b019a43SAlexandre Belloni	    AT91SAM9G35
662b019a43SAlexandre Belloni	    AT91SAM9G45
672b019a43SAlexandre Belloni	    AT91SAM9G46
682b019a43SAlexandre Belloni	    AT91SAM9M10
692b019a43SAlexandre Belloni	    AT91SAM9M11
702b019a43SAlexandre Belloni	    AT91SAM9N12
712b019a43SAlexandre Belloni	    AT91SAM9RL
722b019a43SAlexandre Belloni	    AT91SAM9X25
732b019a43SAlexandre Belloni	    AT91SAM9X35
742b019a43SAlexandre Belloni	    AT91SAM9XE
759f1ccefeSGreg Ungerer
7641141127SAlexandre Belloniconfig HAVE_AT91_UTMI
7741141127SAlexandre Belloni	bool
7841141127SAlexandre Belloni
7941141127SAlexandre Belloniconfig HAVE_AT91_USB_CLK
8041141127SAlexandre Belloni	bool
8141141127SAlexandre Belloni
8241141127SAlexandre Belloniconfig COMMON_CLK_AT91
8341141127SAlexandre Belloni	bool
8441141127SAlexandre Belloni	select COMMON_CLK
8541141127SAlexandre Belloni
8641141127SAlexandre Belloniconfig HAVE_AT91_SMD
8741141127SAlexandre Belloni	bool
8841141127SAlexandre Belloni
8941141127SAlexandre Belloniconfig HAVE_AT91_H32MX
9041141127SAlexandre Belloni	bool
9141141127SAlexandre Belloni
9241141127SAlexandre Belloniconfig SOC_SAM_V4_V5
9341141127SAlexandre Belloni	bool
9441141127SAlexandre Belloni
9541141127SAlexandre Belloniconfig SOC_SAM_V7
9641141127SAlexandre Belloni	bool
9741141127SAlexandre Belloni
9841141127SAlexandre Belloniconfig SOC_SAMA5
9941141127SAlexandre Belloni	bool
10041141127SAlexandre Belloni	select ATMEL_AIC5_IRQ
10141141127SAlexandre Belloni	select ATMEL_SDRAMC
10241141127SAlexandre Belloni	select MEMORY
10341141127SAlexandre Belloni	select SOC_SAM_V7
10441141127SAlexandre Belloni	select SRAM if PM
10541141127SAlexandre Belloni
10641141127SAlexandre Bellonicomment "Atmel SoCs Feature Selections"
1079d041268SAndrew Victor
1085248c657SDavid Brownellconfig AT91_TIMER_HZ
1095248c657SDavid Brownell	int "Kernel HZ (jiffies per second)"
1105248c657SDavid Brownell	range 32 1024
1115248c657SDavid Brownell	depends on ARCH_AT91
112e152015bSNicolas Ferre	default "128" if SOC_AT91RM9200
1135248c657SDavid Brownell	default "100"
1145248c657SDavid Brownell	help
1155248c657SDavid Brownell	  On AT91rm9200 chips where you're using a system clock derived
1165248c657SDavid Brownell	  from the 32768 Hz hardware clock, this tick rate should divide
1175248c657SDavid Brownell	  it exactly: use a power-of-two value, such as 128 or 256, to
1185248c657SDavid Brownell	  reduce timing errors caused by rounding.
1195248c657SDavid Brownell
1205248c657SDavid Brownell	  On AT91sam926x chips, or otherwise when using a higher precision
1215248c657SDavid Brownell	  system clock (of at least several MHz), rounding is less of a
1225248c657SDavid Brownell	  problem so it can be safer to use a decimal values like 100.
1235248c657SDavid Brownell
1249d041268SAndrew Victorendif
125