Skip to content
Permalink
Browse files

dts: add declaration of stm32mp157

Add the declaration of the ST Microlectronics
stm32mp157 soc.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
  • Loading branch information...
arnop2 authored and galak committed Feb 20, 2019
1 parent 0429a3a commit b2372456941d6cf141b9a6fc26302381ca31e580
Showing with 47 additions and 0 deletions.
  1. +47 −0 dts/arm/st/mp1/stm32mp157.dtsi
@@ -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>;
};

0 comments on commit b237245

Please sign in to comment.
You can’t perform that action at this time.