devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>
Cc: Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Subject: [PATCH 08/22] ARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes
Date: Tue, 27 Nov 2018 11:56:21 +0000	[thread overview]
Message-ID: <1543319795-48325-9-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1543319795-48325-1-git-send-email-biju.das@bp.renesas.com>

Add usb dmac and hsusb device nodes on RZ/G1N SoC dtsi.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7744.dtsi | 42 +++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 41 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7744.dtsi b/arch/arm/boot/dts/r8a7744.dtsi
index 3549ee1..118a596 100644
--- a/arch/arm/boot/dts/r8a7744.dtsi
+++ b/arch/arm/boot/dts/r8a7744.dtsi
@@ -463,8 +463,20 @@
 		};
 
 		hsusb: usb@e6590000 {
+			compatible = "renesas,usbhs-r8a7744",
+				     "renesas,rcar-gen2-usbhs";
 			reg = <0 0xe6590000 0 0x100>;
-			/* placeholder */
+			interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 704>;
+			dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
+			       <&usb_dmac1 0>, <&usb_dmac1 1>;
+			dma-names = "ch0", "ch1", "ch2", "ch3";
+			power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+			resets = <&cpg 704>;
+			renesas,buswait = <4>;
+			phys = <&usb0 1>;
+			phy-names = "usb";
+			status = "disabled";
 		};
 
 		usbphy: usb-phy@e6590100 {
@@ -489,6 +501,34 @@
 			};
 		};
 
+		usb_dmac0: dma-controller@e65a0000 {
+			compatible = "renesas,r8a7744-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65a0000 0 0x100>;
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 330>;
+			power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+			resets = <&cpg 330>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller@e65b0000 {
+			compatible = "renesas,r8a7744-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65b0000 0 0x100>;
+			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 331>;
+			power-domains = <&sysc R8A7744_PD_ALWAYS_ON>;
+			resets = <&cpg 331>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
 		dmac0: dma-controller@e6700000 {
 			compatible = "renesas,dmac-r8a7744",
 				     "renesas,rcar-dmac";
-- 
2.7.4

  parent reply	other threads:[~2018-11-27 11:56 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27 11:56 [PATCH 00/22] Add more support to RZ/G1N Biju Das
2018-11-27 11:56 ` [PATCH 01/22] ARM: dts: r8a7744: Add [H]SCIF{A|B} support Biju Das
2018-11-29 13:31   ` Simon Horman
2018-11-30  8:54   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 02/22] ARM: dts: r8a7744: Add I2C and IIC support Biju Das
2018-11-29 13:41   ` Simon Horman
2018-11-29 13:52     ` Biju Das
2018-11-30  8:55   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 03/22] ARM: dts: r8a7744: Add SDHI nodes Biju Das
2018-11-29 13:49   ` Simon Horman
2018-11-30  8:56   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 04/22] ARM: dts: r8a7744: Add MMC node Biju Das
2018-11-29 13:53   ` Simon Horman
2018-11-30  8:56   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 05/22] ARM: dts: r8a7744-iwg20m: Add eMMC support Biju Das
2018-11-29 13:54   ` Simon Horman
2018-11-30  9:50   ` Geert Uytterhoeven
2018-11-30 10:43     ` Biju Das
2018-11-30 11:05       ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 06/22] ARM: dts: r8a7744-iwg20m: Enable SDHI10 controller Biju Das
2018-11-27 14:16   ` Sergei Shtylyov
2018-11-27 14:22     ` Biju Das
2018-11-28 13:24       ` Simon Horman
2018-11-28 14:15         ` Biju Das
2018-11-29 13:56           ` Simon Horman
2018-11-30  9:50   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 07/22] ARM: dts: r8a7744: USB 2.0 host support Biju Das
2018-11-29 14:00   ` Simon Horman
2018-11-30  8:59   ` Geert Uytterhoeven
2018-11-27 11:56 ` Biju Das [this message]
2018-11-29 14:07   ` [PATCH 08/22] ARM: dts: r8a7744: Add USB-DMAC and HSUSB device nodes Simon Horman
2018-11-30  8:57   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 09/22] ARM: dts: r8a7744: Add RWDT node Biju Das
2018-11-29 14:33   ` Simon Horman
2018-11-30  8:58   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 10/22] ARM: dts: r8a7744: Add audio support Biju Das
2018-11-29 14:51   ` Simon Horman
2018-11-30  8:59   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 11/22] ARM: dts: r8a7744: Add DU support Biju Das
2018-11-29 14:56   ` Simon Horman
2018-11-30  9:00   ` Geert Uytterhoeven
2018-11-30  9:34     ` Biju Das
2018-11-27 11:56 ` [PATCH 12/22] ARM: dts: r8a7744-iwg20d-q7-dbcm-ca: Add device tree for camera DB Biju Das
2018-11-29 14:58   ` Simon Horman
2018-11-30 10:04   ` Geert Uytterhoeven
2018-12-04 14:26     ` Simon Horman
2018-11-27 11:56 ` [PATCH 13/22] ARM: dts: r8a7744: Add CAN support Biju Das
2018-11-30  9:00   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 14/22] ARM: dts: r8a7744: Add IRQC support Biju Das
2018-11-30  9:01   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 15/22] ARM: dts: r8a7744: Add thermal device to DT Biju Das
2018-11-30  9:01   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 16/22] ARM: dts: r8a7744: Add CMT SoC specific support Biju Das
2018-11-30  9:01   ` Geert Uytterhoeven
2018-11-27 11:56 ` [PATCH 17/22] ARM: dts: iwg20d-q7-common: Move cmt/rwdt node out of RZ/G1M SOM Biju Das
2018-12-04 14:27   ` Simon Horman
2018-12-04 14:55   ` Geert Uytterhoeven
2018-12-05 19:19     ` Simon Horman
2018-11-27 11:56 ` [PATCH 18/22] ARM: dts: r8a7744: Add QSPI support Biju Das
2018-11-30  9:02   ` Geert Uytterhoeven
2018-12-04 14:28     ` Simon Horman
2018-11-27 11:56 ` [PATCH 19/22] ARM: dts: r8a7744-iwg20m: Add SPI NOR support Biju Das
2018-11-30 10:02   ` Geert Uytterhoeven
2018-11-30 10:33     ` Biju Das
2018-11-30 10:46       ` Geert Uytterhoeven
2018-11-30 11:02         ` Biju Das
2018-12-04 14:32           ` Simon Horman
2018-11-27 11:56 ` [PATCH 20/22] ARM: dts: r8a7744: Add MSIOF[012] support Biju Das
2018-11-30  9:02   ` Geert Uytterhoeven
2018-12-04 14:34     ` Simon Horman
2018-11-27 11:56 ` [PATCH 21/22] ARM: dts: r8a7744: Add xhci support Biju Das
2018-11-30  9:03   ` Geert Uytterhoeven
2018-12-04 14:34     ` Simon Horman
2018-11-27 11:56 ` [PATCH 22/22] ARM: dts: r8a7744: Add PCIe Controller device node Biju Das
2018-11-30  9:03   ` Geert Uytterhoeven
2018-12-04 14:36   ` Simon Horman

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=1543319795-48325-9-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).