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
39		ipc1: ipc1 {
40			compatible = "zephyr,ipc-openamp-static-vrings";
41			memory-region = <&sram_ipc1>;
42			mboxes = <&mbox 2>, <&mbox 3>;
43			mbox-names = "tx", "rx";
44			role = "host";
45			zephyr,priority = <1 PRIO_COOP>;
46			zephyr,buffer-size = <512>;
47			status = "okay";
48		};
49	};
50};
51