soc: st: add STM32F415RG
This commit adds support for STM32F415RG. Signed-off-by: Kwon Tae-young <tykwon@m2i.co.kr>
This commit is contained in:
parent
f458a50938
commit
a7199b757d
4 changed files with 55 additions and 0 deletions
7
dts/arm/st/f4/stm32f415.dtsi
Normal file
7
dts/arm/st/f4/stm32f415.dtsi
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/f4/stm32f405.dtsi>
|
27
dts/arm/st/f4/stm32f415Rg.dtsi
Normal file
27
dts/arm/st/f4/stm32f415Rg.dtsi
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <st/f4/stm32f415.dtsi>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
ccm0: memory@10000000 {
|
||||||
|
compatible = "st,stm32-ccm";
|
||||||
|
reg = <0x10000000 DT_SIZE_K(64)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sram0: memory@20000000 {
|
||||||
|
reg = <0x20000000 DT_SIZE_K(128)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
soc {
|
||||||
|
flash-controller@40023c00 {
|
||||||
|
flash0: flash@8000000 {
|
||||||
|
reg = <0x08000000 DT_SIZE_K(1024)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
18
soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f415xx
Normal file
18
soc/arm/st_stm32/stm32f4/Kconfig.defconfig.stm32f415xx
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Kconfig - ST STM32F415RG MCU configuration options
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019, Kwon Tae-young <tykwon@m2i.co.kr>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32F415RG
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default "stm32f415xx"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
int
|
||||||
|
default 82
|
||||||
|
|
||||||
|
endif # SOC_STM32F415RG
|
|
@ -30,6 +30,9 @@ config SOC_STM32F412ZG
|
||||||
config SOC_STM32F413XX
|
config SOC_STM32F413XX
|
||||||
bool "STM32F413XX"
|
bool "STM32F413XX"
|
||||||
|
|
||||||
|
config SOC_STM32F415RG
|
||||||
|
bool "STM32F415RG"
|
||||||
|
|
||||||
config SOC_STM32F417XE
|
config SOC_STM32F417XE
|
||||||
bool "STM32F417XE"
|
bool "STM32F417XE"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue