aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2018-08-29 17:32:59 -0400
committerVinod Koul <vkoul@kernel.org>2018-09-11 03:29:27 -0400
commit6b5b368b5cbd7032dd32ebca88f4fc68b5c099dd (patch)
treea91d44cd008e1988b62aa11670a545a29a69139f
parentf57879a574ae5a3b598187d6ff9c26b5f6479ce0 (diff)
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: 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>
-rw-r--r--arch/mips/boot/dts/ingenic/jz4770.dtsi30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/jz4770.dtsi b/arch/mips/boot/dts/ingenic/jz4770.dtsi
index 7c2804f3f5f1..49ede6c14ff3 100644
--- a/arch/mips/boot/dts/ingenic/jz4770.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4770.dtsi
@@ -196,6 +196,36 @@
196 status = "disabled"; 196 status = "disabled";
197 }; 197 };
198 198
199 dmac0: dma-controller@13420000 {
200 compatible = "ingenic,jz4770-dma";
201 reg = <0x13420000 0xC0
202 0x13420300 0x20>;
203
204 #dma-cells = <1>;
205
206 clocks = <&cgu JZ4770_CLK_DMA>;
207 interrupt-parent = <&intc>;
208 interrupts = <24>;
209
210 /* Disable dmac0 until we have something that uses it */
211 status = "disabled";
212 };
213
214 dmac1: dma-controller@13420100 {
215 compatible = "ingenic,jz4770-dma";
216 reg = <0x13420100 0xC0
217 0x13420400 0x20>;
218
219 #dma-cells = <1>;
220
221 clocks = <&cgu JZ4770_CLK_DMA>;
222 interrupt-parent = <&intc>;
223 interrupts = <23>;
224
225 /* Disable dmac1 until we have something that uses it */
226 status = "disabled";
227 };
228
199 uhc: uhc@13430000 { 229 uhc: uhc@13430000 {
200 compatible = "generic-ohci"; 230 compatible = "generic-ohci";
201 reg = <0x13430000 0x1000>; 231 reg = <0x13430000 0x1000>;