From patchwork Mon Aug 14 09:50:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 109974 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4118373qge; Mon, 14 Aug 2017 02:53:22 -0700 (PDT) X-Received: by 10.84.176.195 with SMTP id v61mr26720166plb.271.1502704402359; Mon, 14 Aug 2017 02:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502704402; cv=none; d=google.com; s=arc-20160816; b=A7YQlnq2bByB3X7/kZ6GJsk435svnE9ar4Qpvv0k9ulGACn/F/lAg79bmg37mBnuGw kBDn5FSdY9Tn+XNKFObMC0ceM79LId0KAlmo+fAQUoWwUjCQj3u7jj024ulQF+TtgfJh d5Vsja9xHm0x+5Z6jn92xrhLeZ+e5Nc9dD8o8JwEkF8QF5qRq4YEBu0XFxjpoetNQbKZ xqcTK3IRCDQod4t6+ffwtHzQ5d9V2gs3ixEF/58LKPA+7WKZ2nDWLiCxu1t3/fI9GcBI 0RcHBbj1sSRaL5k9mwj2VFuOBH5sbPtyOG3k/TNm3B2T5iQLkn1RW2dCaQ1hpxuJ4u5y Z9IA== 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=TUlGazoH6iilRvZatUVqJAxb0mmzxAwP586z1iggTvE++oceP3NxmKPZZnJF8JtQdR mKgmtl7qZSgtyV4SMYYaB/HSUNrR6lbj9Q2zQysNgfpr/pgh+cV7plOAQNxVcnwuBUVW buTbpan+amSNwYtKS9pGVukYBdwS1V8mqIZ04FNO9AII/mvoANig2XmGia8nRZWV+PIe rHGIjJob/QcRfhZ1w9Lx8PB/p4Qbb4I7OhF8XiWB/K6Puq01I3ImrmYKdckwRQ4WruDa 8/OuM+XUL9h0NHYqgkJQJCRQyEBDm/Fh7n5U08Cj3KFPMd3WJEJYKSBfCqMng++4wzMf YeVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NDNqvF9e; 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 d6si3854200pgc.951.2017.08.14.02.53.21; Mon, 14 Aug 2017 02:53:22 -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=NDNqvF9e; 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 S1753004AbdHNJxS (ORCPT + 25 others); Mon, 14 Aug 2017 05:53:18 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:35030 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752882AbdHNJwu (ORCPT ); Mon, 14 Aug 2017 05:52:50 -0400 Received: by mail-pg0-f54.google.com with SMTP id v189so44096658pgd.2 for ; Mon, 14 Aug 2017 02:52:50 -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=NDNqvF9eB2bNPzQJAEQSzC+SZqyHtkJpT2HsxGF/uYk3GDFD8YMFbVlVU1AG/sJExX y7dDcgz1kt6NLJMmDv4n3JptLWktUOxDledv302Z16SvpofWavpZd9hkQh65P0DDsjp8 TT3KYfDpLDIJp9+Vc3lh78s1f9fqdV62DWVzg= 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=Rp2M4iQbID52g4/3Zpnojld+eW7IQY3DapFhcM9a5IlSKhV2V8PBu6DlP/4KfR5oza SzfiR76sBmefCc7LPVPlbyK5Gfb5i9MD7TX6QVSQPh8knXSjIJ0JcQnxE6nBu96nbtEM 27FBO8w+mfgttardB3euOEdnD3ARGrvojzfhgJkpmG1FGRcOW1Q4U1q2bGAxxYwnYN2R Ywq52ICrHwc9xNNZc9fowWBKyIF6EBCDsojsSb4rEatpqDbVLrdkKdM2nhuotSMUyTpS AzsnCBedaq+Rl2FjgiqoUdZnk+gazxISvjpKYHTm1K2oaQLhPUFIUZZWFGyipd5X/fEp JEBg== X-Gm-Message-State: AHYfb5hyiV6nX5q0BOETAq2XggFuD3qqyMDhx7FXRHb9KIe5hYttZJO+ e/16YhgBtBpd3q+O X-Received: by 10.99.117.71 with SMTP id f7mr22870329pgn.245.1502704369769; Mon, 14 Aug 2017 02:52:49 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.41.135.45]) by smtp.gmail.com with ESMTPSA id e63sm3468674pfc.24.2017.08.14.02.52.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 02:52:49 -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 v3 09/10] arm64: dts: hi3660: add bindings for DMA Date: Mon, 14 Aug 2017 17:50:48 +0800 Message-Id: <20170814095049.27701-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170814095049.27701-1-guodong.xu@linaro.org> References: <20170814095049.27701-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>;