Skip to content

Commit af7a690

Browse files
djiatsaf-stfabiobaltieri
authored andcommitted
dts: arm: st: u0: add stm32u073 dtsi files
provide support for the STM32U073 series Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
1 parent 7c698d4 commit af7a690

File tree

5 files changed

+102
-1
lines changed

5 files changed

+102
-1
lines changed

dts/arm/st/u0/stm32u073.dtsi

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2024 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <st/u0/stm32u031.dtsi>
8+
9+
/ {
10+
soc {
11+
compatible = "st,stm32u073", "st,stm32u0", "simple-bus";
12+
};
13+
14+
sram1: memory@20000000 {
15+
compatible = "zephyr,memory-region", "mmio-sram";
16+
zephyr,memory-region = "SRAM1";
17+
};
18+
19+
sram2: memory@20008000 {
20+
compatible = "zephyr,memory-region", "mmio-sram";
21+
zephyr,memory-region = "SRAM2";
22+
};
23+
};

dts/arm/st/u0/stm32u073X8.dtsi

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
/*
3+
* Copyright (c) 2024 STMicroelectronics
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
#include <mem.h>
8+
#include <st/u0/stm32u073.dtsi>
9+
10+
/ {
11+
sram1: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(32)>;
13+
};
14+
15+
sram2: memory@20008000 {
16+
reg = <0x20008000 DT_SIZE_K(8)>;
17+
};
18+
19+
soc {
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(64)>;
23+
};
24+
};
25+
};
26+
};

dts/arm/st/u0/stm32u073Xb.dtsi

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
/*
3+
* Copyright (c) 2024 STMicroelectronics
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
#include <mem.h>
8+
#include <st/u0/stm32u073.dtsi>
9+
10+
/ {
11+
sram1: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(32)>;
13+
};
14+
15+
sram2: memory@20008000 {
16+
reg = <0x20008000 DT_SIZE_K(8)>;
17+
};
18+
19+
soc {
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(128)>;
23+
};
24+
};
25+
};
26+
};

dts/arm/st/u0/stm32u073Xc.dtsi

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
/*
3+
* Copyright (c) 2024 STMicroelectronics
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
#include <mem.h>
8+
#include <st/u0/stm32u073.dtsi>
9+
10+
/ {
11+
sram1: memory@20000000 {
12+
reg = <0x20000000 DT_SIZE_K(32)>;
13+
};
14+
15+
sram2: memory@20008000 {
16+
reg = <0x20008000 DT_SIZE_K(8)>;
17+
};
18+
19+
soc {
20+
flash-controller@40022000 {
21+
flash0: flash@8000000 {
22+
reg = <0x08000000 DT_SIZE_K(256)>;
23+
};
24+
};
25+
};
26+
};

dts/arm/st/u0/stm32u083.dtsi

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <st/u0/stm32u031.dtsi>
7+
#include <st/u0/stm32u073.dtsi>
88

99
/ {
1010
soc {

0 commit comments

Comments
 (0)