1/*
2 * Copyright 2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/ {
8	chosen {
9		/* Delete ipc chosen property where old IPM mailbox driver bellow is
10		 * configured.
11		 */
12		/delete-property/ zephyr,ipc;
13	};
14
15	soc {
16		/* Delete IPM Driver node nxp,lpc-mailbox */
17		/delete-node/ mailbox@8b000;
18
19		/* Attach MBOX driver to Mailbox Unit */
20		mbox:mailbox0@5008b000 {
21			compatible = "nxp,mbox-mailbox";
22			reg = <0x5008b000 0xEC>;
23			interrupts = <31 0>;
24			rx-channels = <4>;
25			#mbox-cells = <1>;
26			status = "okay";
27		};
28	};
29
30	mbox-consumer {
31		compatible = "vnd,mbox-consumer";
32		mboxes = <&mbox 3>, <&mbox 2>, <&mbox 1>, <&mbox 0>, <&mbox 2>,
33			 <&mbox 3>, <&mbox 0>, <&mbox 1>;
34		mbox-names = "tx0", "rx0", "tx1", "rx1", "tx2", "rx2", "tx3",
35			     "rx3";
36	};
37};
38