1/* 2 * Copyright (c) 2020 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/dts-v1/; 8#include <nordic/nrf5340_cpunet_qkaa.dtsi> 9#include "nrf5340dk_common.dtsi" 10#include "nrf5340dk_nrf5340_cpunet-pinctrl.dtsi" 11#include <zephyr/dt-bindings/input/input-event-codes.h> 12 13/ { 14 model = "Nordic NRF5340 DK NRF5340 Network"; 15 compatible = "nordic,nrf5340-dk-nrf5340-cpunet"; 16 17 chosen { 18 zephyr,console = &uart0; 19 zephyr,shell-uart = &uart0; 20 zephyr,uart-mcumgr = &uart0; 21 zephyr,bt-mon-uart = &uart0; 22 zephyr,bt-c2h-uart = &uart0; 23 zephyr,bt-hci-ipc = &ipc0; 24 nordic,802154-spinel-ipc = &ipc0; 25 zephyr,sram = &sram1; 26 zephyr,flash = &flash1; 27 zephyr,code-partition = &slot0_partition; 28 zephyr,ieee802154 = &ieee802154; 29 }; 30 31 /* These aliases are provided for compatibility with samples */ 32 aliases { 33 watchdog0 = &wdt0; 34 }; 35}; 36 37&gpiote { 38 status = "okay"; 39}; 40 41&gpio0 { 42 status = "okay"; 43}; 44 45&gpio1 { 46 status = "okay"; 47}; 48 49&uart0 { 50 status = "okay"; 51 current-speed = <115200>; 52 pinctrl-0 = <&uart0_default>; 53 pinctrl-1 = <&uart0_sleep>; 54 pinctrl-names = "default", "sleep"; 55}; 56 57arduino_serial: &uart0{}; 58 59arduino_i2c: &i2c0 { 60 compatible = "nordic,nrf-twim"; 61 /* Cannot be used together with uart0. */ 62 /* status = "okay"; */ 63 pinctrl-0 = <&i2c0_default>; 64 pinctrl-1 = <&i2c0_sleep>; 65 pinctrl-names = "default", "sleep"; 66}; 67 68arduino_spi: &spi0 { 69 compatible = "nordic,nrf-spim"; 70 /* Cannot be used together with uart0. */ 71 /* status = "okay"; */ 72 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */ 73 pinctrl-0 = <&spi0_default>; 74 pinctrl-1 = <&spi0_sleep>; 75 pinctrl-names = "default", "sleep"; 76}; 77 78&flash1 { 79 80 partitions { 81 compatible = "fixed-partitions"; 82 #address-cells = <1>; 83 #size-cells = <1>; 84 85 boot_partition: partition@0 { 86 label = "mcuboot"; 87 reg = <0x00000000 0xc000>; 88 }; 89 slot0_partition: partition@c000 { 90 label = "image-0"; 91 reg = <0x0000C000 0x17000>; 92 }; 93 slot1_partition: partition@23000 { 94 label = "image-1"; 95 reg = <0x00023000 0x17000>; 96 }; 97 storage_partition: partition@3a000 { 98 label = "storage"; 99 reg = <0x0003a000 0x6000>; 100 }; 101 }; 102}; 103 104&ieee802154 { 105 status = "okay"; 106}; 107 108/* Include default shared RAM configuration file */ 109#include <common/nordic/nrf5340_shared_sram_partition.dtsi> 110