1/*
2 * Copyright (c) 2021 Carlo Caione <ccaione@baylibre.com>
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	};
13
14	reserved-memory {
15		/delete-node/ memory@20070000;
16
17		sram_ipc0: memory@20070000 {
18			reg = <0x20070000 0x8000>;
19		};
20
21		sram_ipc1: memory@20078000 {
22			reg = <0x20078000 0x8000>;
23		};
24	};
25
26	ipc {
27		/delete-node/ ipc0;
28
29		ipc0: ipc0 {
30			compatible = "zephyr,ipc-openamp-static-vrings";
31			memory-region = <&sram_ipc0>;
32			mboxes = <&mbox 0>, <&mbox 1>;
33			mbox-names = "tx", "rx";
34			role = "host";
35			status = "okay";
36
37			bt_hci_ipc0: bt_hci_ipc0 {
38				compatible = "zephyr,bt-hci-ipc";
39				status = "okay";
40			};
41		};
42
43		ipc1: ipc1 {
44			compatible = "zephyr,ipc-openamp-static-vrings";
45			memory-region = <&sram_ipc1>;
46			mboxes = <&mbox 2>, <&mbox 3>;
47			mbox-names = "tx", "rx";
48			role = "host";
49			zephyr,priority = <1 PRIO_COOP>;
50			zephyr,buffer-size = <128>;
51			status = "okay";
52		};
53	};
54};
55