]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: tegra: Add EMC to Tegra124 device tree
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 12 Mar 2015 14:48:00 +0000 (15:48 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 30 Mar 2015 09:43:37 +0000 (11:43 +0200)
This adds a node for the EMC memory controller. It is always enabled, but only
provides read-only functionality without board-specific timing tables.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124.dtsi

index f992557f2759e7a4620388ecf126e22812ed709a..fefec806f2576022e1a5967be6b48071654fc558 100644 (file)
                reg = <0x0 0x60006000 0x0 0x1000>;
                #clock-cells = <1>;
                #reset-cells = <1>;
+               nvidia,external-memory-controller = <&emc>;
        };
 
        flow-controller@0,60007000 {
                #iommu-cells = <1>;
        };
 
+       emc: emc@0,7001b000 {
+               compatible = "nvidia,tegra124-emc";
+               reg = <0x0 0x7001b000 0x0 0x1000>;
+
+               nvidia,memory-controller = <&mc>;
+       };
+
        sata@0,70020000 {
                compatible = "nvidia,tegra124-ahci";