]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: Add memory controller support for Tegra114
authorThierry Reding <treding@nvidia.com>
Fri, 18 Jul 2014 10:11:03 +0000 (12:11 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 4 Dec 2014 15:16:13 +0000 (16:16 +0100)
Add the device tree node for the memory controller found on Tegra114
SoCs. The memory controller integrates an IOMMU (called SMMU) as well as
various knobs to tweak memory accesses by the various clients.

The old IOMMU device tree node is collapsed into the memory controller
node to more accurately describe the hardware. While this change is
incompatible, the IOMMU driver has never had any users so the change is
not going to cause any breakage.

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

index 2ca9c1807f72374bb176aada1203f6d9bc88e220..2c26b07c11ed1c39d4751e764ed8bd7225dd765c 100644 (file)
                reset-names = "fuse";
        };
 
-       iommu@70019010 {
-               compatible = "nvidia,tegra114-smmu", "nvidia,tegra30-smmu";
-               reg = <0x70019010 0x02c
-                      0x700191f0 0x010
-                      0x70019228 0x074>;
-               nvidia,#asids = <4>;
-               dma-window = <0 0x40000000>;
-               nvidia,swgroups = <0x18659fe>;
-               nvidia,ahb = <&ahb>;
+       mc: memory-controller@70019000 {
+               compatible = "nvidia,tegra114-mc";
+               reg = <0x70019000 0x1000>;
+               clocks = <&tegra_car TEGRA114_CLK_MC>;
+               clock-names = "mc";
+
+               interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+
+               #iommu-cells = <1>;
        };
 
        ahub@70080000 {