Skip to content

Commit b237245

Browse files
arnopogalak
authored andcommitted
dts: add declaration of stm32mp157
Add the declaration of the ST Microlectronics stm32mp157 soc. Signed-off-by: Arnaud Pouliquen <[email protected]>
1 parent 0429a3a commit b237245

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

dts/arm/st/mp1/stm32mp157.dtsi

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/*
2+
* Copyright (c) 2019 STMicroelectronics
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
#include <mem.h>
8+
#include <arm/armv7-m.dtsi>
9+
10+
/ {
11+
cpus {
12+
#address-cells = <1>;
13+
#size-cells = <0>;
14+
15+
cpu@0 {
16+
device_type = "cpu";
17+
compatible = "arm,cortex-m4";
18+
reg = <0>;
19+
};
20+
};
21+
22+
retram: memory0@0 {
23+
device_type = "memory";
24+
compatible = "mmio-sram";
25+
reg = <0x00000000 DT_SIZE_K(64)>;
26+
};
27+
mcusram: memory1@10000000 {
28+
device_type = "memory";
29+
compatible = "mmio-sram";
30+
reg = <0x10000000 DT_SIZE_K(256)>;
31+
};
32+
33+
soc {
34+
rcc: rcc@50000000 {
35+
compatible = "st,stm32-rcc";
36+
clocks-controller;
37+
#clocks-cells = <2>;
38+
reg = <0x50000000 0x1000>;
39+
label = "STM32_CLK_RCC";
40+
};
41+
42+
};
43+
};
44+
45+
&nvic {
46+
arm,num-irq-priority-bits = <4>;
47+
};

0 commit comments

Comments
 (0)