Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1286720ybh; Mon, 13 Jul 2020 14:36:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvcRHucYcK6UcXbElXigZOEt8xllNDCQDNLkZyIhishHx6lzX7O0zsDaTEPnlSePAd+yjc X-Received: by 2002:aa7:d693:: with SMTP id d19mr1384020edr.317.1594676209279; Mon, 13 Jul 2020 14:36:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594676209; cv=none; d=google.com; s=arc-20160816; b=HrE2QbEQ9PLKYH4lQSvjACCQSs7ZPp0dge5XaJovuq+KzA+/BngyQ7pRQW36SsqSbN 7S/rxi5h0dxz/GD99wGEsrOPWS+1fZDqQSE6QqjZg6PPTyo7MerAar6w2BXNwte7VznM 6w5q31Xz1tPFwb/+uAyk+ptuTXqHRYvhWgIhVR5uaRB3/5i6FESEvhzO2zPTZvuVuMQV XBYlO02YzqhNGOo0y/88p+/O3jzUT+Bb7zebbFBe5VO0FkWQ9vn1yED9WMmY+nGRWscv g7rdbPqmratJ1n+tg77Qs2GLKFMbwj8iMyFHJE/6BBvZyLJo9CwcJPmuK2Zr+4euren9 X1yQ== 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; bh=L5SPiPj2+MyNU3mWcwBqH/ir3urx/uQCnXj4GNXDYr0=; b=WnFEw+cjNQL2v9pBeGcKiqTYDRs0wP6ZLoldYzha0foL5vdgxrLk3eNR8nkxVYJiZ8 0r7qMJQGty7iSZsGcRPHF/9rfTPlN15AWRFFzN99MyIN3mIaQ/QsRcm4AXwA26MrllnP vIbF03dl0dPcZPpbkLGiHo1XEk1PwIFJhz/ZBkAv+/73PgR2lPrpCnouFJ5g0gesJctL rbZuYyVg3Tk8tfQpsF0VcBj9jwDgWn7U21Gr6F81rbKb+lRXoc5WcohElEg1A5eML49n a9sm6tAGY0iKJUs6i9bOEh0rey85Uqg4ho4KuzUCkMMDDeT+Xo+Qg+tYIU7YJ7I94U5X 6L3A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si10867731edl.596.2020.07.13.14.36.26; Mon, 13 Jul 2020 14:36:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbgGMVfx (ORCPT + 99 others); Mon, 13 Jul 2020 17:35:53 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:16635 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726736AbgGMVft (ORCPT ); Mon, 13 Jul 2020 17:35:49 -0400 X-IronPort-AV: E=Sophos;i="5.75,348,1589209200"; d="scan'208";a="51803370" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 14 Jul 2020 06:35:46 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 3194340F7FC8; Tue, 14 Jul 2020 06:35:43 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Vinod Koul , Rob Herring , Linus Walleij , Bartosz Golaszewski , Joerg Roedel , Sergei Shtylyov , "David S. Miller" , Jakub Kicinski Cc: Magnus Damm , Yoshihiro Shimoda , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar Subject: [PATCH 5/9] arm64: dts: renesas: r8a774e1: Add SYS-DMAC device nodes Date: Mon, 13 Jul 2020 22:35:16 +0100 Message-Id: <1594676120-5862-6-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1594676120-5862-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1594676120-5862-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marian-Cristian Rotariu Add sys-dmac[0-2] device nodes for RZ/G2H (R8A774E1) SoC. Signed-off-by: Marian-Cristian Rotariu Signed-off-by: Lad Prabhakar --- arch/arm64/boot/dts/renesas/r8a774e1.dtsi | 126 ++++++++++++++++++++++ 1 file changed, 126 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi index 0fc0d9ff5bc5..9e05d134a295 100644 --- a/arch/arm64/boot/dts/renesas/r8a774e1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774e1.dtsi @@ -408,6 +408,132 @@ /* placeholder */ }; + dmac0: dma-controller@e6700000 { + compatible = "renesas,dmac-r8a774e1", + "renesas,rcar-dmac"; + reg = <0 0xe6700000 0 0x10000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 219>; + clock-names = "fck"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 219>; + #dma-cells = <1>; + dma-channels = <16>; + iommus = <&ipmmu_ds0 0>, <&ipmmu_ds0 1>, + <&ipmmu_ds0 2>, <&ipmmu_ds0 3>, + <&ipmmu_ds0 4>, <&ipmmu_ds0 5>, + <&ipmmu_ds0 6>, <&ipmmu_ds0 7>, + <&ipmmu_ds0 8>, <&ipmmu_ds0 9>, + <&ipmmu_ds0 10>, <&ipmmu_ds0 11>, + <&ipmmu_ds0 12>, <&ipmmu_ds0 13>, + <&ipmmu_ds0 14>, <&ipmmu_ds0 15>; + }; + + dmac1: dma-controller@e7300000 { + compatible = "renesas,dmac-r8a774e1", + "renesas,rcar-dmac"; + reg = <0 0xe7300000 0 0x10000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 218>; + clock-names = "fck"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 218>; + #dma-cells = <1>; + dma-channels = <16>; + iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>, + <&ipmmu_ds1 2>, <&ipmmu_ds1 3>, + <&ipmmu_ds1 4>, <&ipmmu_ds1 5>, + <&ipmmu_ds1 6>, <&ipmmu_ds1 7>, + <&ipmmu_ds1 8>, <&ipmmu_ds1 9>, + <&ipmmu_ds1 10>, <&ipmmu_ds1 11>, + <&ipmmu_ds1 12>, <&ipmmu_ds1 13>, + <&ipmmu_ds1 14>, <&ipmmu_ds1 15>; + }; + + dmac2: dma-controller@e7310000 { + compatible = "renesas,dmac-r8a774e1", + "renesas,rcar-dmac"; + reg = <0 0xe7310000 0 0x10000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15"; + clocks = <&cpg CPG_MOD 217>; + clock-names = "fck"; + power-domains = <&sysc R8A774E1_PD_ALWAYS_ON>; + resets = <&cpg 217>; + #dma-cells = <1>; + dma-channels = <16>; + iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>, + <&ipmmu_ds1 18>, <&ipmmu_ds1 19>, + <&ipmmu_ds1 20>, <&ipmmu_ds1 21>, + <&ipmmu_ds1 22>, <&ipmmu_ds1 23>, + <&ipmmu_ds1 24>, <&ipmmu_ds1 25>, + <&ipmmu_ds1 26>, <&ipmmu_ds1 27>, + <&ipmmu_ds1 28>, <&ipmmu_ds1 29>, + <&ipmmu_ds1 30>, <&ipmmu_ds1 31>; + }; + ipmmu_ds0: iommu@e6740000 { compatible = "renesas,ipmmu-r8a774e1"; reg = <0 0xe6740000 0 0x1000>; -- 2.17.1