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		zephyr,console = &flexcomm0;
14		zephyr,shell-uart = &flexcomm0;
15	};
16
17	soc {
18		/* Delete IPM Driver node nxp,lpc-mailbox */
19		/delete-node/ mailbox@8b000;
20
21		/* Attach MBOX driver to Mailbox Unit */
22		mbox:mbox@5008b000 {
23			compatible = "nxp,mbox-mailbox";
24			reg = <0x5008b000 0xEC>;
25			interrupts = <31 0>;
26			rx-channels = <4>;
27			#mbox-cells = <1>;
28			status = "okay";
29		};
30	};
31
32	mbox-consumer {
33		compatible = "vnd,mbox-consumer";
34		mboxes = <&mbox 0>, <&mbox 1>;
35		mbox-names = "tx", "rx";
36	};
37};
38
39&flexcomm0 {
40	status = "okay";
41};
42
43&dma0 {
44	status = "okay";
45};
46
47&syscon {
48	status = "okay";
49};
50