Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: stm32: add initial support for STM32MP157

This patch adds initial support of STM32MP157 microprocessor (MPU)
based on Arm Cortex-A7. New Cortex-A infrastructure (gic, timer,...)
are selected if ARCH_MULTI_V7 is defined.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

authored by

Ludovic Barre and committed by
Alexandre Torgue
f7dcb044 3ed71f8a

+31
+19
Documentation/arm/stm32/stm32mp157-overview.rst
··· 1 + STM32MP157 Overview 2 + =================== 3 + 4 + Introduction 5 + ------------ 6 + 7 + The STM32MP157 is a Cortex-A MPU aimed at various applications. 8 + It features: 9 + 10 + - Dual core Cortex-A7 application core 11 + - 2D/3D image composition with GPU 12 + - Standard memories interface support 13 + - Standard connectivity, widely inherited from the STM32 MCU family 14 + - Comprehensive security support 15 + 16 + :Authors: 17 + 18 + - Ludovic Barre <ludovic.barre@st.com> 19 + - Gerald Baeza <gerald.baeza@st.com>
+11
arch/arm/mach-stm32/Kconfig
··· 1 1 menuconfig ARCH_STM32 2 2 bool "STMicroelectronics STM32 family" if ARM_SINGLE_ARMV7M || ARCH_MULTI_V7 3 3 select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M 4 + select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 5 + select ARM_GIC if ARCH_MULTI_V7 6 + select ARM_PSCI if ARCH_MULTI_V7 4 7 select ARCH_HAS_RESET_CONTROLLER 5 8 select CLKSRC_STM32 6 9 select PINCTRL ··· 37 34 default y 38 35 39 36 endif # ARMv7-M 37 + 38 + if ARCH_MULTI_V7 39 + 40 + config MACH_STM32MP157 41 + bool "STMicroelectronics STM32MP157" 42 + default y 43 + 44 + endif # ARMv7-A 40 45 41 46 endif
+1
arch/arm/mach-stm32/board-dt.c
··· 14 14 "st,stm32f746", 15 15 "st,stm32f769", 16 16 "st,stm32h743", 17 + "st,stm32mp157", 17 18 NULL 18 19 }; 19 20