2019-07-31 17:30:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <arm/armv8-m.dtsi>
|
2024-01-19 17:10:08 +08:00
|
|
|
#include <nordic/nrf_common.dtsi>
|
2019-07-31 17:30:46 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
2022-05-04 20:25:09 +08:00
|
|
|
cpu0: cpu@0 {
|
2019-07-31 17:30:46 +08:00
|
|
|
device_type = "cpu";
|
|
|
|
compatible = "arm,cortex-m33f";
|
|
|
|
reg = <0>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2022-05-26 00:28:29 +08:00
|
|
|
|
|
|
|
itm: itm@e0000000 {
|
|
|
|
compatible = "arm,armv8m-itm";
|
|
|
|
reg = <0xe0000000 0x1000>;
|
|
|
|
swo-ref-frequency = <64000000>;
|
|
|
|
};
|
2019-07-31 17:30:46 +08:00
|
|
|
|
|
|
|
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 {
|
2021-07-17 04:03:53 +08:00
|
|
|
ficr: ficr@ff0000 {
|
|
|
|
compatible = "nordic,nrf-ficr";
|
|
|
|
reg = <0xff0000 0x1000>;
|
2023-11-21 06:34:32 +08:00
|
|
|
#nordic,ficr-cells = <1>;
|
2021-07-17 04:03:53 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
uicr: uicr@ff8000 {
|
|
|
|
compatible = "nordic,nrf-uicr";
|
|
|
|
reg = <0xff8000 0x1000>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2019-07-31 17:30:46 +08:00
|
|
|
sram0: memory@20000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
};
|
|
|
|
|
|
|
|
peripheral@50000000 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x0 0x50000000 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 Secure peripherals */
|
2021-07-17 04:03:53 +08:00
|
|
|
|
|
|
|
spu: spu@50003000 {
|
|
|
|
compatible = "nordic,nrf-spu";
|
|
|
|
reg = <0x50003000 0x1000>;
|
|
|
|
interrupts = <3 NRF_DEFAULT_IRQ_PRIORITY>;
|
2020-05-21 00:44:19 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2021-05-22 05:37:22 +08:00
|
|
|
/*
|
|
|
|
* GPIOTE0 is always accessible as a secure peripheral,
|
|
|
|
* so we give it the 'gpiote' label for use when building
|
|
|
|
* code for this target.
|
|
|
|
*/
|
|
|
|
gpiote: gpiote0: gpiote@5000d000 {
|
2019-07-31 17:30:46 +08:00
|
|
|
compatible = "nordic,nrf-gpiote";
|
|
|
|
reg = <0x5000d000 0x1000>;
|
|
|
|
interrupts = <13 5>;
|
|
|
|
status = "disabled";
|
2024-01-04 23:06:15 +08:00
|
|
|
instance = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Additional Non-Secure GPIOTE instance */
|
|
|
|
gpiote1: gpiote@4002f000 {
|
|
|
|
compatible = "nordic,nrf-gpiote";
|
|
|
|
reg = <0x4002f000 0x1000>;
|
|
|
|
interrupts = <47 5>;
|
|
|
|
status = "disabled";
|
|
|
|
instance = <1>;
|
2019-07-31 17:30:46 +08:00
|
|
|
};
|
|
|
|
|
2021-07-17 04:03:53 +08:00
|
|
|
cryptocell: crypto@50844000 {
|
2023-09-20 17:33:37 +08:00
|
|
|
compatible = "nordic,cryptocell", "arm,cryptocell-312";
|
|
|
|
reg = <0x50844000 0x1000>, <0x50845000 0x1000>;
|
|
|
|
reg-names = "wrapper", "core";
|
|
|
|
interrupts = <68 NRF_DEFAULT_IRQ_PRIORITY>;
|
|
|
|
status = "disabled";
|
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>;
|
|
|
|
};
|
2024-01-19 17:10:08 +08:00
|
|
|
|
|
|
|
&systick {
|
|
|
|
/* Use RTC for system clock, instead of SysTick. */
|
|
|
|
status = "disabled";
|
|
|
|
};
|