ARM: tegra: Add nvidia,memory-controller phandle to Tegra20 EMC device-tree
authorDmitry Osipenko <digetx@gmail.com>
Mon, 23 Nov 2020 00:27:20 +0000 (03:27 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Nov 2020 18:07:49 +0000 (19:07 +0100)
Add nvidia,memory-controller to the Tegra20 External Memory Controller
node. This allows to perform a direct lookup of the Memory Controller
instead of walking up the whole tree. This puts Tegra20 device-tree on
par with Tegra30+.

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

index 2e13044..8f8ad81 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
                #interconnect-cells = <0>;
+
+               nvidia,memory-controller = <&mc>;
        };
 
        fuse@7000f800 {