Commit 6b5b368b authored by Paul Cercueil's avatar Paul Cercueil Committed by Vinod Koul
Browse files

MIPS: JZ4770: DTS: Add DMA nodes



Add the two devicetree nodes for the two DMA cores of the JZ4770 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: default avatarPaul Cercueil <paul@crapouillou.net>
Tested-by: default avatarMathieu Malaterre <malat@debian.org>
Acked-by: default avatarPaul Burton <paul.burton@mips.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent f57879a5
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -196,6 +196,36 @@
		status = "disabled";
	};

	dmac0: dma-controller@13420000 {
		compatible = "ingenic,jz4770-dma";
		reg = <0x13420000 0xC0
		       0x13420300 0x20>;

		#dma-cells = <1>;

		clocks = <&cgu JZ4770_CLK_DMA>;
		interrupt-parent = <&intc>;
		interrupts = <24>;

		/* Disable dmac0 until we have something that uses it */
		status = "disabled";
	};

	dmac1: dma-controller@13420100 {
		compatible = "ingenic,jz4770-dma";
		reg = <0x13420100 0xC0
		       0x13420400 0x20>;

		#dma-cells = <1>;

		clocks = <&cgu JZ4770_CLK_DMA>;
		interrupt-parent = <&intc>;
		interrupts = <23>;

		/* Disable dmac1 until we have something that uses it */
		status = "disabled";
	};

	uhc: uhc@13430000 {
		compatible = "generic-ohci";
		reg = <0x13430000 0x1000>;