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 if ARM_SINGLE_ARMV7M
15	select STM32_FIREWALL
16	help
17	  Support for STMicroelectronics STM32 processors.
18
19if ARCH_STM32
20
21if ARM_SINGLE_ARMV7M
22
23config MACH_STM32F429
24	bool "STMicroelectronics STM32F429"
25	default y
26
27config MACH_STM32F469
28	bool "STMicroelectronics STM32F469"
29	default y
30
31config MACH_STM32F746
32	bool "STMicroelectronics STM32F746"
33	default y
34
35config MACH_STM32F769
36	bool "STMicroelectronics STM32F769"
37	default y
38
39config MACH_STM32H743
40	bool "STMicroelectronics STM32H743"
41	default y
42
43endif # ARMv7-M
44
45if ARCH_MULTI_V7
46
47config MACH_STM32MP157
48	bool "STMicroelectronics STM32MP157"
49	select ARM_ERRATA_814220
50	default y
51
52config MACH_STM32MP13
53	bool "STMicroelectronics STM32MP13x"
54	select ARM_ERRATA_814220
55	default y
56	help
57	  Support for STM32MP13 SoCs:
58	  STM32MP131, STM32MP133, STM32MP135
59
60endif # ARMv7-A
61
62endif
63