1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include <zephyr/dt-bindings/ipc_service/static_vrings.h>
8
9/ {
10	chosen {
11		/delete-property/ zephyr,ipc_shm;
12		zephyr,log-ipc = &ipc0;
13	};
14
15	reserved-memory {
16		/delete-node/ memory@20070000;
17
18		sram_ipc0: memory@20070000 {
19			reg = <0x20070000 0x8000>;
20		};
21
22		sram_ipc1: memory@20078000 {
23			reg = <0x20078000 0x8000>;
24		};
25	};
26
27	ipc {
28		/delete-node/ ipc0;
29
30		ipc0: ipc0 {
31			compatible = "zephyr,ipc-openamp-static-vrings";
32			memory-region = <&sram_ipc0>;
33			mboxes = <&mbox 0>, <&mbox 1>;
34			mbox-names = "tx", "rx";
35			role = "host";
36			status = "okay";
37
38			bt_hci_ipc0: bt_hci_ipc0 {
39			     status = "okay";
40			     compatible = "zephyr,bt-hci-ipc";
41			};
42		};
43
44		ipc1: ipc1 {
45			compatible = "zephyr,ipc-openamp-static-vrings";
46			memory-region = <&sram_ipc1>;
47			mboxes = <&mbox 2>, <&mbox 3>;
48			mbox-names = "tx", "rx";
49			role = "host";
50			zephyr,priority = <1 PRIO_COOP>;
51			zephyr,buffer-size = <512>;
52			status = "okay";
53		};
54	};
55};
56