From 2d972b6ac972b3d3c2e4336325745568c79a5dd3 Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Wed, 28 Mar 2018 18:00:53 -0300 Subject: MIPS: dts: jz4780: Add DMA controller node to the devicetree Add the devicetree node to support the DMA controller found in JZ480 SoCs. Tested-by: Mathieu Malaterre Acked-by: James Hogan Signed-off-by: Ezequiel Garcia Signed-off-by: Ulf Hansson --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'arch/mips') diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index 9b5794667aee..15a9801430bd 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include / { #address-cells = <1>; @@ -241,6 +242,17 @@ status = "disabled"; }; + dma: dma@13420000 { + compatible = "ingenic,jz4780-dma"; + reg = <0x13420000 0x10000>; + #dma-cells = <2>; + + interrupt-parent = <&intc>; + interrupts = <10>; + + clocks = <&cgu JZ4780_CLK_PDMA>; + }; + bch: bch@134d0000 { compatible = "ingenic,jz4780-bch"; reg = <0x134d0000 0x10000>; -- cgit v1.2.3-55-g7522