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 a173f40..d02f6bf 100644 (file)
                stream-match-mask = <0x7f80>;
                #global-interrupts = <1>;
                #iommu-cells = <1>;
+
+               nvidia,memory-controller = <&mc>;
        };
 
        host1x@13e00000 {