1/* 2 * Copyright (c) 2020 Linaro Limited. 3 * Copyright (c) 2023 Nordic Semiconductor ASA 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8/dts-v1/; 9 10#include <mem.h> 11#include <arm/nordic/nrf52833.dtsi> 12 13/ { 14 model = "nrf52 bsim"; 15 compatible = "bsim,nrf52833"; 16 17 /* We need to remove aliases to nodes we delete */ 18 aliases { 19 /delete-property/ i2c-0; 20 /delete-property/ i2c-1; 21 /delete-property/ spi-0; 22 /delete-property/ spi-1; 23 /delete-property/ spi-2; 24 /delete-property/ spi-3; 25 /delete-property/ uart-0; 26 /delete-property/ uart-1; 27 /delete-property/ adc-0; 28 /delete-property/ wdt-0; 29 /delete-property/ pwm-0; 30 /delete-property/ pwm-1; 31 /delete-property/ pwm-2; 32 /delete-property/ pwm-3; 33 /delete-property/ qdec-0; 34 }; 35 36 chosen { 37 zephyr,ieee802154 = &ieee802154; 38 zephyr,flash = &flash0; 39 }; 40 41 soc { 42 /delete-node/ memory@20000000; 43 /delete-node/ adc@40007000; 44 /delete-node/ uart@40002000; 45 /delete-node/ uart@40028000; 46 /delete-node/ i2c@40003000; 47 /delete-node/ i2c@40004000; 48 /delete-node/ pwm@4001c000; 49 /delete-node/ pwm@40021000; 50 /delete-node/ pwm@40022000; 51 /delete-node/ pwm@4002d000; 52 /delete-node/ qdec@40012000; 53 /delete-node/ spi@40003000; 54 /delete-node/ spi@40004000; 55 /delete-node/ spi@40023000; 56 /delete-node/ spi@4002f000; 57 /delete-node/ watchdog@40010000; 58 /delete-node/ acl@4001e000; 59 /delete-node/ usbd@40027000; 60 }; 61 62 /delete-node/ sw-pwm; 63}; 64 65&radio { 66 /* These features are not yet supported by the RADIO model */ 67 /delete-property/ dfe-supported; 68 /delete-property/ ble-coded-phy-supported; 69}; 70 71&gpiote { 72 status = "okay"; 73}; 74 75&gpio0 { 76 status = "okay"; 77}; 78 79&gpio1 { 80 status = "okay"; 81}; 82 83&ieee802154 { 84 status = "okay"; 85}; 86 87&flash0 { 88 reg = <0x00000000 DT_SIZE_K(512)>; 89 partitions { 90 compatible = "fixed-partitions"; 91 #address-cells = <1>; 92 #size-cells = <1>; 93 94 storage_partition: partition@0 { 95 label = "storage"; 96 reg = <0x00000000 DT_SIZE_K(512)>; 97 }; 98 }; 99}; 100