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_cpuapp.dtsi> 11#include <../boards/nordic/nrf5340dk/nrf5340_cpuapp_common-pinctrl.dtsi> 12 13/ { 14 model = "Nordic NRF5340 BSIM NRF5340 Application"; 15 compatible = "bsim,nrf5340-bsim-nrf5340-cpuapp","bsim,nrf53"; 16 17 /* We need to remove aliases to nodes we delete */ 18 aliases { 19 /delete-property/ sram-0; 20 /delete-property/ i2c-0; 21 /delete-property/ spi-0; 22 /delete-property/ i2c-1; 23 /delete-property/ spi-1; 24 /delete-property/ spi-4; 25 /delete-property/ i2c-2; 26 /delete-property/ spi-2; 27 /delete-property/ i2c-3; 28 /delete-property/ spi-3; 29 /delete-property/ wdt-0; 30 /delete-property/ wdt-1; 31 /delete-property/ pwm-0; 32 /delete-property/ pwm-1; 33 /delete-property/ pwm-2; 34 /delete-property/ pwm-3; 35 /delete-property/ pdm-0; 36 /delete-property/ i2s-0; 37 /delete-property/ qdec-0; 38 /delete-property/ qdec-1; 39 }; 40 41 chosen { 42 zephyr,entropy = &rng_hci; 43 zephyr,flash = &flash0; 44 zephyr,bt-hci = &bt_hci_ipc0; 45 nordic,802154-spinel-ipc = &ipc0; 46 zephyr,ieee802154 = &ieee802154; 47 }; 48 49 soc { 50 /delete-node/ memory@20000000; 51 peripheral@50000000 { 52 /delete-node/ dcnf@0; 53 /delete-node/ oscillator@4000; 54 /delete-node/ regulator@4000; 55 /delete-node/ ctrlap@6000; 56 /delete-node/ i2c@8000; 57 /delete-node/ spi@8000; 58 /delete-node/ i2c@9000; 59 /delete-node/ spi@9000; 60 /delete-node/ spi@a000; 61 /delete-node/ i2c@b000; 62 /delete-node/ spi@b000; 63 /delete-node/ i2c@c000; 64 /delete-node/ spi@c000; 65 /delete-node/ adc@e000; 66 /delete-node/ watchdog@18000; 67 /delete-node/ watchdog@19000; 68 /delete-node/ comparator@1a000; 69 /delete-node/ pwm@21000; 70 /delete-node/ pwm@22000; 71 /delete-node/ pwm@23000; 72 /delete-node/ pwm@24000; 73 /delete-node/ pdm@26000; 74 /delete-node/ i2s@28000; 75 /delete-node/ qspi@2b000; 76 /delete-node/ nfct@2d000; 77 /delete-node/ qdec@33000; 78 /delete-node/ qdec@34000; 79 /delete-node/ usbd@36000; 80 /delete-node/ regulator@37000; 81 /delete-node/ kmu@39000; 82 /delete-node/ vmc@81000; 83 }; 84 /delete-node/ spu@50003000; 85 /delete-node/ crypto@50844000; 86 }; 87 88 /delete-node/ cpus; 89 /delete-node/ sw-pwm; 90}; 91 92&ieee802154 { 93 status = "okay"; 94}; 95 96&flash0 { 97 reg = <0x00000000 DT_SIZE_K(1024)>; 98 partitions { 99 compatible = "fixed-partitions"; 100 #address-cells = <1>; 101 #size-cells = <1>; 102 103 storage_partition: partition@0 { 104 label = "storage"; 105 reg = <0x00000000 DT_SIZE_K(1024)>; 106 }; 107 }; 108}; 109 110 111&gpiote { 112 status = "okay"; 113}; 114 115&gpio0 { 116 status = "okay"; 117}; 118 119&gpio1 { 120 status = "okay"; 121}; 122 123&uart0 { 124 status = "okay"; 125 current-speed = <115200>; 126 pinctrl-0 = <&uart0_default>; 127 pinctrl-1 = <&uart0_sleep>; 128 pinctrl-names = "default", "sleep"; 129}; 130 131/* We re-use the IPC shared buffer definition from the real HW. But note the start address of the 132 * buffer won't be used. 133 */ 134 #include <common/nordic/nrf5340_shared_sram_partition.dtsi> 135