diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-12-02 12:55:24 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2020-12-02 16:10:51 +0800 |
commit | b2b1d3bdfe86a79361706b9c49a106521f7d1d91 (patch) | |
tree | b57c4803f23cb25ad80df0f0154e94454da02a12 /arch/arm64/boot/dts/freescale/imx8qm-mek.dts | |
parent | 84b86a513c34a7ec65500ca19e34d7d3d3219d48 (diff) |
MLK-25090 arm64: dts: imx8: reserve space for new resource table
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 <ye.li@nxp.com>
Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8qm-mek.dts')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 10 |
1 files changed, 10 insertions, 0 deletions
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; + }; }; }; |