From patchwork Thu Aug 10 02:26:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109764 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1716426qge; Wed, 9 Aug 2017 19:27:29 -0700 (PDT) X-Received: by 10.84.241.207 with SMTP id t15mr11392378plm.406.1502332049891; Wed, 09 Aug 2017 19:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502332049; cv=none; d=google.com; s=arc-20160816; b=jqqTHzPxSlLolA5VY6CKBAFaf6k8cWUbJh0lH1OcjEE2CcM9f3bjXeK9piksCro0z1 I95f9TPTTblDxqLxM8qXC4BoHRoMIr9dT3gtdpp1LuuZE09a1qXc2pku1eyDQA/uAZ3l 94Hujp7tLedghQJZsUMWhtr2C1wuJsRijqChjJeRyDUs7JZi8otpgum0HdKs0XbyPqBb WguBXnfEwaTdzfcjHiDu1y308gbv411WjBQqaFPtF0GjoZv0iMfDMy6VQDwX3QVzjM60 S4qGc6WQj1JCGg7cJ5Mt4EdXSsxOgSF65AekbrAToQmhUKyeZpMO/D1D0CL/1wCH0VXi v5aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=L8ANNnBt1gujpH6EUXj4ohg241/33qbglL0fAjgNWSfWSwU4Q3B6MOTutUle2BBUpw 5XuoN682NxSRxvHiQ/tCHJ1/KfiGfCx2UovoGjhnWmoPDwioZKm9lA1z5/xJmWLxJcWO GQXWzV2aWWVqXbmM8fy0BDWJpAeADJQW+NB0mQFbxgq9e/2ny9U/tFxTmA5Ot5hapFUr BbpWTeJNj3OsTD0wJrWUWEwRjvdjOUuB+wce2+7C9mXrCf//5O6k044YY82ahBogyJNE vgQ9gpulscLJxTORFDV7iE9ZZzCRV2ghVds1phfFu65COGEe2LtobWR8hzm9xx9AhUb3 2j0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jztb4qwF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 192si3405275pfu.424.2017.08.09.19.27.29; Wed, 09 Aug 2017 19:27:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Jztb4qwF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbdHJC11 (ORCPT + 25 others); Wed, 9 Aug 2017 22:27:27 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:35081 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752681AbdHJC1Y (ORCPT ); Wed, 9 Aug 2017 22:27:24 -0400 Received: by mail-pg0-f44.google.com with SMTP id v189so35393991pgd.2 for ; Wed, 09 Aug 2017 19:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=Jztb4qwF7Z0laAHtu+uBuvNHtkHa54xUM0rXFsWivNOA8F7KpACwEQs3Cm2ZvwwS8e V4XYqKsQpkooIw6zxqmqo+CjbUtx8HYqud7cLnDhhrQ4YMQNFzAIPhRub+Fgds3QLul+ V9ZOjnggHan0LvEAF2sxZKu1aXPvax9ig2vzk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=HyBygxQdWE+3IiTgSUprOuSfN7AfjZIxK1rjoNbTwykRoO2990kHy86XHiUS4/7c+A XHIHD6UW2XO14SJOTJzqmENOdv6zN6RbEYgd+Q3gr1UOybw/K9evMqLEZ9CZvG/F1D5U GONekhAYMIsHQjaxT2JySQTJqDce+Cql2X8zVafmY52AHIW9xwRUCE0X1ZpXT7mu7SXc aEhX9H5yIy3Zfkl08GzTWEd6NTQOQlbH0AGLWm2cNSSxiAFHpZ+BL9bld8pfMHao0Eo0 WOBdq6v0uaGlo18158Z9BgDX6FA5csS3S3GXb7T1Ex+YwDCvEwYASXxUY1btv1WdBI/m JYhQ== X-Gm-Message-State: AHYfb5iBj+r3lsOKkmF2+yw9rpEYmCum1enG6+DaRB08GGJmpFO1z7dM ceKMP28UsJ+6NZGJ X-Received: by 10.99.160.80 with SMTP id u16mr9793937pgn.26.1502332043997; Wed, 09 Aug 2017 19:27:23 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.55]) by smtp.gmail.com with ESMTPSA id s11sm7789166pgr.53.2017.08.09.19.27.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Aug 2017 19:27:23 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, keescook@chromium.org, anton@enomsg.org, ccross@android.com, tony.luck@intel.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Wang Ruyi , Guodong Xu Subject: [PATCH v2 9/9] arm64: dts: hi3660: add bindings for DMA Date: Thu, 10 Aug 2017 10:26:15 +0800 Message-Id: <20170810022615.19204-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170810022615.19204-1-guodong.xu@linaro.org> References: <20170810022615.19204-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wang Ruyi Add bindings for DMA. Signed-off-by: Wang Ruyi Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) -- 2.10.2 diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 41841f7..545d435 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -436,6 +436,19 @@ status = "disabled"; }; + dma0: dma@fdf30000 { + compatible = "hisilicon,k3-dma-1.0"; + reg = <0x0 0xfdf30000 0x0 0x1000>; + #dma-cells = <1>; + dma-channels = <16>; + dma-requests = <32>; + dma-min-chan = <1>; + interrupts = ; + clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>; + dma-no-cci; + dma-type = "hi3660_dma"; + }; + rtc0: rtc@fff04000 { compatible = "arm,pl031", "arm,primecell"; reg = <0x0 0Xfff04000 0x0 0x1000>;