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#include <../boards/nordic/nrf5340dk/nrf5340dk_nrf5340_cpunet-pinctrl.dtsi> 12 13/ { 14 model = "Nordic NRF5340 BSIM NRF5340 Network"; 15 compatible = "bsim,nrf5340-bsim-nrf5340-cpunet","bsim,nrf53"; 16 17 /* We need to remove aliases to nodes we delete */ 18 aliases { 19 /delete-property/ sram-0; 20 /delete-property/ sram-1; 21 /delete-property/ wdt-0; 22 /delete-property/ i2c-0; 23 /delete-property/ spi-0; 24 }; 25 26 chosen { 27 zephyr,console = &uart0; 28 zephyr,bt-hci-ipc = &ipc0; 29 nordic,802154-spinel-ipc = &ipc0; 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/ watchdog@4100b000; 39 /delete-node/ i2c@41013000; 40 /delete-node/ spi@41013000; 41 /delete-node/ acl@41080000; 42 /delete-node/ vmc@41081000; 43 }; 44 45 /delete-node/ cpus; 46 /delete-node/ sw-pwm; 47}; 48 49&radio { 50 /* These features are not yet supported by the RADIO model */ 51 /delete-property/ dfe-supported; 52}; 53 54&ieee802154 { 55 status = "okay"; 56}; 57 58&flash1 { 59 reg = <0x01000000 DT_SIZE_K(256)>; 60 partitions { 61 compatible = "fixed-partitions"; 62 #address-cells = <1>; 63 #size-cells = <1>; 64 65 storage_partition: partition@0 { 66 label = "storage"; 67 reg = <0x00000000 DT_SIZE_K(256)>; 68 }; 69 }; 70}; 71 72&gpiote { 73 status = "okay"; 74}; 75 76&gpio0 { 77 status = "okay"; 78}; 79 80&gpio1 { 81 status = "okay"; 82}; 83 84&uart0 { 85 status = "okay"; 86 current-speed = <115200>; 87 pinctrl-0 = <&uart0_default>; 88 pinctrl-1 = <&uart0_sleep>; 89 pinctrl-names = "default", "sleep"; 90}; 91 92/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the 93 * buffer won't be used. 94 */ 95 #include <common/nordic/nrf5340_shared_sram_partition.dtsi> 96