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:
parent
1bad79ceeb
commit
95c7b58330
3 changed files with 39 additions and 0 deletions
22
dts/arm/st/f2/stm32f205Xe.dtsi
Normal file
22
dts/arm/st/f2/stm32f205Xe.dtsi
Normal 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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
14
soc/arm/st_stm32/stm32f2/Kconfig.defconfig.stm32f205xx
Normal file
14
soc/arm/st_stm32/stm32f2/Kconfig.defconfig.stm32f205xx
Normal 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
|
|
@ -10,4 +10,7 @@ choice
|
|||
config SOC_STM32F207XX
|
||||
bool "STM32F207XX"
|
||||
|
||||
config SOC_STM32F205XX
|
||||
bool "STM32F205XX"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue