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: 9898459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 72E3A602BA for ; Mon, 14 Aug 2017 09:54:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 64328284F2 for ; Mon, 14 Aug 2017 09:54:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5909728500; Mon, 14 Aug 2017 09:54:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D6353284F2 for ; Mon, 14 Aug 2017 09:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=62Orpezwmju5Pu0pQQ8TeouS4BxKJDlGc2MoIoeYVoo=; b=j8CzV5YvF1VN8qLUJ0mqFuQfg6 H70nMFEsNm72UCLZTWQ7Lw8RXiFt7ReO/7xj64KSUby7yjduIhwHPmCwAOrTa4sc/6ZVg927G/8d4 i1ygzWYNLHOJT7XJgjRwsuTDdhVchLC0jWSYA784WjKz1+EOw9MZE2LMjbAJ1J3FbKVtMzAcUSJ0c 1Lm+gNJd9WFwbuW5wYNAH7V4jWGSrknBGhdSMxSIowa10C5Dr9Y1A8VhSeUp3HQJ5Uep6ApGD67LI +htDDgP/IjLI6CfIfrPipvVUpMhjn0AiagzeOTLsCdAUQOdLS56sxgwNhanWRlkgKBOxJ4BNxsAYa Bor8Gv9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhC4m-0008Gj-PB; Mon, 14 Aug 2017 09:54:24 +0000 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhC3a-0007EW-Ni for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2017 09:53:32 +0000 Received: by mail-pg0-x235.google.com with SMTP id y129so44163838pgy.4 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=GWFV2J9k0hYr5WvXQxaQrMIjC3kxNjFANpsTYLzzaxsuocbWzEglKGbeF7/haLL0O/ b7ki5KYhX84xBvaq1cmrE3og2S2uD2sDVds5EhB0yNhnnSlkH+eqdjObPhsfmwuTnJ7h rabtGHLjTW1hZjteSv3MRGZkooJPXR3/Bzsj/MgEuyDTPbMS21vmdnaMkMBmlmgxUEUc bXxVBm1dBQcUkU3Z1k2hZoqc790Tiqs5ezLe8m03HSDehm/wrKHknu8dWPR0hr3Lr1Lm 0tr0CVnWl1QHV/jkQ630PKQZfxhi1MwH47G/Mm0yuFhjgKLTHbQO8PmYpNMRtLqOTFJu GYFw== X-Gm-Message-State: AHYfb5jg/94ISDNlLn/adMXtNQnyMx/bBhqFrhDWBejmDXxac9xqlr3x 3XKas9FJyrmsvJlv 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170814_025311_338120_C77FF495 X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Guodong Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Wang Ruyi MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;