1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <arm/armv8-m.dtsi>
8#include <nordic/nrf_common.dtsi>
9#include <zephyr/dt-bindings/adc/nrf-saadc-v2.h>
10
11/ {
12	cpus {
13		#address-cells = <1>;
14		#size-cells = <0>;
15
16		cpu@0 {
17			device_type = "cpu";
18			compatible = "arm,cortex-m33f";
19			reg = <0>;
20			#address-cells = <1>;
21			#size-cells = <1>;
22
23			mpu: mpu@e000ed90 {
24				compatible = "arm,armv8m-mpu";
25				reg = <0xe000ed90 0x40>;
26			};
27		};
28	};
29
30	chosen {
31		zephyr,entropy = &psa_rng;
32		zephyr,flash-controller = &flash_controller;
33	};
34
35	soc {
36		sram0: memory@20000000 {
37			compatible = "mmio-sram";
38		};
39
40		peripheral@40000000 {
41			#address-cells = <1>;
42			#size-cells = <1>;
43			ranges = <0x0 0x40000000 0x10000000>;
44
45			/* Common nRF91 peripherals description. */
46			#include "nrf91_peripherals.dtsi"
47		};
48
49		/*
50		 * GPIOTE1 is always accessible as a non-secure peripheral,
51		 * so we give it the 'gpiote' label for use when building
52		 * code for this target.
53		 */
54		gpiote: gpiote1: gpiote@40031000 {
55			compatible = "nordic,nrf-gpiote";
56			reg = <0x40031000 0x1000>;
57			interrupts = <49 5>;
58			status = "disabled";
59			instance = <1>;
60		};
61	};
62
63	psa_rng: psa-rng {
64		compatible = "zephyr,psa-crypto-rng";
65		status = "okay";
66	};
67};
68
69&nvic {
70	arm,num-irq-priority-bits = <3>;
71};
72
73&systick {
74	/* Use RTC for system clock, instead of SysTick. */
75	status = "disabled";
76};
77