]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
MIPS: JZ4740: DTS: Add DMA nodes
authorPaul Cercueil <paul@crapouillou.net>
Wed, 29 Aug 2018 21:33:00 +0000 (23:33 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Sep 2018 07:29:27 +0000 (12:59 +0530)
Add the devicetree nodes for the DMA core of the JZ4740 SoC, disabled
by default, as currently there are no clients for the DMA driver
(until the MMC driver and/or others get a devicetree node).

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Tested-by: Mathieu Malaterre <malat@debian.org>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
arch/mips/boot/dts/ingenic/jz4740.dtsi

index 26c6b561d6f721228a01256e9084d258be65479c..6fb16fd240353aa733f2fec5178db98541184bcc 100644 (file)
                clock-names = "baud", "module";
        };
 
+       dmac: dma-controller@13020000 {
+               compatible = "ingenic,jz4740-dma";
+               reg = <0x13020000 0xbc
+                      0x13020300 0x14>;
+               #dma-cells = <2>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <29>;
+
+               clocks = <&cgu JZ4740_CLK_DMA>;
+
+               /* Disable dmac until we have something that uses it */
+               status = "disabled";
+       };
+
        uhc: uhc@13030000 {
                compatible = "ingenic,jz4740-ohci", "generic-ohci";
                reg = <0x13030000 0x1000>;