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 12/ { 13 model = "Nordic NRF5340 BSIM NRF5340 Application"; 14 compatible = "bsim,nrf5340-bsim-nrf5340-cpuapp","bsim,nrf53"; 15 16 /* We need to remove aliases to nodes we delete */ 17 aliases { 18 /delete-property/ sram-0; 19 /delete-property/ i2c-0; 20 /delete-property/ spi-0; 21 /delete-property/ uart-0; 22 /delete-property/ i2c-1; 23 /delete-property/ spi-1; 24 /delete-property/ uart-1; 25 /delete-property/ spi-4; 26 /delete-property/ i2c-2; 27 /delete-property/ spi-2; 28 /delete-property/ uart-2; 29 /delete-property/ i2c-3; 30 /delete-property/ spi-3; 31 /delete-property/ uart-3; 32 /delete-property/ wdt-0; 33 /delete-property/ wdt-1; 34 /delete-property/ pwm-0; 35 /delete-property/ pwm-1; 36 /delete-property/ pwm-2; 37 /delete-property/ pwm-3; 38 /delete-property/ pdm-0; 39 /delete-property/ i2s-0; 40 /delete-property/ qdec-0; 41 /delete-property/ qdec-1; 42 /delete-property/ gpio-0; 43 /delete-property/ gpio-1; 44 /delete-property/ gpiote-0; 45 }; 46 47 chosen { 48 zephyr,flash = &flash0; 49 }; 50 51 soc { 52 /delete-node/ memory@20000000; 53 peripheral@50000000 { 54 /delete-node/ dcnf@0; 55 /delete-node/ oscillator@4000; 56 /delete-node/ regulator@4000; 57 /delete-node/ ctrlap@6000; 58 /delete-node/ i2c@8000; 59 /delete-node/ spi@8000; 60 /delete-node/ uart@8000; 61 /delete-node/ i2c@9000; 62 /delete-node/ spi@9000; 63 /delete-node/ uart@9000; 64 /delete-node/ spi@a000; 65 /delete-node/ i2c@b000; 66 /delete-node/ spi@b000; 67 /delete-node/ uart@b000; 68 /delete-node/ i2c@c000; 69 /delete-node/ spi@c000; 70 /delete-node/ uart@c000; 71 /delete-node/ adc@e000; 72 /delete-node/ watchdog@18000; 73 /delete-node/ watchdog@19000; 74 /delete-node/ comparator@1a000; 75 /delete-node/ pwm@21000; 76 /delete-node/ pwm@22000; 77 /delete-node/ pwm@23000; 78 /delete-node/ pwm@24000; 79 /delete-node/ pdm@26000; 80 /delete-node/ i2s@28000; 81 /delete-node/ mbox@2a000; 82 /delete-node/ qspi@2b000; 83 /delete-node/ nfct@2d000; 84 /delete-node/ mutex@30000; 85 /delete-node/ qdec@33000; 86 /delete-node/ qdec@34000; 87 /delete-node/ usbd@36000; 88 /delete-node/ regulator@37000; 89 /delete-node/ kmu@39000; 90 /delete-node/ vmc@81000; 91 /delete-node/ gpio@842500; 92 /delete-node/ gpio@842800; 93 }; 94 /delete-node/ spu@50003000; 95 /delete-node/ gpiote@5000d000; 96 /delete-node/ crypto@50844000; 97 }; 98 99 /delete-node/ cpus; 100 /delete-node/ ipc; 101 /delete-node/ sw-pwm; 102}; 103 104&ieee802154 { 105 status = "okay"; 106}; 107 108&flash0 { 109 reg = <0x00000000 DT_SIZE_K(1024)>; 110 partitions { 111 compatible = "fixed-partitions"; 112 #address-cells = <1>; 113 #size-cells = <1>; 114 115 storage_partition: partition@0 { 116 label = "storage"; 117 reg = <0x00000000 DT_SIZE_K(1024)>; 118 }; 119 }; 120}; 121