Skip to content

Commit 020a0a2

Browse files
mshinjoalexapostolu
authored andcommitted
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>
1 parent e4de570 commit 020a0a2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

dts/arm/st/l4/stm32l431Xb.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Mirai SHINJO
3+
* Copyright (c) 2025 Alexander Apostolu
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
#include <mem.h>
9+
#include <st/l4/stm32l431.dtsi>
10+
11+
/ {
12+
sram0: memory@20000000 {
13+
reg = <0x20000000 DT_SIZE_K(64)>;
14+
};
15+
16+
soc {
17+
flash-controller@40022000 {
18+
flash0: flash@8000000 {
19+
reg = <0x08000000 DT_SIZE_K(128)>;
20+
};
21+
};
22+
};
23+
};

0 commit comments

Comments
 (0)