1
0
Fork 0

arm64: dts: imx8qm: add smmu

Add smmu node, enable smmu for usdhc/fec/usb/sata

Signed-off-by: Peng Fan <peng.fan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peng Fan 2019-10-31 16:42:58 +08:00 committed by Dong Aisheng
parent 805cf7d9ed
commit 510ef26e4e
3 changed files with 31 additions and 0 deletions

View File

@ -6,16 +6,29 @@
&fec1 {
compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
iommus = <&smmu 0x12 0x7f80>;
};
&fec2 {
compatible = "fsl,imx8qm-fec", "fsl,imx6sx-fec";
iommus = <&smmu 0x12 0x7f80>;
};
&usdhc1 {
compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc";
iommus = <&smmu 0x11 0x7f80>;
};
&usdhc2 {
compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc";
iommus = <&smmu 0x11 0x7f80>;
};
&usdhc3 {
compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc";
iommus = <&smmu 0x11 0x7f80>;
};
&usbotg3 {
iommus = <&smmu 0x4 0x7f80>;
};

View File

@ -161,6 +161,7 @@
<&pd IMX_SC_R_SERDES_0>,
<&pd IMX_SC_R_SERDES_1>,
<&pd IMX_SC_R_HSIO_GPIO>;
iommus = <&smmu 0x13 0x7f80>;
status = "disabled";
};
};

View File

@ -231,6 +231,23 @@
clock-output-names = "xtal_24MHz";
};
smmu: iommu@51400000 {
compatible = "arm,mmu-500";
interrupt-parent = <&gic>;
reg = <0 0x51400000 0 0x40000>;
#global-interrupts = <1>;
#iommu-cells = <2>;
interrupts = <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>,
<0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>;
};
scu {
compatible = "fsl,imx-scu";
mbox-names = "tx0", "tx1", "tx2", "tx3",