Skip to content

Commit 2d45e0c

Browse files
Zhiqiang-HouHardevsinh-Palaniya
authored andcommitted
samples: ipc: openamp_rsc_table: add imx93evk m33 support
Add openamp_rsc_table support on imx93evk Cortex-M33, communication with Linux which runs on imx93 Cortex-A55. Signed-off-by: Hou Zhiqiang <[email protected]>
1 parent 4e1f726 commit 2d45e0c

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CONFIG_CLOCK_CONTROL=y
2+
CONFIG_CONSOLE=y
3+
CONFIG_UART_CONSOLE=y
4+
CONFIG_LOG=y
5+
CONFIG_LOG_MODE_MINIMAL=y
6+
CONFIG_IPM_MBOX=y
7+
CONFIG_MBOX_INIT_PRIORITY=0
8+
CONFIG_OPENAMP_COPY_RSC_TABLE=y
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 = &shmem;
13+
zephyr,ipc_rsc_table = &rsc_table;
14+
zephyr,ipc = &mailbox0;
15+
};
16+
17+
shmem: memory@a4000000 {
18+
compatible = "mmio-sram";
19+
reg = <0xa4000000 0x500000>;
20+
};
21+
22+
rsc_table: memory@2001e000 {
23+
compatible = "mmio-sram";
24+
reg = <0x2001e000 0x100>;
25+
};
26+
27+
mailbox0: mailbox {
28+
compatible = "zephyr,mbox-ipm";
29+
mboxes = <&mu1 1>, <&mu1 1>;
30+
mbox-names = "tx", "rx";
31+
};
32+
};
33+
34+
&mu1 {
35+
status = "okay";
36+
};

0 commit comments

Comments
 (0)