xref: /linux/arch/arm/mach-at91/Kconfig (revision 41141127a83d9e986a77a7cab7e27f5afee3bede)
1*41141127SAlexandre Bellonimenuconfig ARCH_AT91
2*41141127SAlexandre Belloni	bool "Atmel SoCs"
3*41141127SAlexandre Belloni	select ARCH_REQUIRE_GPIOLIB
4ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
5*41141127SAlexandre Belloni	select PINCTRL
6*41141127SAlexandre Belloni	select PINCTRL_AT91
7*41141127SAlexandre Belloni	select SOC_BUS
88f4b4794SLudovic Desroches
9*41141127SAlexandre Belloniif ARCH_AT91
108f4b4794SLudovic Desrochesconfig SOC_SAMA5D3
11*41141127SAlexandre 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
22*41141127SAlexandre 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
34*41141127SAlexandre 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
40*41141127SAlexandre Belloni	select SOC_SAM_V4_V5
41896bc871SWenyou Yang	select SRAM if PM
42*41141127SAlexandre Belloni	help
43*41141127SAlexandre Belloni	  Select this if you are using Atmel's AT91RM9200 SoC.
449d041268SAndrew Victor
452b019a43SAlexandre Belloniconfig SOC_AT91SAM9
46*41141127SAlexandre 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
55*41141127SAlexandre 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
76*41141127SAlexandre Belloniconfig HAVE_AT91_UTMI
77*41141127SAlexandre Belloni	bool
78*41141127SAlexandre Belloni
79*41141127SAlexandre Belloniconfig HAVE_AT91_USB_CLK
80*41141127SAlexandre Belloni	bool
81*41141127SAlexandre Belloni
82*41141127SAlexandre Belloniconfig COMMON_CLK_AT91
83*41141127SAlexandre Belloni	bool
84*41141127SAlexandre Belloni	select COMMON_CLK
85*41141127SAlexandre Belloni
86*41141127SAlexandre Belloniconfig HAVE_AT91_SMD
87*41141127SAlexandre Belloni	bool
88*41141127SAlexandre Belloni
89*41141127SAlexandre Belloniconfig HAVE_AT91_H32MX
90*41141127SAlexandre Belloni	bool
91*41141127SAlexandre Belloni
92*41141127SAlexandre Belloniconfig SOC_SAM_V4_V5
93*41141127SAlexandre Belloni	bool
94*41141127SAlexandre Belloni
95*41141127SAlexandre Belloniconfig SOC_SAM_V7
96*41141127SAlexandre Belloni	bool
97*41141127SAlexandre Belloni
98*41141127SAlexandre Belloniconfig SOC_SAMA5
99*41141127SAlexandre Belloni	bool
100*41141127SAlexandre Belloni	select ATMEL_AIC5_IRQ
101*41141127SAlexandre Belloni	select ATMEL_SDRAMC
102*41141127SAlexandre Belloni	select MEMORY
103*41141127SAlexandre Belloni	select SOC_SAM_V7
104*41141127SAlexandre Belloni	select SRAM if PM
105*41141127SAlexandre Belloni
106*41141127SAlexandre 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