ARM: ux500: Supply address location names for the DMA40 DMA controller
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:31:47 +0000 (15:31 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 27 May 2013 12:07:12 +0000 (14:07 +0200)
The DMA40 controller uses two sets of base addresses. In order to have
the resources setup by the of_platform framework so they are searchable
by name instead of index, we have to set names for them. The names have
to be the same as the ones used to fetch them back out of the resource
structure.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/dbx5x0.dtsi

index e1228a5..d1228e4 100644 (file)
                        compatible = "stericsson,db8500-dma40",
                                        "stericsson,dma40";
                        reg = <0x801C0000 0x1000 0x40010000 0x800>;
+                       reg-names = "base", "lcpa";
                        interrupts = <0 25 0x4>;
                };