ARM: dts: sirf: move to use generic dma dt-binding for spi
authorBarry Song <Baohua.Song@csr.com>
Wed, 5 Mar 2014 03:18:41 +0000 (11:18 +0800)
committerBarry Song <Baohua.Song@csr.com>
Thu, 8 May 2014 05:30:15 +0000 (13:30 +0800)
in drivers/spi/spi-sirf.c, we have moved to use generic dma dt-binding.
here the dts should be changed too.

Cc: Mark Brown <broonie@linaro.org>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
arch/arm/boot/dts/atlas6.dtsi
arch/arm/boot/dts/prima2.dtsi

index c84c45c..43f4b1e 100644 (file)
                                reg = <0xb00d0000 0x10000>;
                                interrupts = <15>;
                                sirf,spi-num-chipselects = <1>;
-                               cs-gpios = <&gpio 0 0>;
-                               sirf,spi-dma-rx-channel = <25>;
-                               sirf,spi-dma-tx-channel = <20>;
+                               dmas = <&dmac1 9>,
+                                    <&dmac1 4>;
+                               dma-names = "rx", "tx";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&clks 19>;
                                reg = <0xb0170000 0x10000>;
                                interrupts = <16>;
                                sirf,spi-num-chipselects = <1>;
-                               sirf,spi-dma-rx-channel = <12>;
-                               sirf,spi-dma-tx-channel = <13>;
+                               dmas = <&dmac0 12>,
+                                    <&dmac0 13>;
+                               dma-names = "rx", "tx";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&clks 20>;
index 1e82571..65d7d15 100644 (file)
                                reg = <0xb00d0000 0x10000>;
                                interrupts = <15>;
                                sirf,spi-num-chipselects = <1>;
-                               sirf,spi-dma-rx-channel = <25>;
-                               sirf,spi-dma-tx-channel = <20>;
+                               dmas = <&dmac1 9>,
+                                    <&dmac1 4>;
+                               dma-names = "rx", "tx";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&clks 19>;
                                reg = <0xb0170000 0x10000>;
                                interrupts = <16>;
                                sirf,spi-num-chipselects = <1>;
-                               sirf,spi-dma-rx-channel = <12>;
-                               sirf,spi-dma-tx-channel = <13>;
+                               dmas = <&dmac0 12>,
+                                    <&dmac0 13>;
+                               dma-names = "rx", "tx";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                clocks = <&clks 20>;