[PATCH 0/5] ADD STM32F746 MCU and STM32746G-Eval board supports

STALE3592d

4 messages, 1 author, 2016-10-26 · open the first message on its own page

[PATCH 0/5] ADD STM32F746 MCU and STM32746G-Eval board supports

From: Alexandre TORGUE <hidden>
Date: 2016-10-26 15:11:18

This series adds basic support for STM32F746 MCU and stm32746g-eval board.
With it, you can boot stm32746g-eval board successfully.
In this series timer, usart/uart, exti, rng, basic rcc IPs are supported.
Other Ips (Ethernet, dma, ...) will come later.

For your information:

The STMicrolectornics's STM32F746 MCU has the following main features:
 - Cortex-M7 core running up to @216MHz
 - 1MB internal flash, 320KBytes internal RAM (+4KB of backup SRAM)
 - 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 

Regards

Alex

Alexandre TORGUE (5):
  ARM: mach-stm32: Add a new SOC - STM32F746
  ARM: Kconfig: Introduce MACH_STM32F746 flag
  ARM: dts: Add STM32F746 MCU and STM32746g-EVAL board
  ARM: configs: Add new config fragment to change RAM start point
  ARM: configs: Add new config fragment to change RAM size

 Documentation/arm/stm32/overview.txt           |   3 +-
 Documentation/arm/stm32/stm32f746-overview.txt |  34 +++
 arch/arm/Kconfig                               |   5 +
 arch/arm/boot/dts/Makefile                     |   3 +-
 arch/arm/boot/dts/stm32746g-eval.dts           |  96 ++++++++
 arch/arm/boot/dts/stm32f746.dtsi               | 304 +++++++++++++++++++++++++
 arch/arm/configs/dram_0xc0000000.config        |   1 +
 arch/arm/configs/dram_size_0x2000000.config    |   1 +
 arch/arm/mach-stm32/board-dt.c                 |   1 +
 9 files changed, 446 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/arm/stm32/stm32f746-overview.txt
 create mode 100644 arch/arm/boot/dts/stm32746g-eval.dts
 create mode 100644 arch/arm/boot/dts/stm32f746.dtsi
 create mode 100644 arch/arm/configs/dram_0xc0000000.config
 create mode 100644 arch/arm/configs/dram_size_0x2000000.config

-- 
1.9.1

[PATCH 1/5] ARM: mach-stm32: Add a new SOC - STM32F746

From: Alexandre TORGUE <hidden>
Date: 2016-10-26 15:11:19

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Alexandre TORGUE <redacted>
diff --git a/Documentation/arm/stm32/overview.txt b/Documentation/arm/stm32/overview.txt
index 09aed55..a03b035 100644
--- a/Documentation/arm/stm32/overview.txt
+++ b/Documentation/arm/stm32/overview.txt
@@ -5,7 +5,8 @@ Introduction
 ------------
 
   The STMicroelectronics family of Cortex-M based MCUs are supported by the
-  'STM32' platform of ARM Linux. Currently only the STM32F429 is supported.
+  'STM32' platform of ARM Linux. Currently only the STM32F429 (Cortex-M4)
+  and STM32F746 (Cortex-M7) are supported.
 
 
 Configuration
diff --git a/Documentation/arm/stm32/stm32f746-overview.txt b/Documentation/arm/stm32/stm32f746-overview.txt
new file mode 100644
index 0000000..cffd2b1
--- /dev/null
+++ b/Documentation/arm/stm32/stm32f746-overview.txt
@@ -0,0 +1,34 @@
+			STM32F746 Overview
+			==================
+
+  Introduction
+  ------------
+	The STM32F746 is a Cortex-M7 MCU aimed at various applications.
+	It features:
+	- Cortex-M7 core running up to @216MHz
+	- 1MB internal flash, 320KBytes internal RAM (+4KB of backup SRAM)
+	- 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
+
+  Resources
+  ---------
+	Datasheet and reference manual are publicly available on ST website:
+	- http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f7-series/stm32f7x6/stm32f746ng.html
+
+  Document Author
+  ---------------
+	Alexandre Torgue <alexandre.torgue@st.com>
+
+
+
+
+
diff --git a/arch/arm/mach-stm32/board-dt.c b/arch/arm/mach-stm32/board-dt.c
index ceee477..c354222 100644
--- a/arch/arm/mach-stm32/board-dt.c
+++ b/arch/arm/mach-stm32/board-dt.c
@@ -11,6 +11,7 @@
 static const char *const stm32_compat[] __initconst = {
 	"st,stm32f429",
 	"st,stm32f469",
+	"st,stm32f746",
 	NULL
 };
 
-- 
1.9.1

[PATCH 4/5] ARM: configs: Add new config fragment to change RAM start point

From: Alexandre TORGUE <hidden>
Date: 2016-10-26 15:11:22

Signed-off-by: Alexandre TORGUE <redacted>
diff --git a/arch/arm/configs/dram_0xc0000000.config b/arch/arm/configs/dram_0xc0000000.config
new file mode 100644
index 0000000..343d533
--- /dev/null
+++ b/arch/arm/configs/dram_0xc0000000.config
@@ -0,0 +1 @@
+CONFIG_DRAM_BASE=0xc0000000
-- 
1.9.1

[PATCH 5/5] ARM: configs: Add new config fragment to change RAM size

From: Alexandre TORGUE <hidden>
Date: 2016-10-26 15:11:23

Signed-off-by: Alexandre TORGUE <redacted>
diff --git a/arch/arm/configs/dram_size_0x2000000.config b/arch/arm/configs/dram_size_0x2000000.config
new file mode 100644
index 0000000..e66430d
--- /dev/null
+++ b/arch/arm/configs/dram_size_0x2000000.config
@@ -0,0 +1 @@
+CONFIG_DRAM_SIZE=0x002000000
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help