summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichard zhu <hongxing.zhu@nxp.com>2019-11-07 18:04:21 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 16:09:29 +0800
commite6effcaa03def581c977099773d8c0eb2332b3e8 (patch)
tree840cfe8a18a8ada264c8b97100b2674081876a53
parent785749398f843b2f812e176e7252e9c94a3659c9 (diff)
arm64: dts: freescale: add the rpmsg node on imx8dxl phantom mek board
Add the RPMSG node on iMX8DXL phantom MEK board. Signed-off-by: richard zhu <hongxing.zhu@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com>
-rwxr-xr-xarch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi
index 1df4750b4c14..8b61f1d39c8b 100755
--- a/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi
@@ -17,6 +17,33 @@
stdout-path = &lpuart0;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ /*
+ * 0x8800_0000 ~ 0x8FFF_FFFF is reserved for M4
+ * Shouldn't be used at A core and Linux side.
+ *
+ */
+ m4_reserved: m4@0x88000000 {
+ no-map;
+ reg = <0 0x88000000 0 0x8000000>;
+ };
+
+ rpmsg_reserved: rpmsg@0x90000000 {
+ no-map;
+ reg = <0 0x90000000 0 0x400000>;
+ };
+
+ rpmsg_dma_reserved:rpmsg_dma@0x90400000 {
+ compatible = "shared-dma-pool";
+ no-map;
+ reg = <0 0x90400000 0 0x100000>;
+ };
+ };
+
modem_reset: modem-reset {
compatible = "gpio-reset";
pinctrl-names = "default", "sleep";
@@ -651,3 +678,13 @@
ext_osc = <1>;
status = "okay";
};
+
+&rpmsg{
+ /*
+ * 64K for one rpmsg instance:
+ */
+ vdev-nums = <2>;
+ reg = <0x0 0x90000000 0x0 0x20000>;
+ memory-region = <&rpmsg_dma_reserved>;
+ status = "okay";
+};