1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/dts-v1/;
8
9#include <mem.h>
10#include <arm/nordic/nrf54l15_cpuapp.dtsi>
11#include <../boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l_05_10_15-pinctrl.dtsi>
12
13/ {
14	model = "Nordic NRF54L15 BSIM NRF54L15 Application";
15	compatible = "bsim,nrf54l15-bsim-nrf54l15-cpuapp", "bsim,nrf54";
16
17	chosen {
18		zephyr,entropy = &rng;
19		zephyr,bt-c2h-uart = &uart20;
20		zephyr,flash-controller = &rram_controller;
21		zephyr,flash = &cpuapp_rram;
22	};
23
24	/delete-node/ cpus;
25	/delete-node/ clocks;
26	/delete-node/ sw-pwm;
27
28	soc {
29		/delete-node/ memory@20000000;
30		/delete-node/ memory@2002f000;
31		peripheral@50000000 {
32			/delete-node/ spi@4a000;
33			/delete-node/ vpr@4c000;
34			/delete-node/ mailbox@0;
35			/delete-node/ interrupt-controller@f0000000;
36			/delete-node/ i2c@c6000;
37			/delete-node/ spi@c6000;
38			/delete-node/ i2c@c7000;
39			/delete-node/ spi@c7000;
40			/delete-node/ i2c@c8000;
41			/delete-node/ spi@c8000;
42			/delete-node/ pwm@d2000;
43			/delete-node/ pwm@d3000;
44			/delete-node/ pwm@d4000;
45			/delete-node/ adc@d5000;
46			/delete-node/ nfct@d6000;
47			/delete-node/ i2s@dd000;
48			/delete-node/ qdec@e0000;
49			/delete-node/ qdec@e1000;
50			/delete-node/ i2c@104000;
51			/delete-node/ spi@104000;
52			/delete-node/ watchdog@108000;
53			/delete-node/ watchdog@109000;
54		};
55	};
56
57	rng: rng {
58		status = "okay";
59		compatible = "zephyr,native-posix-rng";
60	};
61
62	psa_rng: psa-rng {
63		status = "disabled";
64	};
65};
66
67&grtc {
68	owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
69	/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */
70	child-owned-channels = <3 4 7 8 9 10 11>;
71	status = "okay";
72};
73
74&cpuapp_rram {
75	partitions {
76		compatible = "fixed-partitions";
77		#address-cells = <1>;
78		#size-cells = <1>;
79		storage_partition: partition@0 {
80			label = "storage";
81			reg = <0x0 DT_SIZE_K(500)>;
82		};
83	};
84};
85
86&uart00 {
87	/delete-property/ clocks;
88};
89
90&uart20 {
91	status = "okay";
92	current-speed = <115200>;
93	pinctrl-0 = <&uart20_default>;
94	pinctrl-1 = <&uart20_sleep>;
95	pinctrl-names = "default", "sleep";
96};
97
98&uart30 {
99	current-speed = <115200>;
100	pinctrl-0 = <&uart30_default>;
101	pinctrl-1 = <&uart30_sleep>;
102	pinctrl-names = "default", "sleep";
103};
104
105&gpio0 {
106	status = "okay";
107};
108
109&gpio1 {
110	status = "okay";
111};
112
113&gpio2 {
114	status = "okay";
115};
116
117&gpiote20 {
118	status = "okay";
119};
120
121&gpiote30 {
122	status = "okay";
123};
124
125&temp {
126	status = "okay";
127};
128
129&radio {
130	status = "okay";
131	/* These features are not yet supported by the RADIO model */
132	/delete-property/ dfe-supported;
133	/delete-property/ cs-supported;
134};
135
136&clock {
137	status = "okay";
138};
139