summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-03-30 12:03:15 +0800
committerPeng Fan <peng.fan@nxp.com>2020-04-09 10:35:42 +0800
commit3c0b3bea88f7992a4084b58ab3ab3fef2f579328 (patch)
tree44c014f7fc04ba1fb2d8cce9cc19248eef21064b
parent8e298b9ca4eef2e5b29f4e0dbdd51ef2446ed596 (diff)
MLK-23754-28 arm64: dts: imx8mp: add cm7 remoteproc node
Add CM7 remote proc node, decrease rpmsg dma node to 2MB only for pcie usage. Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts29
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk.dts4
2 files changed, 28 insertions, 5 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts
index 9d10a44fce09..3f257ea82b7d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk-rpmsg.dts
@@ -24,10 +24,21 @@
reg = <0 0x80000000 0 0x1000000>;
};
- rpmsg_dma_reserved:rpmsg_dma@0xb8400000 {
+ 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;
};
audio_reserved: audio@0x81000000 {
@@ -61,6 +72,18 @@
"LINPUT1", "MICB",
"LINPUT3", "MICB";
};
+
+ imx8mp-cm7 {
+ compatible = "fsl,imx8mn-cm7";
+ rsc-da = <0xb8000000>;
+ clocks = <&clk IMX8MP_CLK_M7_DIV>;
+ mbox-names = "tx", "rx", "rxdb";
+ mboxes = <&mu 0 1
+ &mu 1 1
+ &mu 3 1>;
+ memory-region = <&vdev0vring0>, <&vdev0vring1>, <&vdevbuffer>;
+ status = "okay";
+ };
};
/*
@@ -141,8 +164,8 @@
*/
vdev-nums = <1>;
reg = <0x0 0xb8000000 0x0 0x10000>;
- memory-region = <&rpmsg_dma_reserved>;
- status = "okay";
+ memory-region = <&vdevbuffer>;
+ status = "disabled";
};
&sdma1{
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index 53f5fdf0b3a8..b88d8ae866fc 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -17,9 +17,9 @@
#size-cells = <2>;
ranges;
- rpmsg_reserved: rpmsg@0xb8000000 {
+ rpmsg_reserved: rpmsg@0xb8200000 {
no-map;
- reg = <0 0xb8000000 0 0x400000>;
+ reg = <0 0xb8200000 0 0x200000>;
};
};