summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2018-08-02 15:41:00 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit90956bf66f3a18c2997719f1bc0cf7014a42434f (patch)
treea7ebad2a914b1054f7492a9612b05c2cf7d1e02d /arch
parentf7c1b76a67a47ea366d5325f502781518d61af37 (diff)
MLK-19116 ARMR64: dts: imx8qm mek root: disable smmu and change sid for usdhc1
SMMU is being managed by Jailhosue hypervisor, so disable it in root cell. SDHC1 is owned by non-root cell Linux, but we need U-Boot to program SID according to the iommus property. Since SDHC1 is in different cell, it need a different SID to avoid DMA attack. Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-root.dts8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-root.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-root.dts
index 98ca22a3a2c4..e28fd5ffa399 100644
--- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-root.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-mek-root.dts
@@ -102,9 +102,15 @@
};
};
+&smmu {
+ /* Jailhouse hypervisor will initialize SMMU and use it. */
+ status = "disabled";
+};
+
&usdhc1 {
+ /* Let U-Boot program SID */
+ iommus = <&smmu 0x10 0x7f80>;
/delete-property/ compatible;
- /delete-property/ iommus;
};
&lpuart2 {