xref: /openbmc/linux/arch/arm/mach-stm32/Kconfig (revision 84cc6674)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_STM32
3	bool "STMicroelectronics STM32 family"
4	depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
5	select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
6	select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
7	select ARM_GIC if ARCH_MULTI_V7
8	select ARM_PSCI if ARCH_MULTI_V7
9	select ARM_AMBA
10	select ARCH_HAS_RESET_CONTROLLER
11	select CLKSRC_STM32
12	select PINCTRL
13	select RESET_CONTROLLER
14	select STM32_EXTI
15	help
16	  Support for STMicroelectronics STM32 processors.
17
18if ARCH_STM32
19
20if ARM_SINGLE_ARMV7M
21
22config MACH_STM32F429
23	bool "STMicroelectronics STM32F429"
24	default y
25
26config MACH_STM32F469
27	bool "STMicroelectronics STM32F469"
28	default y
29
30config MACH_STM32F746
31	bool "STMicroelectronics STM32F746"
32	default y
33
34config MACH_STM32F769
35	bool "STMicroelectronics STM32F769"
36	default y
37
38config MACH_STM32H743
39	bool "STMicroelectronics STM32H743"
40	default y
41
42endif # ARMv7-M
43
44if ARCH_MULTI_V7
45
46config MACH_STM32MP157
47	bool "STMicroelectronics STM32MP157"
48	select ARM_ERRATA_814220
49	default y
50
51config MACH_STM32MP13
52	bool "STMicroelectronics STM32MP13x"
53	select ARM_ERRATA_814220
54	default y
55	help
56	  Support for STM32MP13 SoCs:
57	  STM32MP131, STM32MP133, STM32MP135
58
59endif # ARMv7-A
60
61endif
62