ARM: dts: Add Gemini DMA controller
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 1 Apr 2017 17:55:48 +0000 (19:55 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 13 Jun 2017 21:57:55 +0000 (23:57 +0200)
This adds the Faraday Technology FTDMAC020 DMA controller to
the Gemini SoC DTSI file. It is only used for memcpy work so
we can activate it for all users of the chipset.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/gemini.dtsi

index 80abf84f8a8084e89342a3cf8d2c5b9f5cf23d43..0beaa4ef757e38c29bb1754cfac8652d97f9951e 100644 (file)
                                #interrupt-cells = <1>;
                        };
                };
+
+               dma-controller@67000000 {
+                       compatible = "faraday,ftdma020", "arm,pl080", "arm,primecell";
+                       /* Faraday Technology FTDMAC020 variant */
+                       arm,primecell-periphid = <0x0003b080>;
+                       reg = <0x67000000 0x1000>;
+                       interrupts = <9 IRQ_TYPE_EDGE_RISING>;
+                       resets = <&syscon 10>;
+                       clocks = <&syscon 1>;
+                       clock-names = "apb_pclk";
+                       /* Bus interface AHB1 (AHB0) is totally tilted */
+                       lli-bus-interface-ahb2;
+                       mem-bus-interface-ahb2;
+                       memcpy-burst-size = <256>;
+                       memcpy-bus-width = <32>;
+                       #dma-cells = <2>;
+               };
        };
 };