soc: arm: st_stm32: add support for STM32L462xE
Add support for the STM32L462xE SoC (AES not yet supported). Signed-off-by: Giancarlo Stasi <giancarlo.stasi.co@gmail.com>
This commit is contained in:
parent
e68cec3614
commit
2f3c3a65fd
4 changed files with 56 additions and 0 deletions
7
dts/arm/st/l4/stm32l462.dtsi
Normal file
7
dts/arm/st/l4/stm32l462.dtsi
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020 Giancarlo Stasi
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/l4/stm32l452.dtsi>
|
22
dts/arm/st/l4/stm32l462Xe.dtsi
Normal file
22
dts/arm/st/l4/stm32l462Xe.dtsi
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2020 Giancarlo Stasi
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <mem.h>
|
||||||
|
#include <st/l4/stm32l462.dtsi>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
sram0: memory@20000000 {
|
||||||
|
reg = <0x20000000 DT_SIZE_K(160)>;
|
||||||
|
};
|
||||||
|
|
||||||
|
soc {
|
||||||
|
flash-controller@40022000 {
|
||||||
|
flash0: flash@8000000 {
|
||||||
|
reg = <0x08000000 DT_SIZE_K(512)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
24
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l462xx
Normal file
24
soc/arm/st_stm32/stm32l4/Kconfig.defconfig.stm32l462xx
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# ST Microelectronics STM32L462XX MCU
|
||||||
|
|
||||||
|
# Copyright (c) 2020 Giancarlo Stasi
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
if SOC_STM32L462XX
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
default "stm32l462xx"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
default 85
|
||||||
|
|
||||||
|
if GPIO_STM32
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTD
|
||||||
|
default y
|
||||||
|
|
||||||
|
config GPIO_STM32_PORTE
|
||||||
|
default y
|
||||||
|
|
||||||
|
endif # GPIO_STM32
|
||||||
|
|
||||||
|
endif # SOC_STM32L462XX
|
|
@ -25,6 +25,9 @@ config SOC_STM32L433XX
|
||||||
config SOC_STM32L452XX
|
config SOC_STM32L452XX
|
||||||
bool "STM32L452XX"
|
bool "STM32L452XX"
|
||||||
|
|
||||||
|
config SOC_STM32L462XX
|
||||||
|
bool "STM32L462XX"
|
||||||
|
|
||||||
config SOC_STM32L475XX
|
config SOC_STM32L475XX
|
||||||
bool "STM32L475XX"
|
bool "STM32L475XX"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue