summaryrefslogtreecommitdiff
path: root/arch/arm64
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2020-09-11 14:42:25 +0800
committerSherry Sun <sherry.sun@nxp.com>2020-09-22 14:48:51 +0800
commit95922e6ee96c1119892e60b47e5e28303489fc86 (patch)
treec201aac957a837450ccbac7566c05b8ab83b7c2f /arch/arm64
parenta734d2ab648531fb24d80fa6266742ed86d0259f (diff)
MLK-24796-3: dts: imx8qm: add imx_mic_intr for ep and add cma node for rc
For rc, use cma node to allocate share memory from rc ddr dynamically. So add a new imx8qm-mek-vop.dts file for rc. For ep, add an imx_mic_intr node to config the power and clock of mu8a/mu8b, which are used to generate interrupts from rc to ep. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/Makefile2
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qm-mek-pcie-ep.dts5
-rw-r--r--arch/arm64/boot/dts/freescale/imx8qm-mek-vop.dts17
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8qm-mek.dts2
4 files changed, 24 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile
index 35834790f3a0..6f4b837f3455 100644
--- a/arch/arm64/boot/dts/freescale/Makefile
+++ b/arch/arm64/boot/dts/freescale/Makefile
@@ -99,7 +99,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek.dtb imx8qm-mek-ov5640.dtb \
imx8qm-lpddr4-val-lpspi.dtb imx8qm-lpddr4-val-lpspi-slave.dtb \
imx8qm-mek-dsi-rm67191.dtb imx8qm-lpddr4-val-dp.dtb\
imx8qp-lpddr4-val.dtb imx8dm-lpddr4-val.dtb imx8qm-pcieax2pciebx1.dtb \
- imx8qm-mek-esai.dtb
+ imx8qm-mek-esai.dtb imx8qm-mek-vop.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qm-mek-dom0.dtb imx8qm-mek-domu.dtb \
imx8qm-mek-root.dtb imx8qm-mek-inmate.dtb
dtb-$(CONFIG_ARCH_MXC) += imx8qxp-ai_ml.dtb
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek-pcie-ep.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek-pcie-ep.dts
index 5127d82ff5b9..f1324bbe72fe 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-mek-pcie-ep.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qm-mek-pcie-ep.dts
@@ -15,6 +15,11 @@
status = "disabled";
};
+&lsio_mu8{
+ doorbell-reg = <0x5d2c0000 0x10000>;
+ status = "okay";
+};
+
&pciea_ep{
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pciea>;
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek-vop.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek-vop.dts
new file mode 100644
index 000000000000..f33a27a81332
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8qm-mek-vop.dts
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2020 NXP
+ */
+
+/dts-v1/;
+
+#include "imx8qm-mek.dts"
+
+&resmem {
+ fsl,imx_mic {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0 0x2000000>;
+ alloc-ranges = <0 0xf8000000 0 0x2000000>;
+ };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
index 15397b3a7908..cc922a4174c5 100755
--- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
+++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
@@ -92,7 +92,7 @@
};
};
- reserved-memory {
+ resmem: reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;