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:
108 comment "Clocksource driver selection"
110 config ATMEL_CLOCKSOURCE_PIT
111 bool "Periodic Interval Timer (PIT) support"
112 depends on SOC_AT91SAM9 || SOC_SAMA5
113 default SOC_AT91SAM9 || SOC_SAMA5
116 Select this to get a clocksource based on the Atmel Periodic Interval
117 Timer. It has a relatively low resolution and the TC Block clocksource
120 config ATMEL_CLOCKSOURCE_TCB
121 bool "Timer Counter Blocks (TCB) support"
122 default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAMA5
123 select ATMEL_TCB_CLKSRC
125 Select this to get a high precision clocksource based on a
126 TC block with a 5+ MHz base clock rate.
127 On platforms with 16-bit counters, two timer channels are combined
128 to make a single 32-bit timer.
129 It can also be used as a clock event device supporting oneshot mode.
131 config HAVE_AT91_UTMI
134 config HAVE_AT91_USB_CLK
137 config COMMON_CLK_AT91
145 config HAVE_AT91_H32MX
148 config HAVE_AT91_GENERATED_CLK
151 config HAVE_AT91_AUDIO_PLL
154 config HAVE_AT91_I2S_MUX_CLK
165 select ATMEL_AIC5_IRQ
166 select ATMEL_PM if PM