diff mbox

[v2,5/8] ARM: sun7i: Add node to represent the DMA controller

Message ID 1404619518-7592-6-git-send-email-emilio@elopez.com.ar (mailing list archive)
State Rejected
Delegated to: Vinod Koul
Headers show

Commit Message

Emilio López July 6, 2014, 4:05 a.m. UTC
The A20 SoC has a sun4i-compatible DMA controller. Let's add a node to
represent it on the device tree.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Chen-Yu Tsai July 7, 2014, 7:34 a.m. UTC | #1
On Sun, Jul 6, 2014 at 12:05 PM, Emilio López <emilio@elopez.com.ar> wrote:
> The A20 SoC has a sun4i-compatible DMA controller. Let's add a node to
> represent it on the device tree.
>
> Signed-off-by: Emilio López <emilio@elopez.com.ar>
> ---
>  arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
> index 01e9466..8cd3534 100644
> --- a/arch/arm/boot/dts/sun7i-a20.dtsi
> +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
> @@ -423,6 +423,14 @@
>                         interrupts = <0 0 4>;
>                 };
>
> +               dma: dma-controller@01c02000 {
> +                       compatible = "allwinner,sun4i-a10-dma";
> +                       reg = <0x01c02000 0x1000>;
> +                       interrupts = <0 27 4>;
> +                       clocks = <&ahb_gates 6>;
> +                       #dma-cells = <2>;
> +               };

Whitespace errors, otherwise good.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>


> +
>                 spi0: spi@01c05000 {
>                         compatible = "allwinner,sun4i-a10-spi";
>                         reg = <0x01c05000 0x1000>;
> --
> 2.0.1
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 01e9466..8cd3534 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -423,6 +423,14 @@ 
 			interrupts = <0 0 4>;
 		};
 
+	        dma: dma-controller@01c02000 {
+	                compatible = "allwinner,sun4i-a10-dma";
+	                reg = <0x01c02000 0x1000>;
+	                interrupts = <0 27 4>;
+	                clocks = <&ahb_gates 6>;
+			#dma-cells = <2>;
+	        };
+
 		spi0: spi@01c05000 {
 			compatible = "allwinner,sun4i-a10-spi";
 			reg = <0x01c05000 0x1000>;