Message ID | 1404619518-7592-5-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: > The A10S and A13 SoCs have sun4i-compatible DMA controllers. Let's add > the corresponding nodes to represent them on the device tree. > > Signed-off-by: Emilio López <emilio@elopez.com.ar> > --- > > Note that I have only tested on A10S, if anyone with an A13 device could > test as well, that would be great! > > arch/arm/boot/dts/sun5i-a10s.dtsi | 8 ++++++++ > arch/arm/boot/dts/sun5i-a13.dtsi | 8 ++++++++ > 2 files changed, 16 insertions(+) > > diff --git a/arch/arm/boot/dts/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi > index b64f705..3708817 100644 > --- a/arch/arm/boot/dts/sun5i-a10s.dtsi > +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi > @@ -300,6 +300,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>; > diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi > index 3b2a94c..1f1adf2 100644 > --- a/arch/arm/boot/dts/sun5i-a13.dtsi > +++ b/arch/arm/boot/dts/sun5i-a13.dtsi > @@ -298,6 +298,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/sun5i-a10s.dtsi b/arch/arm/boot/dts/sun5i-a10s.dtsi index b64f705..3708817 100644 --- a/arch/arm/boot/dts/sun5i-a10s.dtsi +++ b/arch/arm/boot/dts/sun5i-a10s.dtsi @@ -300,6 +300,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>; diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 3b2a94c..1f1adf2 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi @@ -298,6 +298,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>;
The A10S and A13 SoCs have sun4i-compatible DMA controllers. Let's add the corresponding nodes to represent them on the device tree. Signed-off-by: Emilio López <emilio@elopez.com.ar> --- Note that I have only tested on A10S, if anyone with an A13 device could test as well, that would be great! arch/arm/boot/dts/sun5i-a10s.dtsi | 8 ++++++++ arch/arm/boot/dts/sun5i-a13.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+)