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:
parent
447e3e6266
commit
3e2765cc0d
3 changed files with 28 additions and 2 deletions
22
dts/arm/st/f1/stm32f105Xb.dtsi
Normal file
22
dts/arm/st/f1/stm32f105Xb.dtsi
Normal 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)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue