Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756506AbdCUHIc (ORCPT ); Tue, 21 Mar 2017 03:08:32 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:32947 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792AbdCUHIa (ORCPT ); Tue, 21 Mar 2017 03:08:30 -0400 From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Wang Xiaoyin , Antonio Borneo , Zhong Kaihua , Guodong Xu Subject: [PATCH] arm64: dts: hi6220: enable DMA in spi0 Date: Tue, 21 Mar 2017 15:08:18 +0800 Message-Id: <20170321070818.3247-1-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 28 From: Wang Xiaoyin Enable DMA in spi0. Cc: Antonio Borneo Signed-off-by: Zhong Kaihua Signed-off-by: Guodong Xu Signed-off-by: Wang Xiaoyin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 470461d..e40625f 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -682,7 +682,8 @@ reg = <0x0 0xf7106000 0x0 0x1000>; interrupts = <0 50 4>; bus-id = <0>; - enable-dma = <0>; + dmas = <&dma0 0 &dma0 1>; + dma-names = "rx", "tx"; clocks = <&sys_ctrl HI6220_SPI_CLK>; clock-names = "apb_pclk"; pinctrl-names = "default"; -- 2.10.2