[PATCH] arm64: tegra: Enable IOMMU for host1x on Tegra132

From: Rayyan Ansari
Date: Thu Aug 10 2023 - 17:54:51 EST


Add the iommu property to the host1x node to register it with its
swgroup.

Signed-off-by: Rayyan Ansari <rayyan@xxxxxxxxx>
---
arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
index 8b78be8f4f9d..7e24a212c7e4 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
@@ -93,6 +93,8 @@ host1x@50000000 {
resets = <&tegra_car 28>;
reset-names = "host1x";

+ iommus = <&mc TEGRA_SWGROUP_HC>;
+
#address-cells = <2>;
#size-cells = <2>;

--
2.41.0