File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 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+ };
You can’t perform that action at this time.
0 commit comments