Message ID | 1404619518-7592-4-git-send-email-emilio@elopez.com.ar (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Sun, Jul 6, 2014 at 12:05 PM, Emilio López <emilio@elopez.com.ar> wrote: > Let's add a node to represent the A10 DMA controller on the device tree. > > Signed-off-by: Emilio López <emilio@elopez.com.ar> > --- > arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi > index d96e179..f17cbeb 100644 > --- a/arch/arm/boot/dts/sun4i-a10.dtsi > +++ b/arch/arm/boot/dts/sun4i-a10.dtsi > @@ -339,6 +339,14 @@ > #size-cells = <1>; > ranges; > > + dma: dma-controller@01c02000 { > + compatible = "allwinner,sun4i-a10-dma"; > + reg = <0x01c02000 0x1000>; > + interrupts = <27>; > + 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
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index d96e179..f17cbeb 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -339,6 +339,14 @@ #size-cells = <1>; ranges; + dma: dma-controller@01c02000 { + compatible = "allwinner,sun4i-a10-dma"; + reg = <0x01c02000 0x1000>; + interrupts = <27>; + clocks = <&ahb_gates 6>; + #dma-cells = <2>; + }; + spi0: spi@01c05000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c05000 0x1000>;
Let's add a node to represent the A10 DMA controller on the device tree. Signed-off-by: Emilio López <emilio@elopez.com.ar> --- arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+)