All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Magnus Damm <damm+renesas@opensource.se>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 14/58] arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
Date: Thu, 13 Sep 2018 11:09:09 +0200	[thread overview]
Message-ID: <4d76ad7d9de05506f1ee9a7b22416440468be090.1536828567.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1536828567.git.horms+renesas@verge.net.au>

From: Magnus Damm <damm+renesas@opensource.se>

For R-Car M3-N hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to
IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car M3-W.
This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 52205be430d0..7a75c351edd2 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -634,6 +634,14 @@
 			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 {
@@ -668,6 +676,14 @@
 			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 {
@@ -702,6 +718,14 @@
 			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: mmu@e6740000 {
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 14/58] arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
Date: Thu, 13 Sep 2018 11:09:09 +0200	[thread overview]
Message-ID: <4d76ad7d9de05506f1ee9a7b22416440468be090.1536828567.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1536828567.git.horms+renesas@verge.net.au>

From: Magnus Damm <damm+renesas@opensource.se>

For R-Car M3-N hook up SYS-DMAC0, SYS-DMAC1 and SYS-DMAC2 to
IPMMU-DS0 and IPMMU-DS1 in same way as for R-Car M3-W.
This follows the R-Car Gen3 Rev.1.00 (April 2018) datasheet.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a77965.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
index 52205be430d0..7a75c351edd2 100644
--- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi
@@ -634,6 +634,14 @@
 			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 at e7300000 {
@@ -668,6 +676,14 @@
 			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 at e7310000 {
@@ -702,6 +718,14 @@
 			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: mmu at e6740000 {
-- 
2.11.0

  parent reply	other threads:[~2018-09-13 14:18 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-13  9:09 [GIT PULL] Renesas ARM64 Based SoC DT Updates for v4.20 Simon Horman
2018-09-13  9:09 ` Simon Horman
2018-09-13  9:08 ` [PATCH 01/58] arm64: dts: renesas: r8a77980: add RWDT support Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 02/58] arm64: dts: renesas: Include R-Car product name in DTSI files Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 03/58] arm64: dts: renesas: r8a77995: Attach the SYS-DMAC to the IPMMU Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:08 ` [PATCH 04/58] arm64: dts: renesas: Convert to new LVDS DT bindings Simon Horman
2018-09-13  9:08   ` Simon Horman
2018-09-13  9:09 ` [PATCH 05/58] arm64: dts: renesas: r8a77980: add Cortex-A53 PMU support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 06/58] arm64: dts: renesas: r8a77990: Enable PWM for Ebisu board Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 07/58] arm64: dts: renesas: r8a77980: move IPMMU nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 08/58] arm64: dts: renesas: r8a779{7|8}0: move CAN clock node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 09/58] arm64: dts: renesas: r8a77965: Add SATA controller node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 10/58] arm64: dts: renesas: salvator-xs: enable SATA Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 11/58] arm64: dts: renesas: r8a77980: add CSI2/VIN support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 12/58] arm64: dts: renesas: salvator-common: adv748x: Override secondary addresses Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 13/58] arm64: dts: renesas: Initial r8a774a1 SoC device tree Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` Simon Horman [this message]
2018-09-13  9:09   ` [PATCH 14/58] arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU Simon Horman
2018-09-13  9:09 ` [PATCH 15/58] arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes Simon Horman
2018-09-13  9:09   ` [PATCH 15/58] arm64: dts: renesas: r8a77965: Add CAN{0, 1} " Simon Horman
2018-09-13  9:09 ` [PATCH 16/58] arm64: dts: renesas: r8a77965: m3nulcb: Initial device tree Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 17/58] arm64: dts: renesas: r8a77965: Add OPPs table for cpu devices Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 18/58] arm64: dts: renesas: r8a77970: add MMC support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 19/58] arm64: dts: renesas: v3msk: add eMMC support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 20/58] arm64: dts: renesas: condor/v3hsk: add DU/LVDS/HDMI support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 21/58] arm64: dts: renesas: r8a774a1: Add SYS-DMAC controller nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 22/58] arm64: dts: renesas: r8a774a1: Add SCIF and HSCIF nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 23/58] arm64: dts: renesas: r8a774a1: Add INTC-EX device node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 24/58] arm64: dts: renesas: r8a774a1: Add Ethernet AVB node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 25/58] arm64: dts: renesas: r8a774a1: Add RWDT node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 26/58] arm64: dts: renesas: r8a774a1: Add pinctrl device node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 27/58] arm64: dts: renesas: r8a774a1: Add GPIO device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 28/58] arm64: dts: renesas: r8a774a1: Add SDHI nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 29/58] arm64: dts: renesas: r8a774a1: Add I2C and IIC-DVFS support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 30/58] arm64: dts: renesas: r8a774a1: Add RZ/G2M thermal support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 31/58] arm64: dts: renesas: r8a774a1: Add IPMMU device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 32/58] arm64: dts: renesas: r8a774a1: Add all MSIOF nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 33/58] arm64: dts: renesas: r8a774a1: Add Cortex-A53 CPU cores Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 34/58] arm64: dts: renesas: r8a774a1: Add PWM device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 35/58] arm64: dts: renesas: r8a774a1: Add audio support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 36/58] arm64: dts: renesas: r8a774a1: Add FCPF and FCPV instances Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 37/58] arm64: dts: renesas: r8a774a1: Add USB2.0 phy and host(EHCI/OHCI) device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 38/58] arm64: dts: renesas: r8a774a1: Add USB-DMAC and HSUSB " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 39/58] arm64: dts: renesas: r8a774a1: Add USB3.0 " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 40/58] arm64: dts: renesas: r8a77980: add PCIe support Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 41/58] arm64: dts: renesas: condor: " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 42/58] arm64: dts: renesas: r8a77965: m3nulcb-kf: Initial device tree Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 43/58] arm64: dts: renesas: Fix whitespace around assignments Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 44/58] arm64: dts: renesas: v3hsk: Move lvds0 node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 45/58] arm64: dts: renesas: r8a77965: Move timer node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 46/58] arm64: dts: renesas: r8a77965: Fix HS-USB compatible Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 47/58] arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1 Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 48/58] arm64: dts: renesas: salvator-xs: Improve SATA switch settings comments Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 49/58] arm64: dts: renesas: r8a77990: Use CPG/MSSR and SYSC binding definitions Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 50/58] arm64: dts: renesas: r8a77990: Add BRG support to SCIF2 Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 51/58] arm64: dts: renesas: r8a7795: Move arm_cc630p node Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 52/58] arm64: dts: renesas: r8a77990: Add all MSIOF nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 53/58] arm64: dts: renesas: r8a77990: Add VIN and CSI-2 device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 54/58] arm64: dts: renesas: r8a77990: Add I2C " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 55/58] arm64: dts: renesas: r8a77990: Add SYS-DMAC " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 56/58] arm64: dts: renesas: enable SDR104 on R-Car Gen3 Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 57/58] arm64: dts: renesas: draak: Sort device nodes Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-13  9:09 ` [PATCH 58/58] arm64: dts: r8a77965: add FDP1 " Simon Horman
2018-09-13  9:09   ` Simon Horman
2018-09-23 13:19 ` [GIT PULL] Renesas ARM64 Based SoC DT Updates for v4.20 Olof Johansson
2018-09-23 13:19   ` Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d76ad7d9de05506f1ee9a7b22416440468be090.1536828567.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=damm+renesas@opensource.se \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.