From: Thierry Reding <tred...@nvidia.com>

Collapses the old memory-controller and IOMMU device tree nodes into a
single node to more accurately describe the hardware.

Note that this is an incompatible change, but while a GART driver has
existed for a few years it has never been used to do any translations.

Signed-off-by: Thierry Reding <tred...@nvidia.com>
---
 arch/arm/boot/dts/tegra20.dtsi | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 3b374c49d04d..a195c1975f3c 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -538,15 +538,14 @@
 
        memory-controller@7000f000 {
                compatible = "nvidia,tegra20-mc";
-               reg = <0x7000f000 0x024
-                      0x7000f03c 0x3c4>;
+               reg = <0x7000f000 0x00000400   /* controller registers */
+                      0x58000000 0x02000000>; /* GART aperture */
+               clocks = <&tegra_car TEGRA20_CLK_MC>;
+               clock-names = "mc";
+
                interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
-       };
 
-       iommu@7000f024 {
-               compatible = "nvidia,tegra20-gart";
-               reg = <0x7000f024 0x00000018    /* controller registers */
-                      0x58000000 0x02000000>;  /* GART aperture */
+               #iommu-cells = <1>;
        };
 
        memory-controller@7000f400 {
-- 
2.1.2

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to