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:
Arnaud Pouliquen 2019-02-20 09:09:23 +01:00 committed by Kumar Gala
commit b237245694

View 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>;
};