[PATCH 1/2] arm64: dts: lx2160a: add iommus property for mc node

From: Laurentiu Tudor
Date: Tue Nov 19 2019 - 10:01:39 EST


Enable SMMU management for the MC firmware by adding the required
iommus property in the device tree node.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
---
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
index b032f3890c8c..f46f0d0905b5 100644
--- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
@@ -868,6 +868,7 @@
msi-parent = <&its>;
/* iommu-map property is fixed up by u-boot */
iommu-map = <0 &smmu 0 0>;
+ iommus = <&smmu 0x4000>;
dma-coherent;
#address-cells = <3>;
#size-cells = <1>;
--
2.17.1


--------------AE161A00404C95FFAA71826B
Content-Type: text/x-patch; charset=UTF-8;
name="0002-bus-fsl-mc-make-mc-work-with-smmu-disable-bypass-on.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0002-bus-fsl-mc-make-mc-work-with-smmu-disable-bypass-on.pat";
filename*1="ch"