Commit dd4b487b authored by Sascha Hauer's avatar Sascha Hauer Committed by Shawn Guo

ARM: dts: imx6: Use correct SDMA script for SPI cores

According to the reference manual the shp_2_mcu / mcu_2_shp
scripts must be used for devices connected through the SPBA.

This fixes an issue we saw with DMA transfers from SPI NOR Flashes.
Sometimes the SPI controller RX FIFO was not empty after a DMA
transfer and the driver got stuck in the next PIO transfer when
it read one word more than expected.
Signed-off-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 3da17857
...@@ -261,7 +261,7 @@ ecspi1: ecspi@02008000 { ...@@ -261,7 +261,7 @@ ecspi1: ecspi@02008000 {
clocks = <&clks IMX6QDL_CLK_ECSPI1>, clocks = <&clks IMX6QDL_CLK_ECSPI1>,
<&clks IMX6QDL_CLK_ECSPI1>; <&clks IMX6QDL_CLK_ECSPI1>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 3 7 1>, <&sdma 4 7 2>; dmas = <&sdma 3 8 1>, <&sdma 4 8 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -275,7 +275,7 @@ ecspi2: ecspi@0200c000 { ...@@ -275,7 +275,7 @@ ecspi2: ecspi@0200c000 {
clocks = <&clks IMX6QDL_CLK_ECSPI2>, clocks = <&clks IMX6QDL_CLK_ECSPI2>,
<&clks IMX6QDL_CLK_ECSPI2>; <&clks IMX6QDL_CLK_ECSPI2>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 5 7 1>, <&sdma 6 7 2>; dmas = <&sdma 5 8 1>, <&sdma 6 8 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -289,7 +289,7 @@ ecspi3: ecspi@02010000 { ...@@ -289,7 +289,7 @@ ecspi3: ecspi@02010000 {
clocks = <&clks IMX6QDL_CLK_ECSPI3>, clocks = <&clks IMX6QDL_CLK_ECSPI3>,
<&clks IMX6QDL_CLK_ECSPI3>; <&clks IMX6QDL_CLK_ECSPI3>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 7 7 1>, <&sdma 8 7 2>; dmas = <&sdma 7 8 1>, <&sdma 8 8 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -303,7 +303,7 @@ ecspi4: ecspi@02014000 { ...@@ -303,7 +303,7 @@ ecspi4: ecspi@02014000 {
clocks = <&clks IMX6QDL_CLK_ECSPI4>, clocks = <&clks IMX6QDL_CLK_ECSPI4>,
<&clks IMX6QDL_CLK_ECSPI4>; <&clks IMX6QDL_CLK_ECSPI4>;
clock-names = "ipg", "per"; clock-names = "ipg", "per";
dmas = <&sdma 9 7 1>, <&sdma 10 7 2>; dmas = <&sdma 9 8 1>, <&sdma 10 8 2>;
dma-names = "rx", "tx"; dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
......
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