dts: added stm32f103Xd.dts file

This commit adds stm32f103xd series dts file that was missing.

Also, changed stm32f103xe.dts for highlighting the differences between
f103xd and f103xe series.

Signed-off-by: Deimantas Aukštkalnis <deimantas.aukstkalnis@teltonika.lt>
This commit is contained in:
Deimantas Aukštkalnis 2021-08-20 10:48:33 +03:00 committed by Christopher Friedt
parent fe1b167760
commit 17238ab26b
2 changed files with 27 additions and 5 deletions

View file

@ -0,0 +1,26 @@
/*
* Copyright (c) 2021 Teltonika
*
* SoC device tree include for STM32F103xD SoCs
* where 'x' is replaced for specific SoCs like {R,V,Z}
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/f1/stm32f103Xc.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(64)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(384)>;
erase-block-size = <DT_SIZE_K(2)>;
};
};
};
};

View file

@ -8,13 +8,9 @@
*/
#include <mem.h>
#include <st/f1/stm32f103Xc.dtsi>
#include <st/f1/stm32f103Xd.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(64)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {