From 53eb4fa2554d3fa4e5b2b5aacb3ea94aff040f6f Mon Sep 17 00:00:00 2001 From: Richard Zhu Date: Wed, 3 Jul 2019 09:52:44 +0800 Subject: arm64: dts: imx8qxp: refine the rpmsg definitions Move the memory definition of the RPMSG to the board dts file. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'arch/arm64/boot/dts/freescale/imx8qxp-mek.dts') diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index 4de4d1e057a7..314d18bae7d8 100755 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -26,11 +26,26 @@ ranges; /* - * reserved-memory layout - * 0x88000000 ~ 0x8fffffff is reserved for M4 - * Shouldn't be used at A core and Linux side. - * - */ + * 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>; + }; + decoder_boot: decoder-boot@84000000 { reg = <0 0x84000000 0 0x2000000>; no-map; @@ -572,6 +587,7 @@ */ vdev-nums = <2>; reg = <0x0 0x90000000 0x0 0x20000>; + memory-region = <&rpmsg_dma_reserved>; status = "okay"; }; -- cgit v1.2.3