File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2019 Linaro Limited
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #include <arm/armv7-m.dtsi>
8+
9+ / {
10+ cpus {
11+ #address-cells = <1>;
12+ #size-cells = <0>;
13+
14+ cpu@0 {
15+ device_type = "cpu";
16+ compatible = "arm,cortex-m4f";
17+ reg = <0>;
18+ };
19+ };
20+
21+ sram0: memory@20000000 {
22+ device_type = "memory";
23+ compatible = "mmio-sram";
24+ };
25+
26+ soc {
27+ flash-controller@58004000 {
28+ compatible = "st,stm32wb-flash-controller";
29+ label = "FLASH_CTRL";
30+ reg = <0x58004000 0x400>;
31+ interrupts = <4 0>;
32+
33+ #address-cells = <1>;
34+ #size-cells = <1>;
35+
36+ flash0: flash@8000000 {
37+ compatible = "soc-nv-flash";
38+ label = "FLASH_STM32";
39+ };
40+ };
41+ };
42+ };
43+
44+ &nvic {
45+ arm,num-irq-priority-bits = <4>;
46+ };
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2018 Linaro Limited
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ #include <st/wb/stm32wb.dtsi>
You can’t perform that action at this time.
0 commit comments