1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "AT91/Microchip SoCs"
4 depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
5 select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
13 bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
14 select COMMON_CLK_AT91
17 Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7
22 depends on ARCH_MULTI_V7
26 select HAVE_AT91_USB_CLK
27 select HAVE_AT91_H32MX
28 select HAVE_AT91_GENERATED_CLK
29 select HAVE_AT91_AUDIO_PLL
30 select HAVE_AT91_I2S_MUX_CLK
31 select PINCTRL_AT91PIO4
33 Select this if ou are using one of Microchip's SAMA5D2 family SoC.
37 depends on ARCH_MULTI_V7
41 select HAVE_AT91_USB_CLK
44 Select this if you are using one of Microchip's SAMA5D3 family SoC.
45 This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
49 depends on ARCH_MULTI_V7
54 select HAVE_AT91_USB_CLK
55 select HAVE_AT91_H32MX
58 Select this if you are using one of Microchip's SAMA5D4 family SoC.
62 depends on ARCH_MULTI_V4T
67 select HAVE_AT91_USB_CLK
72 Select this if you are using Microchip's AT91RM9200 SoC.
76 depends on ARCH_MULTI_V5
82 select HAVE_AT91_USB_CLK
90 Select this if you are using one of those Microchip SoC:
110 depends on ARCH_MULTI_V5
111 select ATMEL_AIC5_IRQ
112 select ATMEL_PM if PM
115 select HAVE_AT91_USB_CLK
116 select HAVE_AT91_GENERATED_CLK
117 select HAVE_AT91_SAM9X60_PLL
123 Select this if you are using Microchip's SAM9X60 SoC
125 comment "Clocksource driver selection"
127 config ATMEL_CLOCKSOURCE_PIT
128 bool "Periodic Interval Timer (PIT) support"
129 depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
130 default SOC_AT91SAM9 || SOC_SAMA5
133 Select this to get a clocksource based on the Atmel Periodic Interval
134 Timer. It has a relatively low resolution and the TC Block clocksource
137 config ATMEL_CLOCKSOURCE_TCB
138 bool "Timer Counter Blocks (TCB) support"
139 default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
140 select ATMEL_TCB_CLKSRC
142 Select this to get a high precision clocksource based on a
143 TC block with a 5+ MHz base clock rate.
144 On platforms with 16-bit counters, two timer channels are combined
145 to make a single 32-bit timer.
146 It can also be used as a clock event device supporting oneshot mode.
148 config HAVE_AT91_UTMI
151 config HAVE_AT91_USB_CLK
154 config COMMON_CLK_AT91
162 config HAVE_AT91_H32MX
165 config HAVE_AT91_GENERATED_CLK
168 config HAVE_AT91_AUDIO_PLL
171 config HAVE_AT91_I2S_MUX_CLK
174 config HAVE_AT91_SAM9X60_PLL
185 select ATMEL_AIC5_IRQ
186 select ATMEL_PM if PM