Commit 4192ff81 authored by Emilio López's avatar Emilio López Committed by Maxime Ripard

ARM: sun4i: dt: enable DMA on SPI

All of our SPI controllers support DMA transfers, so let's add the
properties here so they can be used when it's best to do so.
Signed-off-by: default avatarEmilio López <emilio@elopez.com.ar>
Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 316e0b0e
...@@ -353,6 +353,8 @@ spi0: spi@01c05000 { ...@@ -353,6 +353,8 @@ spi0: spi@01c05000 {
interrupts = <10>; interrupts = <10>;
clocks = <&ahb_gates 20>, <&spi0_clk>; clocks = <&ahb_gates 20>, <&spi0_clk>;
clock-names = "ahb", "mod"; clock-names = "ahb", "mod";
dmas = <&dma 1 27>, <&dma 1 26>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -364,6 +366,8 @@ spi1: spi@01c06000 { ...@@ -364,6 +366,8 @@ spi1: spi@01c06000 {
interrupts = <11>; interrupts = <11>;
clocks = <&ahb_gates 21>, <&spi1_clk>; clocks = <&ahb_gates 21>, <&spi1_clk>;
clock-names = "ahb", "mod"; clock-names = "ahb", "mod";
dmas = <&dma 1 9>, <&dma 1 8>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -459,6 +463,8 @@ spi2: spi@01c17000 { ...@@ -459,6 +463,8 @@ spi2: spi@01c17000 {
interrupts = <12>; interrupts = <12>;
clocks = <&ahb_gates 22>, <&spi2_clk>; clocks = <&ahb_gates 22>, <&spi2_clk>;
clock-names = "ahb", "mod"; clock-names = "ahb", "mod";
dmas = <&dma 1 29>, <&dma 1 28>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -498,6 +504,8 @@ spi3: spi@01c1f000 { ...@@ -498,6 +504,8 @@ spi3: spi@01c1f000 {
interrupts = <50>; interrupts = <50>;
clocks = <&ahb_gates 23>, <&spi3_clk>; clocks = <&ahb_gates 23>, <&spi3_clk>;
clock-names = "ahb", "mod"; clock-names = "ahb", "mod";
dmas = <&dma 1 31>, <&dma 1 30>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment