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: 9892565 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 DC782601EB for ; Thu, 10 Aug 2017 02:30:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C5C6328462 for ; Thu, 10 Aug 2017 02:30:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B9DAF289E2; Thu, 10 Aug 2017 02:30:30 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE 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 C169028A08 for ; Thu, 10 Aug 2017 02:30:29 +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=RDprKugs4spM0RAsnONlQ68tSk fMco/ptVrgWK0t28QLa6OSRq4euTQ5+3BTwbwaf/24EsaoaAnOiLgDYvXPIFV6uxYu15b7eOlg7nv h3IOStf5e08zBGo/qpmPXQH1dDM3WrzVtmKRr77pfLE/RKDCPTY7gQuy5UPr4sbb02zmyeh5h1zkh KYNNZWcQWhfCpPGPz79GwkF/ZvzDIBkCAJ8oIeiNAq3+NbJN3/FOgCaBvmG9OgNwUDpjiGXeLIZXq D8ykzWVN6mcfG4ObUH3G53qFHYydFWMEJhxILo/BaXmhHPVmilbiSg2E/iQ+JkLeIUKHe02iyRmiC ufEdoHrw==; 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 1dfdEp-0005cS-Rr; Thu, 10 Aug 2017 02:30:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfdCR-0002jy-13 for linux-arm-kernel@bombadil.infradead.org; Thu, 10 Aug 2017 02:27:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5C3GqD00RoPDh/C5JZXJrxmqSV/Dtiunz3j0ZgOxk4g=; b=uiVEzPQoU+5M9YDIKba5R3GRP c/9KG7U25KC1gz6yb9AhRViaXevLZSl4spBbyayLejIuhFT9GWKS1TwPuFcuiE+Ixi0HoGNanbKhK CMX3oRCnL+pEY7DOFBHlmUUwNz24qBHSxDC5CPs0DzkHsSKrXMqOq+yzUt6fNH3JWHIpzsRsBw0L+ ExAI6iNbaGmppU3DhQ56T6Bq7n0x3RPT9j8gIjhWSGK4tYzB5OPnVNloJ8Dn9yuGJYOGguOSmx7Q0 H4vGurevylaa9xcsW4IevrZC5PiV2W0fZgRvy+PnMRLWtmIvmrJe1JtiNvPGl0XSxd+Z+PRxddo9B fQo4cMCJg==; Received: from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dfdCM-000428-HS for linux-arm-kernel@lists.infradead.org; Thu, 10 Aug 2017 02:27:47 +0000 Received: by mail-pg0-x22e.google.com with SMTP id l64so35293909pge.5 for ; Wed, 09 Aug 2017 19:27:26 -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=RIbFXyy84d+kIth3T75ot5RG/7as2gefkff9hFbXzmCe7ppulCMgWrDH/m7nEC1D3x mMwTXHlNEjAUfdVqkew22ZDTOXpmXmuUzjdRFfPOPJVq7B7UEmJjHjaPx0WLEz5RCmys mho/WJQbKyFkV6wYag/BLpYAm0u/gMpDsKS78pH3JWxotjPpChqGRpMngnxdzRjmX1tK DMoX/+7qGzlGq6fS3IUfn1BiDehBDaLjihiaGbAa8WQSaHLBOBXjm1n0P9hHNrMaRnPb ciU6UZX3AE7VsRNUlUE2kfVS24EnHmkKNyVlg+tPvkyih0GTZ8zjOGy+e7waAcdX1qHh ZkRQ== X-Gm-Message-State: AHYfb5iANp5OmE79n7R4QJk1f5rUyfJAvYRlNDMNmgWX9cvdA3ztoXNc hkwZfXnXPDeNmMWW 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 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> 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>;