Skip to content

Commit eca5790

Browse files
rriveramcruskartben
authored andcommitted
dts: arm: st: f4: adds stm32f401Xd dtsi
Adds a dtsi file for the STM32F401XD family of devices. These devices are closely related to the STM32F401XE family of devices but with a reduced flash memory from 512kB to 384kB. Signed-off-by: Ricardo Rivera-Matos <[email protected]>
1 parent 2b553ba commit eca5790

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

dts/arm/st/f4/stm32f401Xd.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (c) 2025 Cirrus Logic, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/f4/stm32f401.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(96)>;
13+
};
14+
15+
soc {
16+
flash-controller@40023c00 {
17+
flash0: flash@8000000 {
18+
reg = <0x08000000 DT_SIZE_K(384)>;
19+
};
20+
};
21+
};
22+
};

0 commit comments

Comments
 (0)