summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien CHAUVEAU <julien.chauveau@neo-technologies.fr>2014-10-10 10:04:13 +0200
committerHeiko Stuebner <heiko@sntech.de>2014-10-20 11:52:25 +0200
commitb3e3a7b25825407144a0178f291b20697f1537fb (patch)
tree2286175d8afd8b71e427a66abef5305b70fc499f
parent3adb1327fb020394a10394a5117ac7d2ec5334d3 (diff)
downloadblackbird-op-linux-b3e3a7b25825407144a0178f291b20697f1537fb.tar.gz
blackbird-op-linux-b3e3a7b25825407144a0178f291b20697f1537fb.zip
ARM: dts: rockchip: enable DMA on SPI for rk3066 and rk3188
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>
-rw-r--r--arch/arm/boot/dts/rk3xxx.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi
index 499468d42ada..9ba92de511ca 100644
--- a/arch/arm/boot/dts/rk3xxx.dtsi
+++ b/arch/arm/boot/dts/rk3xxx.dtsi
@@ -367,6 +367,8 @@
reg = <0x20070000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
+ dmas = <&dmac2 10>, <&dmac2 11>;
+ dma-names = "tx", "rx";
status = "disabled";
};
@@ -378,6 +380,8 @@
reg = <0x20074000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
+ dmas = <&dmac2 12>, <&dmac2 13>;
+ dma-names = "tx", "rx";
status = "disabled";
};
};
OpenPOWER on IntegriCloud