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