Commit b35f5b53 authored by Mikko Perttunen's avatar Mikko Perttunen Committed by Thierry Reding

arm64: tegra: Add context isolation domains on Tegra234

Add Host1x context isolation domains on Tegra234. On Tegra234 we have
two IOMMUs that are connected to Host1x-channel programmed engines,
so we have to include domains for each of them.
Signed-off-by: default avatarMikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent b0c1a994
......@@ -569,6 +569,24 @@ host1x@13e00000 {
interconnect-names = "dma-mem";
iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
/* Context isolation domains */
iommu-map = <0 &smmu_niso0 TEGRA234_SID_HOST1X_CTX0 1>,
<1 &smmu_niso0 TEGRA234_SID_HOST1X_CTX1 1>,
<2 &smmu_niso0 TEGRA234_SID_HOST1X_CTX2 1>,
<3 &smmu_niso0 TEGRA234_SID_HOST1X_CTX3 1>,
<4 &smmu_niso0 TEGRA234_SID_HOST1X_CTX4 1>,
<5 &smmu_niso0 TEGRA234_SID_HOST1X_CTX5 1>,
<6 &smmu_niso0 TEGRA234_SID_HOST1X_CTX6 1>,
<7 &smmu_niso0 TEGRA234_SID_HOST1X_CTX7 1>,
<8 &smmu_niso1 TEGRA234_SID_HOST1X_CTX0 1>,
<9 &smmu_niso1 TEGRA234_SID_HOST1X_CTX1 1>,
<10 &smmu_niso1 TEGRA234_SID_HOST1X_CTX2 1>,
<11 &smmu_niso1 TEGRA234_SID_HOST1X_CTX3 1>,
<12 &smmu_niso1 TEGRA234_SID_HOST1X_CTX4 1>,
<13 &smmu_niso1 TEGRA234_SID_HOST1X_CTX5 1>,
<14 &smmu_niso1 TEGRA234_SID_HOST1X_CTX6 1>,
<15 &smmu_niso1 TEGRA234_SID_HOST1X_CTX7 1>;
vic@15340000 {
compatible = "nvidia,tegra234-vic";
reg = <0x15340000 0x00040000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment