ARM: stm32: add initial support for STM32MP13 family
authorAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 23 Jul 2021 13:28:07 +0000 (15:28 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 20 Sep 2021 06:54:42 +0000 (08:54 +0200)
This patch adds initial support of STM32MP13 microprocessor family
based on Arm Cortex-A7. New Cortex-A infrastructure (gic, timer,...)
are selected if ARCH_MULTI_V7 is defined.

Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-stm32/Kconfig
arch/arm/mach-stm32/board-dt.c

index 57699bd..9814503 100644 (file)
@@ -48,6 +48,14 @@ config MACH_STM32MP157
        select ARM_ERRATA_814220
        default y
 
+config MACH_STM32MP13
+       bool "STMicroelectronics STM32MP13x"
+       select ARM_ERRATA_814220
+       default y
+       help
+         Support for STM32MP13 SoCs:
+         STM32MP131, STM32MP133, STM32MP135
+
 endif # ARMv7-A
 
 endif
index a766310..2ccaa11 100644 (file)
@@ -18,6 +18,9 @@ static const char *const stm32_compat[] __initconst = {
        "st,stm32f769",
        "st,stm32h743",
        "st,stm32h750",
+       "st,stm32mp131",
+       "st,stm32mp133",
+       "st,stm32mp135",
        "st,stm32mp157",
        NULL
 };