mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 13:09:58 +00:00
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: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
b0c1a994f6
commit
b35f5b53a8
@ -569,6 +569,24 @@ host1x@13e00000 {
|
|||||||
interconnect-names = "dma-mem";
|
interconnect-names = "dma-mem";
|
||||||
iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
|
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 {
|
vic@15340000 {
|
||||||
compatible = "nvidia,tegra234-vic";
|
compatible = "nvidia,tegra234-vic";
|
||||||
reg = <0x15340000 0x00040000>;
|
reg = <0x15340000 0x00040000>;
|
||||||
|
Loading…
Reference in New Issue
Block a user