dts: arm: st: add support for STM32F205xx SOC

STM32F205xx device tree include files added.
Tested properly in a custom board.

Signed-off-by: Manuel Forcén Muñoz <manuforcen@gmail.com>
This commit is contained in:
Manuel Forcén Muñoz 2021-02-09 19:50:00 +01:00 committed by Anas Nashif
commit 95c7b58330
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2021 Manuel Forcen <manuforcen@gmail.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/f2/stm32f2.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(128)>;
};
soc {
flash-controller@40023c00 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(512)>;
};
};
};
};

View file

@ -0,0 +1,14 @@
# ST Microelectronics stm32f205 MCU
# Copyright (c) 2021 Manuel Forcen <manuforcen@gmail.com
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F205XX
config SOC
default "STM32F205xx"
config NUM_IRQS
default 81
endif

View file

@ -10,4 +10,7 @@ choice
config SOC_STM32F207XX config SOC_STM32F207XX
bool "STM32F207XX" bool "STM32F207XX"
config SOC_STM32F205XX
bool "STM32F205XX"
endchoice endchoice