Skip to content

Commit 97876b5

Browse files
harristomydkalowsk
authored andcommitted
dts: stm32u5: add memory package variants
Corrects stm32u53/45xx variants and adds u575Xg and u599Xi Signed-off-by: Harris Tomy <[email protected]>
1 parent c1b36d7 commit 97876b5

File tree

6 files changed

+109
-0
lines changed

6 files changed

+109
-0
lines changed

dts/arm/st/u5/stm32u535Xb.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2025 Harris Tomy
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/u5/stm32u535.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
/* SRAM1 + SRAM2 */
13+
reg = <0x20000000 DT_SIZE_K(256)>;
14+
};
15+
16+
sram1: memory@28000000 {
17+
/* SRAM4, low-power background autonomous mode */
18+
reg = <0x28000000 DT_SIZE_K(16)>;
19+
};
20+
21+
soc {
22+
flash-controller@40022000 {
23+
flash0: flash@8000000 {
24+
reg = <0x08000000 DT_SIZE_K(128)>;
25+
};
26+
};
27+
};
28+
};

dts/arm/st/u5/stm32u535Xc.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/*
2+
* Copyright (c) 2025 Harris Tomy
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <st/u5/stm32u535.dtsi>
9+
10+
/ {
11+
sram0: memory@20000000 {
12+
/* SRAM1 + SRAM2 */
13+
reg = <0x20000000 DT_SIZE_K(256)>;
14+
};
15+
16+
sram1: memory@28000000 {
17+
/* SRAM4, low-power background autonomous mode */
18+
reg = <0x28000000 DT_SIZE_K(16)>;
19+
};
20+
21+
soc {
22+
flash-controller@40022000 {
23+
flash0: flash@8000000 {
24+
reg = <0x08000000 DT_SIZE_K(256)>;
25+
};
26+
};
27+
};
28+
};
File renamed without changes.
File renamed without changes.

dts/arm/st/u5/stm32u575Xg.dtsi

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright (c) 2025 Harris Tomy
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include <mem.h>
7+
#include <st/u5/stm32u575.dtsi>
8+
9+
/ {
10+
sram0: memory@20000000 {
11+
/* SRAM1 + SRAM2 + SRAM3 */
12+
reg = <0x20000000 DT_SIZE_K(768)>;
13+
};
14+
15+
sram1: memory@28000000 {
16+
/* SRAM4, low-power background autonomous mode */
17+
reg = <0x28000000 DT_SIZE_K(16)>;
18+
};
19+
20+
soc {
21+
flash-controller@40022000 {
22+
flash0: flash@8000000 {
23+
reg = <0x08000000 DT_SIZE_M(1)>;
24+
};
25+
};
26+
};
27+
};

dts/arm/st/u5/stm32u599Xi.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
* Copyright (c) 2025 Harris Tomy
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
#include <mem.h>
7+
#include <st/u5/stm32u599.dtsi>
8+
9+
/ {
10+
sram0: memory@20000000 {
11+
/* SRAM1 + SRAM2 + SRAM3 + SRAM5 */
12+
reg = <0x20000000 DT_SIZE_K(2496)>;
13+
};
14+
sram1: memory@28000000 {
15+
/* SRAM4 */
16+
reg = <0x28000000 DT_SIZE_K(16)>;
17+
};
18+
19+
soc {
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_M(2)>;
23+
};
24+
};
25+
};
26+
};

0 commit comments

Comments
 (0)