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 "nrf5340_audio_dk_nrf5340_cpunet-pinctrl.dtsi"
10
11/ {
12	model = "Nordic nRF5340 Audio DK NRF5340 Network";
13	compatible = "nordic,nrf5340-audio-dk-nrf5340-cpunet";
14
15	chosen {
16		zephyr,console = &uart0;
17		zephyr,shell-uart = &uart0;
18		zephyr,uart-mcumgr = &uart0;
19		zephyr,bt-mon-uart = &uart0;
20		zephyr,bt-c2h-uart = &uart0;
21		zephyr,bt-hci-ipc = &ipc0;
22		zephyr,sram = &sram1;
23		zephyr,flash = &flash1;
24		zephyr,code-partition = &slot0_partition;
25		watchdog0 = &wdt0;
26	};
27
28};
29
30arduino_spi: &spi0 {
31	compatible = "nordic,nrf-spim";
32	/* Cannot be used together with uart0. */
33	/* status = "okay"; */
34	cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
35	pinctrl-0 = <&spi0_default>;
36	pinctrl-1 = <&spi0_sleep>;
37	pinctrl-names = "default", "sleep";
38};
39
40&gpiote {
41	status = "okay";
42};
43
44&gpio0 {
45	status = "okay";
46};
47
48&gpio1 {
49	status = "okay";
50};
51
52&uart0 {
53	status = "okay";
54	current-speed = <115200>;
55	pinctrl-0 = <&uart0_default>;
56	pinctrl-1 = <&uart0_sleep>;
57	pinctrl-names = "default", "sleep";
58};
59
60&flash1 {
61
62	partitions {
63		compatible = "fixed-partitions";
64		#address-cells = <1>;
65		#size-cells = <1>;
66
67		boot_partition: partition@0 {
68			label = "mcuboot";
69			reg = <0x00000000 0xc000>;
70		};
71		slot0_partition: partition@c000 {
72			label = "image-0";
73			reg = <0x0000C000 0x12000>;
74		};
75		slot1_partition: partition@1e000 {
76			label = "image-1";
77			reg = <0x0001E000 0x12000>;
78		};
79		storage_partition: partition@3a000 {
80			label = "storage";
81			reg = <0x0003a000 0x6000>;
82		};
83	};
84};
85
86/* Include default shared RAM configuration file */
87#include <common/nordic/nrf5340_shared_sram_partition.dtsi>
88#include "nrf5340_audio_dk_nrf5340_shared.dtsi"
89