ARM: sun5i: dt: Add nodes to represent the DMA controllers
authorEmilio López <emilio@elopez.com.ar>
Mon, 4 Aug 2014 20:09:58 +0000 (17:09 -0300)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Aug 2014 07:57:10 +0000 (09:57 +0200)
The A10S and A13 SoCs have sun4i-compatible DMA controllers. Let's add
the corresponding nodes to represent them 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/sun5i-a10s.dtsi
arch/arm/boot/dts/sun5i-a13.dtsi

index 24b0ad3a7c07f53a2af4bb1e22c3ba4f20e3d03d..aa6f1261ec90d2538416f5f6774d7d910487a4d0 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               dma: dma-controller@01c02000 {
+                       compatible = "allwinner,sun4i-a10-dma";
+                       reg = <0x01c02000 0x1000>;
+                       interrupts = <27>;
+                       clocks = <&ahb_gates 6>;
+                       #dma-cells = <2>;
+               };
+
                spi0: spi@01c05000 {
                        compatible = "allwinner,sun4i-a10-spi";
                        reg = <0x01c05000 0x1000>;
index bf86e65dd167bf2aad4131c1060d57698fedfc77..cce04d16d7eae68b3a797fc0cca0fac4e8a0586a 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               dma: dma-controller@01c02000 {
+                       compatible = "allwinner,sun4i-a10-dma";
+                       reg = <0x01c02000 0x1000>;
+                       interrupts = <27>;
+                       clocks = <&ahb_gates 6>;
+                       #dma-cells = <2>;
+               };
+
                spi0: spi@01c05000 {
                        compatible = "allwinner,sun4i-a10-spi";
                        reg = <0x01c05000 0x1000>;