dts: add declaration of stm32mp157
Add the declaration of the ST Microlectronics stm32mp157 soc. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
This commit is contained in:
parent
0429a3ade6
commit
b237245694
1 changed files with 47 additions and 0 deletions
47
dts/arm/st/mp1/stm32mp157.dtsi
Normal file
47
dts/arm/st/mp1/stm32mp157.dtsi
Normal file
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* Copyright (c) 2019 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <mem.h>
|
||||
#include <arm/armv7-m.dtsi>
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "arm,cortex-m4";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
retram: memory0@0 {
|
||||
device_type = "memory";
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00000000 DT_SIZE_K(64)>;
|
||||
};
|
||||
mcusram: memory1@10000000 {
|
||||
device_type = "memory";
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x10000000 DT_SIZE_K(256)>;
|
||||
};
|
||||
|
||||
soc {
|
||||
rcc: rcc@50000000 {
|
||||
compatible = "st,stm32-rcc";
|
||||
clocks-controller;
|
||||
#clocks-cells = <2>;
|
||||
reg = <0x50000000 0x1000>;
|
||||
label = "STM32_CLK_RCC";
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&nvic {
|
||||
arm,num-irq-priority-bits = <4>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue