ARM: dts: imx6: Use correct SDMA script for SPI cores
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Feb 2016 13:28:59 +0000 (14:28 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:35 +0000 (16:17 +0800)
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: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi

index 4f6ae921656f16dfd3814d7a70972be798e0fce9..06d2c4ef5c0a5bdd2ca1487da3ac706ca273a9cf 100644 (file)
                                        clocks = <&clks IMX6QDL_CLK_ECSPI1>,
                                                 <&clks IMX6QDL_CLK_ECSPI1>;
                                        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";
                                        status = "disabled";
                                };
                                        clocks = <&clks IMX6QDL_CLK_ECSPI2>,
                                                 <&clks IMX6QDL_CLK_ECSPI2>;
                                        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";
                                        status = "disabled";
                                };
                                        clocks = <&clks IMX6QDL_CLK_ECSPI3>,
                                                 <&clks IMX6QDL_CLK_ECSPI3>;
                                        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";
                                        status = "disabled";
                                };
                                        clocks = <&clks IMX6QDL_CLK_ECSPI4>,
                                                 <&clks IMX6QDL_CLK_ECSPI4>;
                                        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";
                                        status = "disabled";
                                };