blob: 57699bd8f10750f73410e142b9e791fac9a9dd5e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Ludovic Barre3ed71f82018-02-27 09:05:18 +01002menuconfig ARCH_STM32
Masahiro Yamada7e8a0f12019-07-10 14:13:20 +09003 bool "STMicroelectronics STM32 family"
4 depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
Ludovic Barre3ed71f82018-02-27 09:05:18 +01005 select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
Ludovic Barref7dcb042018-01-16 15:56:00 +01006 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
Ludovic Barre56c6eed2019-04-11 15:44:08 +02009 select ARM_AMBA
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010010 select ARCH_HAS_RESET_CONTROLLER
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010011 select CLKSRC_STM32
12 select PINCTRL
13 select RESET_CONTROLLER
14 select STM32_EXTI
15 help
16 Support for STMicroelectronics STM32 processors.
17
Ludovic Barre3ed71f82018-02-27 09:05:18 +010018if ARCH_STM32
19
20if ARM_SINGLE_ARMV7M
21
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010022config MACH_STM32F429
Ludovic Barre3ed71f82018-02-27 09:05:18 +010023 bool "STMicroelectronics STM32F429"
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010024 default y
25
Alexandre TORGUEd28bcd52017-06-12 14:22:45 +020026config MACH_STM32F469
Ludovic Barre3ed71f82018-02-27 09:05:18 +010027 bool "STMicroelectronics STM32F469"
Alexandre TORGUEd28bcd52017-06-12 14:22:45 +020028 default y
29
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010030config MACH_STM32F746
Ludovic Barre3ed71f82018-02-27 09:05:18 +010031 bool "STMicroelectronics STM32F746"
Alexandre TORGUEbcb84fb2017-01-30 17:33:13 +010032 default y
Alexandre TORGUE1e2f0162017-01-30 17:49:02 +010033
Alexandre Torgue550987b2017-12-11 09:54:00 +010034config MACH_STM32F769
35 bool "STMicroelectronics STM32F769"
Alexandre Torgue550987b2017-12-11 09:54:00 +010036 default y
37
Alexandre TORGUE1e2f0162017-01-30 17:49:02 +010038config MACH_STM32H743
Ludovic Barre3ed71f82018-02-27 09:05:18 +010039 bool "STMicroelectronics STM32H743"
Alexandre TORGUE1e2f0162017-01-30 17:49:02 +010040 default y
Ludovic Barre3ed71f82018-02-27 09:05:18 +010041
42endif # ARMv7-M
43
Ludovic Barref7dcb042018-01-16 15:56:00 +010044if ARCH_MULTI_V7
45
46config MACH_STM32MP157
47 bool "STMicroelectronics STM32MP157"
Benjamin Gaignardf785b422019-05-21 10:18:19 +010048 select ARM_ERRATA_814220
Ludovic Barref7dcb042018-01-16 15:56:00 +010049 default y
50
51endif # ARMv7-A
52
Ludovic Barre3ed71f82018-02-27 09:05:18 +010053endif