ARM: dts: add node for PL330 MDMA1 controller for exynos4
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Sat, 24 Nov 2012 02:12:50 +0000 (11:12 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 27 Nov 2012 23:04:39 +0000 (08:04 +0900)
Add missing PL330 MDMA1 controller node to the device tree (DT).

[ Currently there is no problem with using 'non-secure' mdma1 address
  instead of 'secure' one on revision 0 of Exynos4210 SOC (as used by
  Universal C210 board) as this SOC revision is unsupported by DT. ]

Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4.dtsi
arch/arm/mach-exynos/mach-exynos4-dt.c

index a26c3dd582695f8d5d59cf98a7eb252d5a4f2cfc..96d4462730fbe18353c62aa579213516abd965b7 100644 (file)
                        reg = <0x12690000 0x1000>;
                        interrupts = <0 36 0>;
                };
+
+               mdma1: mdma@12850000 {
+                       compatible = "arm,pl330", "arm,primecell";
+                       reg = <0x12850000 0x1000>;
+                       interrupts = <0 34 0>;
+               };
        };
 };
index eadf4b59e7d28e6ae1d254f0f86a398759d5f9bc..6df99c06419d1c798dc270ad837658af7dc6dcc3 100644 (file)
@@ -77,6 +77,7 @@ static const struct of_dev_auxdata exynos4_auxdata_lookup[] __initconst = {
                                "exynos4210-spi.2", NULL),
        OF_DEV_AUXDATA("arm,pl330", EXYNOS4_PA_PDMA0, "dma-pl330.0", NULL),
        OF_DEV_AUXDATA("arm,pl330", EXYNOS4_PA_PDMA1, "dma-pl330.1", NULL),
+       OF_DEV_AUXDATA("arm,pl330", EXYNOS4_PA_MDMA1, "dma-pl330.2", NULL),
        {},
 };