Skip to content

Commit c2dc17d

Browse files
erwangogalak
authored andcommitted
dts/arm/st: Provide basis for stm32wb device tree
Base .dtsi files for stm32wb series and stm32wb55 SoC. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 4d0669b commit c2dc17d

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed

dts/arm/st/wb/stm32wb.dtsi

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Copyright (c) 2019 Linaro Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <arm/armv7-m.dtsi>
8+
9+
/ {
10+
cpus {
11+
#address-cells = <1>;
12+
#size-cells = <0>;
13+
14+
cpu@0 {
15+
device_type = "cpu";
16+
compatible = "arm,cortex-m4f";
17+
reg = <0>;
18+
};
19+
};
20+
21+
sram0: memory@20000000 {
22+
device_type = "memory";
23+
compatible = "mmio-sram";
24+
};
25+
26+
soc {
27+
flash-controller@58004000 {
28+
compatible = "st,stm32wb-flash-controller";
29+
label = "FLASH_CTRL";
30+
reg = <0x58004000 0x400>;
31+
interrupts = <4 0>;
32+
33+
#address-cells = <1>;
34+
#size-cells = <1>;
35+
36+
flash0: flash@8000000 {
37+
compatible = "soc-nv-flash";
38+
label = "FLASH_STM32";
39+
};
40+
};
41+
};
42+
};
43+
44+
&nvic {
45+
arm,num-irq-priority-bits = <4>;
46+
};

dts/arm/st/wb/stm32wb55.dtsi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* Copyright (c) 2018 Linaro Limited
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <st/wb/stm32wb.dtsi>

0 commit comments

Comments
 (0)