diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2014-12-16 16:59:56 -0500 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-01-21 03:58:56 -0500 |
commit | 1f9f6a78735f56f5d718565b235c7e0188933e2d (patch) | |
tree | 1e08d2ad8b49aa097035d2e40dbd297466aab626 /arch/arm/boot/dts/sun5i-a13.dtsi | |
parent | bca12924f09dc03f2bda3b3e39408fee920a343b (diff) |
ARM: sunxi: DT: Convert the DTs to use a header for the DMA arguments
The DMA engine for the A10/A20 and derivatives require an opaque extra
argument.
Add a dt-bindings header, and convert the device trees to it.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13.dtsi')
-rw-r--r-- | arch/arm/boot/dts/sun5i-a13.dtsi | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index 93f1c8435019..43441fc3b1a1 100644 --- a/arch/arm/boot/dts/sun5i-a13.dtsi +++ b/arch/arm/boot/dts/sun5i-a13.dtsi | |||
@@ -13,6 +13,8 @@ | |||
13 | 13 | ||
14 | #include "skeleton.dtsi" | 14 | #include "skeleton.dtsi" |
15 | 15 | ||
16 | #include <dt-bindings/dma/sun4i-a10.h> | ||
17 | |||
16 | / { | 18 | / { |
17 | interrupt-parent = <&intc>; | 19 | interrupt-parent = <&intc>; |
18 | 20 | ||
@@ -304,7 +306,8 @@ | |||
304 | interrupts = <10>; | 306 | interrupts = <10>; |
305 | clocks = <&ahb_gates 20>, <&spi0_clk>; | 307 | clocks = <&ahb_gates 20>, <&spi0_clk>; |
306 | clock-names = "ahb", "mod"; | 308 | clock-names = "ahb", "mod"; |
307 | dmas = <&dma 1 27>, <&dma 1 26>; | 309 | dmas = <&dma SUN4I_DMA_DEDICATED 27>, |
310 | <&dma SUN4I_DMA_DEDICATED 26>; | ||
308 | dma-names = "rx", "tx"; | 311 | dma-names = "rx", "tx"; |
309 | status = "disabled"; | 312 | status = "disabled"; |
310 | #address-cells = <1>; | 313 | #address-cells = <1>; |
@@ -317,7 +320,8 @@ | |||
317 | interrupts = <11>; | 320 | interrupts = <11>; |
318 | clocks = <&ahb_gates 21>, <&spi1_clk>; | 321 | clocks = <&ahb_gates 21>, <&spi1_clk>; |
319 | clock-names = "ahb", "mod"; | 322 | clock-names = "ahb", "mod"; |
320 | dmas = <&dma 1 9>, <&dma 1 8>; | 323 | dmas = <&dma SUN4I_DMA_DEDICATED 9>, |
324 | <&dma SUN4I_DMA_DEDICATED 8>; | ||
321 | dma-names = "rx", "tx"; | 325 | dma-names = "rx", "tx"; |
322 | status = "disabled"; | 326 | status = "disabled"; |
323 | #address-cells = <1>; | 327 | #address-cells = <1>; |
@@ -380,7 +384,8 @@ | |||
380 | interrupts = <12>; | 384 | interrupts = <12>; |
381 | clocks = <&ahb_gates 22>, <&spi2_clk>; | 385 | clocks = <&ahb_gates 22>, <&spi2_clk>; |
382 | clock-names = "ahb", "mod"; | 386 | clock-names = "ahb", "mod"; |
383 | dmas = <&dma 1 29>, <&dma 1 28>; | 387 | dmas = <&dma SUN4I_DMA_DEDICATED 29>, |
388 | <&dma SUN4I_DMA_DEDICATED 28>; | ||
384 | dma-names = "rx", "tx"; | 389 | dma-names = "rx", "tx"; |
385 | status = "disabled"; | 390 | status = "disabled"; |
386 | #address-cells = <1>; | 391 | #address-cells = <1>; |