1/*
2 * Copyright (c) 2023 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/nrf5340_cpunet.dtsi>
11
12/ {
13	model = "Nordic NRF5340 BSIM NRF5340 Network";
14	compatible = "bsim,nrf5340-bsim-nrf5340-cpunet","bsim,nrf53";
15
16	/* We need to remove aliases to nodes we delete */
17	aliases {
18		/delete-property/ sram-0;
19		/delete-property/ sram-1;
20		/delete-property/ gpiote-0;
21		/delete-property/ wdt-0;
22		/delete-property/ i2c-0;
23		/delete-property/ spi-0;
24		/delete-property/ uart-0;
25		/delete-property/ gpio-0;
26		/delete-property/ gpio-1;
27	};
28
29	chosen {
30		zephyr,ieee802154 = &ieee802154;
31		/delete-property/ zephyr,flash-controller;
32		zephyr,flash = &flash1;
33	};
34
35	soc {
36		/delete-node/ memory@20000000;
37		/delete-node/ memory@21000000;
38		/delete-node/ gpiote@4100a000;
39		/delete-node/ watchdog@4100b000;
40		/delete-node/ mbox@41012000;
41		/delete-node/ i2c@41013000;
42		/delete-node/ spi@41013000;
43		/delete-node/ uart@41013000;
44		/delete-node/ acl@41080000;
45		/delete-node/ vmc@41081000;
46		/delete-node/ gpio@418c0500;
47		/delete-node/ gpio@418c0800;
48	};
49
50	/delete-node/ cpus;
51	/delete-node/ ipc;
52	/delete-node/ sw-pwm;
53};
54
55&radio {
56	/* These features are not yet supported by the RADIO model */
57	/delete-property/ dfe-supported;
58	/delete-property/ ble-coded-phy-supported;
59};
60
61&ieee802154 {
62	status = "okay";
63};
64
65&flash1 {
66	reg = <0x01000000 DT_SIZE_K(256)>;
67	partitions {
68		compatible = "fixed-partitions";
69		#address-cells = <1>;
70		#size-cells = <1>;
71
72		storage_partition: partition@0 {
73			label = "storage";
74			reg = <0x00000000 DT_SIZE_K(256)>;
75		};
76	};
77};
78