soc: arm: st: add stm32l4r9xx support
Add support for ST stm32l4r9xx System-on-Chip. See http://www.st.com/en/microcontrollers/stm32l4r9-s9.html for more details. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
c79925bd0f
commit
79c24e3e5e
4 changed files with 65 additions and 0 deletions
9
dts/arm/st/l4/stm32l4r9.dtsi
Normal file
9
dts/arm/st/l4/stm32l4r9.dtsi
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2019 STMicroelectronics
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <st/l4/stm32l4r5.dtsi>
|
||||||
|
|
18
dts/arm/st/l4/stm32l4r9Xi.dtsi
Normal file
18
dts/arm/st/l4/stm32l4r9Xi.dtsi
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2019 STMicroelectronics
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <st/l4/stm32l4r9.dtsi>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
soc {
|
||||||
|
flash-controller@40022000 {
|
||||||
|
flash0: flash@8000000 {
|
||||||
|
reg = <0x08000000 DT_SIZE_K(2048)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
34
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx
Normal file
34
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l4r9xx
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Kconfig - ST Microelectronics STM32L4R9xx MCU
|
||||||
|
#
|
||||||
|
# Copyright (c) 2019 STMicroelectronics
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32L4R9XX
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default "stm32l4r9xx"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
int
|
||||||
|
default 95
|
||||||
|
|
||||||
|
if GPIO_STM32
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTD
|
||||||
|
default y
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTE
|
||||||
|
default y
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTF
|
||||||
|
default y
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTG
|
||||||
|
default y
|
||||||
|
|
||||||
|
endif # GPIO_STM32
|
||||||
|
|
||||||
|
endif # SOC_STM32L4R9XX
|
|
@ -3,6 +3,7 @@
|
||||||
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
# Copyright (c) 2016 Open-RnD Sp. z o.o.
|
||||||
# Copyright (c) 2016 BayLibre, SAS
|
# Copyright (c) 2016 BayLibre, SAS
|
||||||
# Copyright (c) 2019 Centaur Analytics, Inc
|
# Copyright (c) 2019 Centaur Analytics, Inc
|
||||||
|
# Copyright (c) 2019 STMicroelectronics
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
@ -32,6 +33,9 @@ config SOC_STM32L475XX
|
||||||
config SOC_STM32L4R5XX
|
config SOC_STM32L4R5XX
|
||||||
bool "STM32L4R5XX"
|
bool "STM32L4R5XX"
|
||||||
|
|
||||||
|
config SOC_STM32L4R9XX
|
||||||
|
bool "STM32L4R9XX"
|
||||||
|
|
||||||
config SOC_STM32L471XX
|
config SOC_STM32L471XX
|
||||||
bool "STM32L471XX"
|
bool "STM32L471XX"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue