From c7dcf1ef9edb523fe67fe122427b126ac3cdf199 Mon Sep 17 00:00:00 2001 From: Clark Wang Date: Wed, 13 Nov 2019 14:43:39 +0800 Subject: MLK-22965 ARM64: dts: imx8dxl-phantom: add partition reset function Enable rpsmg to add partition reset function support for imx8dxl-phantom platform. Signed-off-by: Clark Wang --- .../boot/dts/freescale/imx8dxl-phantom-mek.dtsi | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi') diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi index 934343057fce..2901b3b06a5e 100755 --- a/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi @@ -55,6 +55,33 @@ #reset-cells = <0>; }; + 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>; + }; + }; + regulators { compatible = "simple-bus"; #address-cells = <1>; @@ -186,6 +213,16 @@ }; }; +&rpmsg{ + /* + * 64K for one rpmsg instance: + */ + vdev-nums = <2>; + reg = <0x0 0x90000000 0x0 0x20000>; + memory-region = <&rpmsg_dma_reserved>; + status = "okay"; +}; + &acm { status = "okay"; }; -- cgit v1.2.3