soc: stm32f0: Add support for STM32F098xx SOC
This adds a Kconfig options and device tree configs for the STM32F098 series of SoC. Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
This commit is contained in:
parent
e41bdcd545
commit
53ed9e57a2
3 changed files with 38 additions and 0 deletions
21
dts/arm/st/f0/stm32f098Xc.dtsi
Normal file
21
dts/arm/st/f0/stm32f098Xc.dtsi
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2019 The Chromium OS Authors
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#include <mem.h>
|
||||
#include <st/f0/stm32f091.dtsi>
|
||||
|
||||
/ {
|
||||
sram0: memory@20000000 {
|
||||
reg = <0x20000000 DT_SIZE_K(32)>;
|
||||
};
|
||||
|
||||
soc {
|
||||
flash-controller@40022000 {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_SIZE_K(256)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f098xx
Normal file
14
soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f098xx
Normal file
|
@ -0,0 +1,14 @@
|
|||
# ST Microelectronics STM32F098XX MCU
|
||||
|
||||
# Copyright (c) 2019 The Chromium OS Authors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32F098XX
|
||||
|
||||
config SOC
|
||||
default "stm32f098xx"
|
||||
|
||||
config NUM_IRQS
|
||||
default 31
|
||||
|
||||
endif # SOC_STM32F098xx
|
|
@ -25,4 +25,7 @@ config SOC_STM32F072XB
|
|||
config SOC_STM32F091XC
|
||||
bool "STM32F091XC"
|
||||
|
||||
config SOC_STM32F098XX
|
||||
bool "STM32F098XX"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue