ARM: dts: vfxxx: Enable DMA for DSPI on Vybrid
authorSanchayan Maity <maitysanchayan@gmail.com>
Mon, 3 Oct 2016 12:50:37 +0000 (18:20 +0530)
committerShawn Guo <shawnguo@kernel.org>
Mon, 24 Oct 2016 08:47:50 +0000 (16:47 +0800)
Enable DMA for DSPI on Vybrid.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf-colibri.dtsi
arch/arm/boot/dts/vfxxx.dtsi

index b7417094dc11c32578856090b2bfc22f4df6ddb8..21bfef957b68bf2f6643c79be43d18ba2b352ac3 100644 (file)
        status = "okay";
 };
 
+&edma1 {
+       status = "okay";
+};
+
 &esdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_esdhc1>;
index 75850c03354549deca5efc501429c2f3b031bfd8..000550f7b9dd4d8d0abb2f0ff79ecfc99e535522 100644 (file)
                                clocks = <&clks VF610_CLK_DSPI0>;
                                clock-names = "dspi";
                                spi-num-chipselects = <6>;
+                               dmas = <&edma1 1 12>,
+                                       <&edma1 1 13>;
+                               dma-names = "rx", "tx";
                                status = "disabled";
                        };
 
                                clocks = <&clks VF610_CLK_DSPI1>;
                                clock-names = "dspi";
                                spi-num-chipselects = <4>;
+                               dmas = <&edma1 1 14>,
+                                       <&edma1 1 15>;
+                               dma-names = "rx", "tx";
                                status = "disabled";
                        };