From b2b1d3bdfe86a79361706b9c49a106521f7d1d91 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Wed, 2 Dec 2020 12:55:24 +0800 Subject: MLK-25090 arm64: dts: imx8: reserve space for new resource table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With MCU SDK 2.9, there are two copy resource tables published to Linux, the 1st is vdev0vring0, the 2nd is in rsc-table address. The 1st is for legacy compatible usage, it will be removed in future releases. we will only use 2nd new address in future releases. But at current stage, we still use the 1st one in linux, but we also need to reserve area for the 2nd one, otherwise when using linux to kick Mcore, Mcore might overwrite the data used by Linux. The 2nd table address is as below: 8QXP/DX/DXL: [0x90000000 + 1M – 4KB, 0x90000000 + 1M) 8QM: CM40: [0x90000000 + 1M – 4KB, 0x90000000 + 1M) CM41: [0x90100000 + 1M – 4KB, 0x90100000 + 1M) 8MQ/MM/MN-evk: [0xb8000000 + 1M – 4KB, 0xb8000000 + 1M) 8MP-evk: [0x55000000 + 1M – 4KB, 0x55000000 + 1M) Currently only 8DXL and 8MP use MCU SDK 2.9 and others still use MCU SDK 2.8, but for prepare future update, we update all SoC to reserve the 2nd table address. Reviewed-by: Ye Li Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arch/arm64/boot/dts/freescale/imx8qm-mek.dts') diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 0573091644a3..a82c860a0e6c 100755 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -370,6 +370,11 @@ no-map; }; + rsc-table@0 { + reg = <0 0x900ff000 0 0x1000>; + no-map; + }; + vdevbuffer: vdevbuffer { compatible = "shared-dma-pool"; reg = <0 0x90400000 0 0x100000>; @@ -399,6 +404,11 @@ reg = <0 0x90118000 0 0x8000>; no-map; }; + + rsc-table@1 { + reg = <0 0x901ff000 0 0x1000>; + no-map; + }; }; }; -- cgit v1.2.3