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 }; 60 }; 61 }; 62 63 flash0: flash@1a000000 { 64 /* Embedded flash */ 65 reg = <0x1a000000 0x200000>; 66 }; 67 68 sram0: memory@30000000 { 69 compatible = "mmio-sram"; 70 reg = <0x30000000 0x80000>; 71 }; 72 73 sysclk: system-clock { 74 compatible = "fixed-clock"; 75 clock-frequency = <40000000>; 76 #clock-cells = <0>; 77 }; 78 79 scc@5010b000 { 80 compatible = "arm,scc"; 81 reg = <0x5010b000 0x1000>; 82 }; 83 84 soc { 85 peripheral@50000000 { 86 #address-cells = <1>; 87 #size-cells = <1>; 88 ranges = <0x0 0x50000000 0x10000000>; 89 90 #include "v2m_musca_b1-common.dtsi" 91 }; 92 }; 93 94}; 95 96&nvic { 97 arm,num-irq-priority-bits = <3>; 98}; 99