Skip to content

Commit

Permalink
MIPS: JZ4740: DTS: Add DMA nodes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Cercueil authored and Vinod Koul committed Sep 11, 2018
1 parent 6b5b368 commit d426c51
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/mips/boot/dts/ingenic/jz4740.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,21 @@
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>;
Expand Down

0 comments on commit d426c51

Please sign in to comment.