summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun7i-a20.dtsi
diff options
context:
space:
mode:
authorEmilio López2014-08-04 22:09:59 +0200
committerMaxime Ripard2014-08-17 09:57:11 +0200
commit316e0b0eebcfb030cdf265554fb34ef78380bf5f (patch)
tree37e1e922443d0c300432fb0260139ec844a5fa4e /arch/arm/boot/dts/sun7i-a20.dtsi
parentARM: sun5i: dt: Add nodes to represent the DMA controllers (diff)
downloadkernel-qcow2-linux-316e0b0eebcfb030cdf265554fb34ef78380bf5f.tar.gz
kernel-qcow2-linux-316e0b0eebcfb030cdf265554fb34ef78380bf5f.tar.xz
kernel-qcow2-linux-316e0b0eebcfb030cdf265554fb34ef78380bf5f.zip
ARM: sun7i: dt: Add node to represent the DMA controller
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>
Diffstat (limited to 'arch/arm/boot/dts/sun7i-a20.dtsi')
-rw-r--r--arch/arm/boot/dts/sun7i-a20.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 4011628c7381..c13b832871cd 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -423,6 +423,14 @@
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>;