From: Jacky Bai Date: Wed, 9 Sep 2020 01:55:11 +0000 (+0800) Subject: LF-1383-20 arm64: dts: freescale: Add rpmsg support for imx8dxl X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~345 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=78ee65bf0ad34a5d06df32fae104938660096c6f;p=linux.git 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 --- 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 */