Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89072339 authored by Florian Meier's avatar Florian Meier Committed by Stephen Warren
Browse files

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: default avatarFlorian Meier <florian.meier@koalo.de>
[swarren, fixed DT node sort order]
Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
parent 14ac652b
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -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>;