arm64: tegra: Hook up memory controller to SMMU on Tegra186
authorThierry Reding <treding@nvidia.com>
Thu, 3 Jun 2021 16:46:31 +0000 (18:46 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 11 Jun 2021 11:33:32 +0000 (13:33 +0200)
On Tegra186 and later, the memory controller needs to be programmed in
coordination with any of the ARM SMMU instances to configure the stream
ID used for each memory client.

To support this, add a phandle reference to the memory controller to the
SMMU device tree node.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi

index a173f40256ae1a01288a61fbdaa74c8a4a5bb1e4..d02f6bf3e2ca7182487643ef42d1324bc275492f 100644 (file)
                stream-match-mask = <0x7f80>;
                #global-interrupts = <1>;
                #iommu-cells = <1>;
+
+               nvidia,memory-controller = <&mc>;
        };
 
        host1x@13e00000 {