summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorFlorian Meier <florian.meier@koalo.de>2014-01-13 12:11:43 +0100
committerStephen Warren <swarren@wwwdotorg.org>2014-02-11 21:49:44 -0700
commit890723395fc73e8dfb3b7da0f5717750cfae83a0 (patch)
tree614a9ff6c6a3adee4f6e909727a1179a82de8ff8 /arch/arm
parent14ac652b67fe08b0dca78995a4298aad38345a31 (diff)
ARM: bcm2835: add dmaengine driver to device tree
This adds the definitions for the BCM2835 dmaengine driver to the device tree. The dma-channel-mask is currently fixed. Later it should be set via the firmware. Signed-off-by: Florian Meier <florian.meier@koalo.de> [swarren, fixed DT node sort order] Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/bcm2835.dtsi21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
index beb8659813b2..b17694066140 100644
--- a/arch/arm/boot/dts/bcm2835.dtsi
+++ b/arch/arm/boot/dts/bcm2835.dtsi
@@ -22,6 +22,27 @@
clock-frequency = <1000000>;
};
+ dma: dma@7e007000 {
+ compatible = "brcm,bcm2835-dma";
+ reg = <0x7e007000 0xf00>;
+ interrupts = <1 16>,
+ <1 17>,
+ <1 18>,
+ <1 19>,
+ <1 20>,
+ <1 21>,
+ <1 22>,
+ <1 23>,
+ <1 24>,
+ <1 25>,
+ <1 26>,
+ <1 27>,
+ <1 28>;
+
+ #dma-cells = <1>;
+ brcm,dma-channel-mask = <0x7f35>;
+ };
+
intc: interrupt-controller {
compatible = "brcm,bcm2835-armctrl-ic";
reg = <0x7e00b200 0x200>;