1/*
2 * Copyright (c) 2019 Linaro Limited
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <arm/armv8-m.dtsi>
10
11/ {
12	compatible = "arm,v2m-musca";
13	#address-cells = <1>;
14	#size-cells = <1>;
15
16	aliases {
17		led0 = &green_led;
18		led1 = &blue_led;
19		led2 = &red_led;
20	};
21
22	chosen {
23		zephyr,console = &uart1;
24		zephyr,sram = &sram0;
25		zephyr,flash = &flash0;
26		zephyr,shell-uart = &uart1;
27	};
28
29	leds {
30		compatible = "gpio-leds";
31		red_led: led_0 {
32			gpios = <&gpio 2 0>;
33			label = "User LED1";
34		};
35		green_led: led_1 {
36			gpios = <&gpio 3 0>;
37			label = "User LED2";
38		};
39		blue_led: led_2 {
40			gpios = <&gpio 4 0>;
41			label = "User LED3";
42		};
43	};
44
45	cpus {
46		#address-cells = <1>;
47		#size-cells = <0>;
48
49		cpu@0 {
50			device_type = "cpu";
51			compatible = "arm,cortex-m33";
52			reg = <0>;
53			#address-cells = <1>;
54			#size-cells = <1>;
55
56			mpu: mpu@e000ed90 {
57				compatible = "arm,armv8m-mpu";
58				reg = <0xe000ed90 0x40>;
59				arm,num-mpu-regions = <8>;
60			};
61		};
62	};
63
64	flash0: flash@1a000000 {
65		/* Embedded flash */
66		reg = <0x1a000000 0x200000>;
67	};
68
69	sram0: memory@30000000 {
70		compatible = "mmio-sram";
71		reg = <0x30000000 0x80000>;
72	};
73
74	sysclk: system-clock {
75		compatible = "fixed-clock";
76		clock-frequency = <40000000>;
77		#clock-cells = <0>;
78	};
79
80	scc@5010b000 {
81		compatible = "arm,scc";
82		reg = <0x5010b000 0x1000>;
83	};
84
85	soc {
86		peripheral@50000000 {
87			#address-cells = <1>;
88			#size-cells = <1>;
89			ranges = <0x0 0x50000000 0x10000000>;
90
91			#include "v2m_musca_b1-common.dtsi"
92		};
93	};
94
95};
96
97&nvic {
98	arm,num-irq-priority-bits = <3>;
99};
100