soc: arm: st_stm32: add stm32g474 series
This patch introduces the support of the STM32G474 device from STMicroelectronics. Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
3db3ae5aed
commit
fafd20ca93
4 changed files with 48 additions and 0 deletions
7
dts/arm/st/g4/stm32g474.dtsi
Normal file
7
dts/arm/st/g4/stm32g474.dtsi
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2019 STMicroelectronics.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <st/g4/stm32g431.dtsi>
|
22
dts/arm/st/g4/stm32g474Xe.dtsi
Normal file
22
dts/arm/st/g4/stm32g474Xe.dtsi
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* Copyright (c) 2019 STMicroelectronics.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <mem.h>
|
||||
#include <st/g4/stm32g474.dtsi>
|
||||
|
||||
/ {
|
||||
sram0: memory@20000000 {
|
||||
reg = <0x20000000 DT_SIZE_K(128)>;
|
||||
};
|
||||
|
||||
soc {
|
||||
flash-controller@40022000 {
|
||||
flash0: flash@8000000 {
|
||||
reg = <0x08000000 DT_SIZE_K(512)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
16
soc/arm/st_stm32/stm32g4/Kconfig.defconfig.stm32g474re
Normal file
16
soc/arm/st_stm32/stm32g4/Kconfig.defconfig.stm32g474re
Normal file
|
@ -0,0 +1,16 @@
|
|||
# STMicroelectronics STM32G474RE MCU
|
||||
|
||||
# Copyright (c) 2019 STMicroelectronics.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if SOC_STM32G474XX
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32g474xx"
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 102
|
||||
|
||||
endif # SOC_STM32G474XX
|
|
@ -10,4 +10,7 @@ choice
|
|||
config SOC_STM32G431XX
|
||||
bool "STM32G431XX"
|
||||
|
||||
config SOC_STM32G474XX
|
||||
bool "STM32G474XX"
|
||||
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue