diff --git a/dts/arm/st/f1/stm32f103Xd.dtsi b/dts/arm/st/f1/stm32f103Xd.dtsi new file mode 100644 index 0000000000..2c3935473e --- /dev/null +++ b/dts/arm/st/f1/stm32f103Xd.dtsi @@ -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 +#include + +/ { + 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 = ; + }; + }; + }; +}; diff --git a/dts/arm/st/f1/stm32f103Xe.dtsi b/dts/arm/st/f1/stm32f103Xe.dtsi index 6810dc7ae7..18c0dcc83f 100644 --- a/dts/arm/st/f1/stm32f103Xe.dtsi +++ b/dts/arm/st/f1/stm32f103Xe.dtsi @@ -8,13 +8,9 @@ */ #include -#include +#include / { - sram0: memory@20000000 { - reg = <0x20000000 DT_SIZE_K(64)>; - }; - soc { flash-controller@40022000 { flash0: flash@8000000 {