]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: rockchip: enable DMA on SPI for rk3066 and rk3188
authorJulien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Fri, 10 Oct 2014 08:04:13 +0000 (10:04 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 20 Oct 2014 09:52:25 +0000 (11:52 +0200)
According to the RK3066 and RK3188 TRM, the two SPI controllers support DMA
handshake interface. Add the DMA properties so they can be used when needed.

Signed-off-by: Julien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3xxx.dtsi

index 499468d42adac51007f6c663c6b2e0e64cd67ef6..9ba92de511cae32fa156d445973c508a89edf52e 100644 (file)
                reg = <0x20070000 0x1000>;
                #address-cells = <1>;
                #size-cells = <0>;
+               dmas = <&dmac2 10>, <&dmac2 11>;
+               dma-names = "tx", "rx";
                status = "disabled";
        };
 
                reg = <0x20074000 0x1000>;
                #address-cells = <1>;
                #size-cells = <0>;
+               dmas = <&dmac2 12>, <&dmac2 13>;
+               dma-names = "tx", "rx";
                status = "disabled";
        };
 };