Skip to content

Commit 53d21f6

Browse files
iuliana-prodankartben
authored andcommitted
samples: add support for i.MX8ULP DSP in openamp_rsc_table
Add the dts and config overlay for imx8ulp_evk//adsp to have the openamp_rsc_table sample working on HiFi4 DSP from i.MX8ULP. Since openamp_rsc_table sample uses IPM API and i.MX8ULP has a mbox driver for messaging unit, we need a mailbox node. This will load the ipm_mbox driver that exposes the IPM interface while using a MBOX driver in the back-end. Signed-off-by: Iuliana Prodan <[email protected]>
1 parent 951d60d commit 53d21f6

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
CONFIG_LOG_PRINTK=n
2+
CONFIG_OPENAMP_WITH_DCACHE=y
3+
4+
CONFIG_MBOX=y
5+
CONFIG_MBOX_INIT_PRIORITY=3
6+
7+
CONFIG_IPM_MBOX=y
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
chosen {
9+
/*
10+
* shared memory reserved for the inter-processor communication
11+
*/
12+
zephyr,ipc_shm = &dspsram3;
13+
zephyr,ipc = &mailbox0;
14+
};
15+
16+
dspsram3: memory@1bef0000 {
17+
reg = <0x1bef0000 0x110000>;
18+
};
19+
20+
mailbox0: mailbox {
21+
compatible = "zephyr,mbox-ipm";
22+
mboxes = <&mu3 0>, <&mu3 0>;
23+
mbox-names = "tx", "rx";
24+
status = "okay";
25+
};
26+
};
27+
28+
&mu3 {
29+
status = "okay";
30+
};

0 commit comments

Comments
 (0)