ARM: sun7i: dt: Add node to represent the DMA controller
authorEmilio López <emilio@elopez.com.ar>
Mon, 4 Aug 2014 20:09:59 +0000 (17:09 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Aug 2014 07:57:11 +0000 (09:57 +0200)
The A20 SoC has a sun4i-compatible DMA controller. Let's add a node to
represent it on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20.dtsi

index 4011628c738101b0004b6bb9da7f4c0ee3fa1e70..c13b832871cd43d6ae9a3dde81fa9e540c7f6d6c 100644 (file)
                        interrupts = <0 0 4>;
                };
 
+               dma: dma-controller@01c02000 {
+                       compatible = "allwinner,sun4i-a10-dma";
+                       reg = <0x01c02000 0x1000>;
+                       interrupts = <0 27 4>;
+                       clocks = <&ahb_gates 6>;
+                       #dma-cells = <2>;
+               };
+
                spi0: spi@01c05000 {
                        compatible = "allwinner,sun4i-a10-spi";
                        reg = <0x01c05000 0x1000>;