ARM: tegra: Add memory controller support for Tegra124
authorThierry Reding <treding@nvidia.com>
Wed, 16 Apr 2014 07:09:34 +0000 (09:09 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 4 Dec 2014 15:16:14 +0000 (16:16 +0100)
Add the memory controller and wire up the interrupt that is used to
report errors. Provide a reference to the memory controller clock and
mark the device as being an IOMMU by adding an #iommu-cells property.

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

index af2eace..5fcc6e7 100644 (file)
                reset-names = "fuse";
        };
 
+       mc: memory-controller@0,70019000 {
+               compatible = "nvidia,tegra124-mc";
+               reg = <0x0 0x70019000 0x0 0x1000>;
+               clocks = <&tegra_car TEGRA124_CLK_MC>;
+               clock-names = "mc";
+
+               interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
+
+               #iommu-cells = <1>;
+       };
+
        sata@0,70020000 {
                compatible = "nvidia,tegra124-ahci";