From 78ee65bf0ad34a5d06df32fae104938660096c6f Mon Sep 17 00:00:00 2001 From: Jacky Bai Date: Wed, 9 Sep 2020 09:55:11 +0800 Subject: [PATCH] LF-1383-20 arm64: dts: freescale: Add rpmsg support for imx8dxl Add the rpmsg support for i.MX8DXL. Signed-off-by: Jacky Bai Reviewed-by: Dong Aisheng --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 5 +++++ arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 15 +++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 5137bce81ecc..1c42858fe241 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -25,6 +25,11 @@ #size-cells = <2>; ranges; + rpmsg_reserved: rpmsg@0x90200000 { + no-map; + reg = <0 0x90200000 0 0x200000>; + }; + /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool"; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi index 53678537b123..44e3aa6d0a38 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi @@ -102,6 +102,21 @@ }; }; + rpmsg: rpmsg{ + compatible = "fsl,imx8qxp-rpmsg"; + /* up to now, the following channels are used in imx rpmsg + * - tx1/rx1: messages channel. + * - general interrupt1: remote proc finish re-init rpmsg stack + * when A core is partition reset. + */ + mbox-names = "tx", "rx", "rxdb"; + mboxes = <&lsio_mu5 0 1 + &lsio_mu5 1 1 + &lsio_mu5 3 1>; + mub-partition = <3>; + status = "disabled"; + }; + gic: interrupt-controller@51a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ -- 2.17.1