2019-01-30 13:30:32 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Linaro Limited
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include <arm/armv8-m.dtsi>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "arm,v2m-musca";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
zephyr,console = &uart1;
|
|
|
|
zephyr,sram = &sram0;
|
|
|
|
zephyr,flash = &flash0;
|
|
|
|
zephyr,shell-uart = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-m33";
|
|
|
|
reg = <0>;
|
2018-12-19 02:26:24 +08:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
mpu: mpu@e000ed90 {
|
|
|
|
compatible = "arm,armv8m-mpu";
|
|
|
|
reg = <0xe000ed90 0x40>;
|
|
|
|
arm,num-mpu-regions = <8>;
|
|
|
|
};
|
2019-01-30 13:30:32 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
flash0: flash@30400 {
|
|
|
|
/* QSPI flash */
|
2019-04-22 17:27:50 +08:00
|
|
|
reg = <0x00030400 0x1fcfc00>;
|
2019-01-30 13:30:32 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
sram0: memory@20070000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x20070000 0x10000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
|
|
|
peripheral@40000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x40000000 0x10000000>;
|
|
|
|
|
|
|
|
#include "v2m_musca_b1-common.dtsi"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|