new file mode 100644
@@ -0,0 +1,48 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2021 NXP
+ * Dong Aisheng <aisheng.dong@nxp.com>
+ */
+
+/ {
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ vdev0vring0: vdev0vring0@9ff00000 {
+ reg = <0x9ff00000 0x8000>;
+ no-map;
+ };
+
+ vdev0vring1: vdev0vring1@9ff08000 {
+ reg = <0x9ff08000 0x8000>;
+ no-map;
+ };
+
+ vdev1vring0: vdev1vring0@9ff10000 {
+ reg = <0x9ff10000 0x8000>;
+ no-map;
+ };
+
+ vdev1vring1: vdev1vring1@9ff18000 {
+ reg = <0x9ff18000 0x8000>;
+ no-map;
+ };
+
+ rsc_table: rsc-table@1fff8000{
+ reg = <0x1fff8000 0x1000>;
+ no-map;
+ };
+ };
+
+ imx7ulp-cm4 {
+ compatible = "fsl,imx7ulp-cm4";
+ mbox-names = "tx", "rx", "rxdb";
+ mboxes = <&mu 0 1
+ &mu 1 1
+ &mu 3 1>;
+ memory-region = <&vdev0vring0>, <&vdev0vring1>,
+ <&vdev1vring0>, <&vdev1vring1>, <&rsc_table>;
+ };
+};
@@ -8,6 +8,7 @@
/dts-v1/;
#include "imx7ulp.dtsi"
+#include "imx7ulp-evk-m4.dtsi"
/ {
model = "NXP i.MX7ULP EVK";
@@ -122,6 +122,13 @@ edma1: dma-controller@40080000 {
<&pcc2 IMX7ULP_CLK_DMA_MUX1>;
};
+ mu: mailbox@40220000 {
+ compatible = "fsl,imx7ulp-mu";
+ reg = <0x40220000 0x1000>;
+ interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
+ #mbox-cells = <2>;
+ };
+
crypto: crypto@40240000 {
compatible = "fsl,sec-v4.0";
#address-cells = <1>;
Add cm4 remoteproc which supports rpmsg naming service with two vdevs and two pairs of vrings. The vdevbuffer region is not required. Cc: Rob Herring <robh+dt@kernel.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> --- arch/arm/boot/dts/imx7ulp-evk-m4.dtsi | 48 +++++++++++++++++++++++++++ arch/arm/boot/dts/imx7ulp-evk.dts | 1 + arch/arm/boot/dts/imx7ulp.dtsi | 7 ++++ 3 files changed, 56 insertions(+) create mode 100644 arch/arm/boot/dts/imx7ulp-evk-m4.dtsi