1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* This file is common to the secure and non-secure domain */
8
9#include <nordic/nrf54l20_enga_cpuapp.dtsi>
10#include "nrf54l20pdk_nrf54l20-common.dtsi"
11
12/ {
13	chosen {
14		zephyr,console = &uart20;
15		zephyr,shell-uart = &uart20;
16		zephyr,uart-mcumgr = &uart20;
17		zephyr,bt-mon-uart = &uart20;
18		zephyr,bt-c2h-uart = &uart20;
19		zephyr,flash-controller = &rram_controller;
20		zephyr,flash = &cpuapp_rram;
21		zephyr,bt-hci = &bt_hci_controller;
22		zephyr,ieee802154 = &ieee802154;
23	};
24};
25
26&cpuapp_sram {
27	status = "okay";
28};
29
30&lfxo {
31	load-capacitors = "internal";
32	load-capacitance-femtofarad = <15500>;
33};
34
35&hfxo {
36	load-capacitors = "internal";
37	load-capacitance-femtofarad = <15000>;
38};
39
40&grtc {
41	owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
42	/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */
43	child-owned-channels = <3 4 7 8 9 10 11>;
44	status = "okay";
45};
46
47&cpuapp_rram {
48	partitions {
49		compatible = "fixed-partitions";
50		#address-cells = <1>;
51		#size-cells = <1>;
52		boot_partition: partition@0 {
53			label = "mcuboot";
54			reg = <0x0 DT_SIZE_K(64)>;
55		};
56		slot0_partition: partition@10000 {
57			label = "image-0";
58			reg = <0x10000 DT_SIZE_K(449)>;
59		};
60		slot0_ns_partition: partition@80400 {
61			label = "image-0-nonsecure";
62			reg = <0x80400 DT_SIZE_K(449)>;
63		};
64		slot1_partition: partition@f0800 {
65			label = "image-1";
66			reg = <0xf0800 DT_SIZE_K(449)>;
67		};
68		slot1_ns_partition: partition@160c00 {
69			label = "image-1-nonsecure";
70			reg = <0x160c00 DT_SIZE_K(449)>;
71		};
72	};
73};
74
75&uart20 {
76	status = "okay";
77};
78
79&gpio0 {
80	status = "okay";
81};
82
83&gpio1 {
84	status = "okay";
85};
86
87&gpio2 {
88	status = "okay";
89};
90
91&gpiote20 {
92	status = "okay";
93};
94
95&gpiote30 {
96	status = "okay";
97};
98
99&radio {
100	status = "okay";
101};
102
103&temp {
104	status = "okay";
105};
106
107&clock {
108	status = "okay";
109};
110
111&bt_hci_controller {
112	status = "okay";
113};
114
115&ieee802154 {
116	status = "okay";
117};
118