2019-07-31 17:30:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* .dtsi header for nRF5340 CPUAPP (Application MCU), Non-Secure domain */
|
|
|
|
|
|
|
|
#include <arm/armv8-m.dtsi>
|
|
|
|
#include <dt-bindings/i2c/i2c.h>
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-m33f";
|
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
mpu: mpu@e000ed90 {
|
|
|
|
compatible = "arm,armv8m-mpu";
|
|
|
|
reg = <0xe000ed90 0x40>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-04-23 02:46:15 +08:00
|
|
|
chosen {
|
|
|
|
zephyr,flash-controller = &flash_controller;
|
|
|
|
};
|
|
|
|
|
2019-07-31 17:30:46 +08:00
|
|
|
soc {
|
|
|
|
sram0: memory@20000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
2020-11-16 21:24:00 +08:00
|
|
|
sram1: memory@21000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
2019-07-31 17:30:46 +08:00
|
|
|
peripheral@40000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x40000000 0x10000000>;
|
|
|
|
|
|
|
|
/* Common nRF5340 Application MCU
|
|
|
|
* peripheral description
|
|
|
|
*/
|
2020-06-11 00:46:59 +08:00
|
|
|
#include "nrf5340_cpuapp_peripherals.dtsi"
|
2019-07-31 17:30:46 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Additional Non-Secure peripherals */
|
|
|
|
gpiote: gpiote@4002f000 {
|
|
|
|
compatible = "nordic,nrf-gpiote";
|
|
|
|
reg = <0x4002f000 0x1000>;
|
|
|
|
interrupts = <47 5>;
|
|
|
|
status = "disabled";
|
|
|
|
label = "GPIOTE_1";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|
2020-09-09 01:51:54 +08:00
|
|
|
|
|
|
|
&systick {
|
|
|
|
status = "disabled";
|
|
|
|
};
|