ARM: sun8i: a83t: Add device node for DMA controller
authorChen-Yu Tsai <wens@csie.org>
Mon, 22 May 2017 06:25:50 +0000 (14:25 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 May 2017 07:22:18 +0000 (09:22 +0200)
The A83T SoC has a DMA controller that supports 8 DMA channels
to and from various peripherals.

Add a device node for it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-a83t.dtsi

index e12dd71..47196fe 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               dma: dma-controller@1c02000 {
+                       compatible = "allwinner,sun8i-a83t-dma";
+                       reg = <0x01c02000 0x1000>;
+                       interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&ccu 21>;
+                       resets = <&ccu 7>;
+                       #dma-cells = <1>;
+               };
+
                ccu: clock@1c20000 {
                        compatible = "allwinner,sun8i-a83t-ccu";
                        reg = <0x01c20000 0x400>;