mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									3ed71f8ad9
								
							
						
					
					
						commit
						f7dcb04475
					
				
					 3 changed files with 31 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								Documentation/arm/stm32/stm32mp157-overview.rst
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								Documentation/arm/stm32/stm32mp157-overview.rst
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					STM32MP157 Overview
 | 
				
			||||||
 | 
					===================
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Introduction
 | 
				
			||||||
 | 
					------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The STM32MP157 is a Cortex-A MPU aimed at various applications.
 | 
				
			||||||
 | 
					It features:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Dual core Cortex-A7 application core
 | 
				
			||||||
 | 
					- 2D/3D image composition with GPU
 | 
				
			||||||
 | 
					- Standard memories interface support
 | 
				
			||||||
 | 
					- Standard connectivity, widely inherited from the STM32 MCU family
 | 
				
			||||||
 | 
					- Comprehensive security support
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					:Authors:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Ludovic Barre <ludovic.barre@st.com>
 | 
				
			||||||
 | 
					- Gerald Baeza <gerald.baeza@st.com>
 | 
				
			||||||
| 
						 | 
					@ -1,6 +1,9 @@
 | 
				
			||||||
menuconfig ARCH_STM32
 | 
					menuconfig ARCH_STM32
 | 
				
			||||||
	bool "STMicroelectronics STM32 family" if ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
 | 
						bool "STMicroelectronics STM32 family" if ARM_SINGLE_ARMV7M || ARCH_MULTI_V7
 | 
				
			||||||
	select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
 | 
						select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M
 | 
				
			||||||
 | 
						select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
 | 
				
			||||||
 | 
						select ARM_GIC if ARCH_MULTI_V7
 | 
				
			||||||
 | 
						select ARM_PSCI if ARCH_MULTI_V7
 | 
				
			||||||
	select ARCH_HAS_RESET_CONTROLLER
 | 
						select ARCH_HAS_RESET_CONTROLLER
 | 
				
			||||||
	select CLKSRC_STM32
 | 
						select CLKSRC_STM32
 | 
				
			||||||
	select PINCTRL
 | 
						select PINCTRL
 | 
				
			||||||
| 
						 | 
					@ -35,4 +38,12 @@ config MACH_STM32H743
 | 
				
			||||||
 | 
					
 | 
				
			||||||
endif # ARMv7-M
 | 
					endif # ARMv7-M
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if ARCH_MULTI_V7
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config MACH_STM32MP157
 | 
				
			||||||
 | 
						bool "STMicroelectronics STM32MP157"
 | 
				
			||||||
 | 
						default y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					endif # ARMv7-A
 | 
				
			||||||
 | 
					
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,6 +14,7 @@ static const char *const stm32_compat[] __initconst = {
 | 
				
			||||||
	"st,stm32f746",
 | 
						"st,stm32f746",
 | 
				
			||||||
	"st,stm32f769",
 | 
						"st,stm32f769",
 | 
				
			||||||
	"st,stm32h743",
 | 
						"st,stm32h743",
 | 
				
			||||||
 | 
						"st,stm32mp157",
 | 
				
			||||||
	NULL
 | 
						NULL
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue