1
0
Fork 0

MLK-23754-29 arm64: dts: imx8mn: add remoteproc node for i.MX8MN

Add remoteproc node for i.MX8MN

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peng Fan 2020-03-30 14:10:11 +08:00
parent 3c0b3bea88
commit b7c56dc046
2 changed files with 32 additions and 4 deletions

View File

@ -16,9 +16,26 @@
reg = <0 0x80000000 0 0x1000000>;
};
rpmsg_reserved: rpmsg@0xb8000000 {
rpmsg_reserved: rpmsg@0xb8200000 {
no-map;
reg = <0 0xb8200000 0 0x200000>;
};
vdev0vring0: vdev0vring0@b8000000 {
compatible = "shared-dma-pool";
reg = <0 0xb8000000 0 0x8000>;
no-map;
};
vdev0vring1: vdev0vring1@b8008000 {
compatible = "shared-dma-pool";
reg = <0 0xb8008000 0 0x8000>;
no-map;
};
vdevbuffer: vdevbuffer@b8400000 {
compatible = "shared-dma-pool";
reg = <0 0xb8400000 0 0x100000>;
no-map;
reg = <0 0xb8000000 0 0x400000>;
};
};
@ -45,6 +62,17 @@
cpu-dai = <&rpmsg_i2s>;
rpmsg-out;
};
imx8mn-cm7 {
compatible = "fsl,imx8mn-cm7";
rsc-da = <0xb8000000>;
mbox-names = "tx", "rx", "rxdb";
mboxes = <&mu 0 1
&mu 1 1
&mu 3 1>;
memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdevbuffer>;
status = "okay";
};
};
&clk {
@ -77,7 +105,8 @@
*/
vdev-nums = <1>;
reg = <0x0 0xb8000000 0x0 0x10000>;
status = "okay";
memory-region = <&vdevbuffer>;
status = "disabled";
};
&sai3 {

View File

@ -27,7 +27,6 @@
#include <soc/imx/imx_sip.h>
#include "remoteproc_internal.h"
#define IMX7D_SRC_SCR 0x0C