xref: /openbmc/linux/arch/arm/mach-at91/Kconfig (revision 7803dc86)
141141127SAlexandre Bellonimenuconfig ARCH_AT91
2ed08b63cSNicolas Ferre	bool "AT91/Microchip SoCs"
32d4c44e9SSzemző András	depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
4dbeb0c8eSArnd Bergmann	select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
5ef7eda2cSNicolas Ferre	select COMMON_CLK_AT91
65c34a4e8SLinus Walleij	select GPIOLIB
741141127SAlexandre Belloni	select PINCTRL
841141127SAlexandre Belloni	select SOC_BUS
98f4b4794SLudovic Desroches
1041141127SAlexandre Belloniif ARCH_AT91
112d4c44e9SSzemző Andrásconfig SOC_SAMV7
122d4c44e9SSzemző András	bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
132d4c44e9SSzemző András	select COMMON_CLK_AT91
142d4c44e9SSzemző András	select PINCTRL_AT91
152d4c44e9SSzemző András	help
16ed08b63cSNicolas Ferre	  Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7
172d4c44e9SSzemző András	  families.
182d4c44e9SSzemző András
19c268a743SNicolas Ferreconfig SOC_SAMA5D2
20e3246542SMasahiro Yamada	bool "SAMA5D2 family"
21e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
22c268a743SNicolas Ferre	select SOC_SAMA5
23c268a743SNicolas Ferre	select CACHE_L2X0
24c268a743SNicolas Ferre	select HAVE_FB_ATMEL
25c268a743SNicolas Ferre	select HAVE_AT91_UTMI
26c268a743SNicolas Ferre	select HAVE_AT91_USB_CLK
27c268a743SNicolas Ferre	select HAVE_AT91_H32MX
28c268a743SNicolas Ferre	select HAVE_AT91_GENERATED_CLK
290865805dSQuentin Schulz	select HAVE_AT91_AUDIO_PLL
3096e4ea8cSCodrin Ciubotariu	select HAVE_AT91_I2S_MUX_CLK
318423536fSLudovic Desroches	select PINCTRL_AT91PIO4
32c268a743SNicolas Ferre	help
33ed08b63cSNicolas Ferre	  Select this if ou are using one of Microchip's SAMA5D2 family SoC.
34c268a743SNicolas Ferre
358f4b4794SLudovic Desrochesconfig SOC_SAMA5D3
36e3246542SMasahiro Yamada	bool "SAMA5D3 family"
37e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
388f4b4794SLudovic Desroches	select SOC_SAMA5
398f4b4794SLudovic Desroches	select HAVE_FB_ATMEL
40f090fb37SBoris BREZILLON	select HAVE_AT91_UTMI
41a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
42c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
438423536fSLudovic Desroches	select PINCTRL_AT91
448f4b4794SLudovic Desroches	help
45ed08b63cSNicolas Ferre	  Select this if you are using one of Microchip's SAMA5D3 family SoC.
467f457160SJosh Wu	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
472dc850b6SNicolas Ferre
482dc850b6SNicolas Ferreconfig SOC_SAMA5D4
49e3246542SMasahiro Yamada	bool "SAMA5D4 family"
50e3246542SMasahiro Yamada	depends on ARCH_MULTI_V7
512dc850b6SNicolas Ferre	select SOC_SAMA5
522dc850b6SNicolas Ferre	select CACHE_L2X0
532dc850b6SNicolas Ferre	select HAVE_FB_ATMEL
542dc850b6SNicolas Ferre	select HAVE_AT91_UTMI
552dc850b6SNicolas Ferre	select HAVE_AT91_SMD
562dc850b6SNicolas Ferre	select HAVE_AT91_USB_CLK
572dc850b6SNicolas Ferre	select HAVE_AT91_H32MX
588423536fSLudovic Desroches	select PINCTRL_AT91
592dc850b6SNicolas Ferre	help
60ed08b63cSNicolas Ferre	  Select this if you are using one of Microchip's SAMA5D4 family SoC.
618f4b4794SLudovic Desroches
621e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200
63e3246542SMasahiro Yamada	bool "AT91RM9200"
64e3246542SMasahiro Yamada	depends on ARCH_MULTI_V4T
65ef7eda2cSNicolas Ferre	select ATMEL_AIC_IRQ
66b2f06274SAlexandre Belloni	select ATMEL_PM if PM
67b53cdd03SAlexandre Belloni	select ATMEL_ST
68c750815eSRussell King	select CPU_ARM920T
69c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
708423536fSLudovic Desroches	select PINCTRL_AT91
7141141127SAlexandre Belloni	select SOC_SAM_V4_V5
72896bc871SWenyou Yang	select SRAM if PM
7341141127SAlexandre Belloni	help
74ed08b63cSNicolas Ferre	  Select this if you are using Microchip's AT91RM9200 SoC.
759d041268SAndrew Victor
762b019a43SAlexandre Belloniconfig SOC_AT91SAM9
77e3246542SMasahiro Yamada	bool "AT91SAM9"
78e3246542SMasahiro Yamada	depends on ARCH_MULTI_V5
792b019a43SAlexandre Belloni	select ATMEL_AIC_IRQ
80b2f06274SAlexandre Belloni	select ATMEL_PM if PM
812b019a43SAlexandre Belloni	select ATMEL_SDRAMC
822b019a43SAlexandre Belloni	select CPU_ARM926T
83a9c0688fSBoris BREZILLON	select HAVE_AT91_SMD
84c84a61d8SBoris BREZILLON	select HAVE_AT91_USB_CLK
852b019a43SAlexandre Belloni	select HAVE_AT91_UTMI
8674db4fb9SHong Xu	select HAVE_FB_ATMEL
872b019a43SAlexandre Belloni	select MEMORY
888423536fSLudovic Desroches	select PINCTRL_AT91
8941141127SAlexandre Belloni	select SOC_SAM_V4_V5
90896bc871SWenyou Yang	select SRAM if PM
9174db4fb9SHong Xu	help
92ed08b63cSNicolas Ferre	  Select this if you are using one of those Microchip SoC:
932b019a43SAlexandre Belloni	    AT91SAM9260
942b019a43SAlexandre Belloni	    AT91SAM9261
952b019a43SAlexandre Belloni	    AT91SAM9263
962b019a43SAlexandre Belloni	    AT91SAM9G15
972b019a43SAlexandre Belloni	    AT91SAM9G20
982b019a43SAlexandre Belloni	    AT91SAM9G25
992b019a43SAlexandre Belloni	    AT91SAM9G35
1002b019a43SAlexandre Belloni	    AT91SAM9G45
1012b019a43SAlexandre Belloni	    AT91SAM9G46
1022b019a43SAlexandre Belloni	    AT91SAM9M10
1032b019a43SAlexandre Belloni	    AT91SAM9M11
1042b019a43SAlexandre Belloni	    AT91SAM9N12
1052b019a43SAlexandre Belloni	    AT91SAM9RL
1062b019a43SAlexandre Belloni	    AT91SAM9X25
1072b019a43SAlexandre Belloni	    AT91SAM9X35
1082b019a43SAlexandre Belloni	    AT91SAM9XE
1099f1ccefeSGreg Ungerer
1107803dc86SAlexandre Bellonicomment "Clocksource driver selection"
1117803dc86SAlexandre Belloni
1127803dc86SAlexandre Belloniconfig ATMEL_CLOCKSOURCE_PIT
1137803dc86SAlexandre Belloni	bool "Periodic Interval Timer (PIT) support"
1147803dc86SAlexandre Belloni	depends on SOC_AT91SAM9 || SOC_SAMA5
1157803dc86SAlexandre Belloni	default SOC_AT91SAM9 || SOC_SAMA5
1167803dc86SAlexandre Belloni	select ATMEL_PIT
1177803dc86SAlexandre Belloni	help
1187803dc86SAlexandre Belloni	  Select this to get a clocksource based on the Atmel Periodic Interval
1197803dc86SAlexandre Belloni	  Timer. It has a relatively low resolution and the TC Block clocksource
1207803dc86SAlexandre Belloni	  should be preferred.
1217803dc86SAlexandre Belloni
1227803dc86SAlexandre Belloniconfig ATMEL_CLOCKSOURCE_TCB
1237803dc86SAlexandre Belloni	bool "Timer Counter Blocks (TCB) support"
1247803dc86SAlexandre Belloni	default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAMA5
1257803dc86SAlexandre Belloni	select ATMEL_TCB_CLKSRC
1267803dc86SAlexandre Belloni	help
1277803dc86SAlexandre Belloni	  Select this to get a high precision clocksource based on a
1287803dc86SAlexandre Belloni	  TC block with a 5+ MHz base clock rate.
1297803dc86SAlexandre Belloni	  On platforms with 16-bit counters, two timer channels are combined
1307803dc86SAlexandre Belloni	  to make a single 32-bit timer.
1317803dc86SAlexandre Belloni	  It can also be used as a clock event device supporting oneshot mode.
1327803dc86SAlexandre Belloni
13341141127SAlexandre Belloniconfig HAVE_AT91_UTMI
13441141127SAlexandre Belloni	bool
13541141127SAlexandre Belloni
13641141127SAlexandre Belloniconfig HAVE_AT91_USB_CLK
13741141127SAlexandre Belloni	bool
13841141127SAlexandre Belloni
13941141127SAlexandre Belloniconfig COMMON_CLK_AT91
14041141127SAlexandre Belloni	bool
14141141127SAlexandre Belloni	select COMMON_CLK
142863a81c3SBoris Brezillon	select MFD_SYSCON
14341141127SAlexandre Belloni
14441141127SAlexandre Belloniconfig HAVE_AT91_SMD
14541141127SAlexandre Belloni	bool
14641141127SAlexandre Belloni
14741141127SAlexandre Belloniconfig HAVE_AT91_H32MX
14841141127SAlexandre Belloni	bool
14941141127SAlexandre Belloni
150df70aeefSNicolas Ferreconfig HAVE_AT91_GENERATED_CLK
151df70aeefSNicolas Ferre	bool
152df70aeefSNicolas Ferre
1530865805dSQuentin Schulzconfig HAVE_AT91_AUDIO_PLL
1540865805dSQuentin Schulz	bool
1550865805dSQuentin Schulz
15696e4ea8cSCodrin Ciubotariuconfig HAVE_AT91_I2S_MUX_CLK
15796e4ea8cSCodrin Ciubotariu	bool
15896e4ea8cSCodrin Ciubotariu
15941141127SAlexandre Belloniconfig SOC_SAM_V4_V5
16041141127SAlexandre Belloni	bool
16141141127SAlexandre Belloni
16241141127SAlexandre Belloniconfig SOC_SAM_V7
16341141127SAlexandre Belloni	bool
16441141127SAlexandre Belloni
16541141127SAlexandre Belloniconfig SOC_SAMA5
16641141127SAlexandre Belloni	bool
16741141127SAlexandre Belloni	select ATMEL_AIC5_IRQ
168b2f06274SAlexandre Belloni	select ATMEL_PM if PM
16941141127SAlexandre Belloni	select ATMEL_SDRAMC
17041141127SAlexandre Belloni	select MEMORY
17141141127SAlexandre Belloni	select SOC_SAM_V7
17241141127SAlexandre Belloni	select SRAM if PM
17341141127SAlexandre Belloni
174b2f06274SAlexandre Belloniconfig ATMEL_PM
175b2f06274SAlexandre Belloni	bool
176b2f06274SAlexandre Belloni
1779d041268SAndrew Victorendif
178