dts: arm: st: Add dts and soc additions for stm32f105xb

Added dts additions for stm32f105xb cpu which is the same as existing
stm32f105xc with less flash.

Signed-off-by: Mathieu Anquetin <mathieu.anquetin@groupe-cahors.com>
This commit is contained in:
Mathieu Anquetin 2023-07-19 15:11:37 +02:00 committed by Fabio Baltieri
commit 3e2765cc0d
3 changed files with 28 additions and 2 deletions

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2023 Groupe Cahors
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/f1/stm32f105.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(64)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(128)>;
};
};
};
};

View file

@ -3,7 +3,7 @@
# Copyright (c) 2019 Argentum Systems Ltd.
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32F105XC
if SOC_STM32F105XC || SOC_STM32F105XB
config SOC
string
@ -13,4 +13,4 @@ config NUM_IRQS
int
default 68
endif # SOC_STM32F105XC
endif # SOC_STM32F105XC || STM32F105XB

View file

@ -26,6 +26,10 @@ config SOC_STM32F103X8
bool "STM32F103X8"
select SOC_STM32F10X_DENSITY_DEVICE
config SOC_STM32F105XB
bool "STM32F105XB"
select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE
config SOC_STM32F105XC
bool "STM32F105XC"
select SOC_STM32F10X_CONNECTIVITY_LINE_DEVICE