dts: arm: st: l4: add support for STM32L431XB SoC

This patch adds support for the STM32L431XB SoC, which is the
128 KB flash / 64 KB SRAM variant of the STM32L4X1 SoC family.

Co-authored-by: Alexander Apostolu <apostolu240@gmail.com>
Signed-off-by: Alexander Apostolu <apostolu240@gmail.com>
Signed-off-by: Mirai SHINJO <oss@mshinjo.com>
This commit is contained in:
Mirai SHINJO 2025-05-03 18:05:17 -04:00 committed by Benjamin Cabé
commit 020a0a2215

View file

@ -0,0 +1,23 @@
/*
* Copyright (c) 2025 Mirai SHINJO
* Copyright (c) 2025 Alexander Apostolu
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <mem.h>
#include <st/l4/stm32l431.dtsi>
/ {
sram0: memory@20000000 {
reg = <0x20000000 DT_SIZE_K(64)>;
};
soc {
flash-controller@40022000 {
flash0: flash@8000000 {
reg = <0x08000000 DT_SIZE_K(128)>;
};
};
};
};