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>
|
2019-11-25 21:16:54 +08:00
|
|
|
#include "nrf_common.dtsi"
|
2019-07-31 17:30:46 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
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 {
|
2022-03-29 23:23:19 +08:00
|
|
|
zephyr,entropy = &rng_hci;
|
2020-04-23 02:46:15 +08:00
|
|
|
zephyr,flash-controller = &flash_controller;
|
|
|
|
};
|
|
|
|
|
2019-07-31 17:30:46 +08:00
|
|
|
soc {
|
|
|
|
sram0: memory@20000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
};
|
2022-04-28 23:42:21 +08:00
|
|
|
|
|
|
|
/* Default IPC description */
|
|
|
|
ipc {
|
|
|
|
#include "nrf5340_cpuapp_ipc.dtsi"
|
|
|
|
};
|
2019-07-31 17:30:46 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
&nvic {
|
|
|
|
arm,num-irq-priority-bits = <3>;
|
|
|
|
};
|
2021-05-22 05:37:22 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Include the non-secure peripherals file here since
|
|
|
|
* it expects to be at the root level, adding a 'gpiote' label
|
|
|
|
* for the GPIOTE1 peripheral defined in that file which is
|
|
|
|
* always accessible as a non-secure peripheral.
|
|
|
|
*/
|
|
|
|
#include "nrf5340_cpuapp_peripherals_ns.dtsi"
|
|
|
|
gpiote: &gpiote1 {};
|