Skip to content

Commit

Permalink
Merge tag 'stm32-soc-for-v4.12-1' of git://git.kernel.org/pub/scm/lin…
Browse files Browse the repository at this point in the history
…ux/kernel/git/atorgue/stm32 into next/soc

STM32 SOC updates for v4.12, round 1.

Highlights:
----------
 - Create a dedicated Kconfig for STM32 machine
 - Add support of STM32H743 MCU

* tag 'stm32-soc-for-v4.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
  ARM: stm32: Add a new SOC - STM32H743
  ARM: stm32: Introduce MACH_STM32H743 flag
  ARM: stm32: create dedicated kconfig for STM32 machine

Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Olof Johansson committed Apr 19, 2017
2 parents b69bad7 + c6ed0f3 commit f0008e9
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 22 deletions.
30 changes: 30 additions & 0 deletions Documentation/arm/stm32/stm32h743-overview.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
STM32H743 Overview
==================

Introduction
------------
The STM32H743 is a Cortex-M7 MCU aimed at various applications.
It features:
- Cortex-M7 core running up to @400MHz
- 2MB internal flash, 1MBytes internal RAM
- FMC controller to connect SDRAM, NOR and NAND memories
- Dual mode QSPI
- SD/MMC/SDIO support
- Ethernet controller
- USB OTFG FS & HS controllers
- I2C, SPI, CAN busses support
- Several 16 & 32 bits general purpose timers
- Serial Audio interface
- LCD controller
- HDMI-CEC
- SPDIFRX
- DFSDM

Resources
---------
Datasheet and reference manual are publicly available on ST website:
- http://www.st.com/en/microcontrollers/stm32h7x3.html?querycriteria=productId=LN2033

Document Author
---------------
Alexandre Torgue <alexandre.torgue@st.com>
24 changes: 2 additions & 22 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,8 @@ source "arch/arm/mach-spear/Kconfig"

source "arch/arm/mach-sti/Kconfig"

source "arch/arm/mach-stm32/Kconfig"

source "arch/arm/mach-s3c24xx/Kconfig"

source "arch/arm/mach-s3c64xx/Kconfig"
Expand Down Expand Up @@ -868,28 +870,6 @@ config ARCH_LPC18XX
Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4
high performance microcontrollers.

config ARCH_STM32
bool "STMicrolectronics STM32"
depends on ARM_SINGLE_ARMV7M
select ARCH_HAS_RESET_CONTROLLER
select ARMV7M_SYSTICK
select CLKSRC_STM32
select PINCTRL
select RESET_CONTROLLER
select STM32_EXTI
help
Support for STMicroelectronics STM32 processors.

config MACH_STM32F429
bool "STMicrolectronics STM32F429"
depends on ARCH_STM32
default y

config MACH_STM32F746
bool "STMicrolectronics STM32F746"
depends on ARCH_STM32
default y

config ARCH_MPS2
bool "ARM MPS2 platform"
depends on ARM_SINGLE_ARMV7M
Expand Down
26 changes: 26 additions & 0 deletions arch/arm/mach-stm32/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
config ARCH_STM32
bool "STMicrolectronics STM32"
depends on ARM_SINGLE_ARMV7M
select ARCH_HAS_RESET_CONTROLLER
select ARMV7M_SYSTICK
select CLKSRC_STM32
select PINCTRL
select RESET_CONTROLLER
select STM32_EXTI
help
Support for STMicroelectronics STM32 processors.

config MACH_STM32F429
bool "STMicrolectronics STM32F429"
depends on ARCH_STM32
default y

config MACH_STM32F746
bool "STMicrolectronics STM32F746"
depends on ARCH_STM32
default y

config MACH_STM32H743
bool "STMicrolectronics STM32H743"
depends on ARCH_STM32
default y
1 change: 1 addition & 0 deletions arch/arm/mach-stm32/board-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ static const char *const stm32_compat[] __initconst = {
"st,stm32f429",
"st,stm32f469",
"st,stm32f746",
"st,stm32h743",
NULL
};

Expand Down

0 comments on commit f0008e9

Please sign in to comment.