ARM: tegra: Add device tree node to describe IRAM on Tegra20
authorVladimir Zapolskiy <vz@mleia.com>
Tue, 12 Dec 2017 00:26:09 +0000 (03:26 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 20 Dec 2017 18:57:20 +0000 (19:57 +0100)
All Tegra20 SoCs contain 256 KiB IRAM, which is used to store resume
code and by the video decoder engine.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi

index 914f59166a995f7b038493aa5660310e27e23f37..36909df653c357f92bf9af936318b5154cc5207f 100644 (file)
        compatible = "nvidia,tegra20";
        interrupt-parent = <&lic>;
 
+       iram@40000000 {
+               compatible = "mmio-sram";
+               reg = <0x40000000 0x40000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0 0x40000000 0x40000>;
+       };
+
        host1x@50000000 {
                compatible = "nvidia,tegra20-host1x", "simple-bus";
                reg = <0x50000000 0x00024000>;