All of lore.kernel.org
 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>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Subject: [PATCH V3 08/13] ARM: dts: r8a77470: Add USB PHY DT support
Date: Wed,  3 Apr 2019 11:28:39 +0100	[thread overview]
Message-ID: <1554287324-22312-9-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1554287324-22312-1-git-send-email-biju.das@bp.renesas.com>

Define the r8a77470 generic part of the USB PHY device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
V2-->V3
  * Added gen3 usb2 phy nodes
V1-->V2
 * New patch
---
 arch/arm/boot/dts/r8a77470.dtsi | 56 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index 493cf2b..dcd2975 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -325,6 +325,42 @@
 			status = "disabled";
 		};
 
+		usbphy0: usb-phy@e6590100 {
+			compatible = "renesas,usb-phy-r8a77470",
+				     "renesas,rcar-gen2-usb-phy";
+			reg = <0 0xe6590100 0 0x100>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&cpg CPG_MOD 704>;
+			clock-names = "usbhs";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 704>;
+			status = "disabled";
+
+			usb0: usb-channel@0 {
+				reg = <0>;
+				#phy-cells = <1>;
+			};
+		};
+
+		usbphy1: usb-phy@e6598100 {
+			compatible = "renesas,usb-phy-r8a77470",
+				     "renesas,rcar-gen2-usb-phy";
+			reg = <0 0xe6598100 0 0x100>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&cpg CPG_MOD 706>;
+			clock-names = "usbhs";
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 706>;
+			status = "disabled";
+
+			usb1: usb-channel@0 {
+				reg = <0>;
+				#phy-cells = <1>;
+			};
+		};
+
 		usb_dmac00: dma-controller@e65a0000 {
 			compatible = "renesas,r8a77470-usb-dmac",
 				     "renesas,usb-dmac";
@@ -588,6 +624,26 @@
 			status = "disabled";
 		};
 
+		usb2_phy0: usb-phy@ee080200 {
+			compatible = "renesas,usb2-phy-r8a77470";
+			reg = <0 0xee080200 0 0x700>;
+			clocks = <&cpg CPG_MOD 703>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 703>;
+			#phy-cells = <0>;
+			status = "disabled";
+		};
+
+		usb2_phy1: usb-phy@ee0c0200 {
+			compatible = "renesas,usb2-phy-r8a77470";
+			reg = <0 0xee0c0200 0 0x700>;
+			clocks = <&cpg CPG_MOD 705>;
+			power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
+			resets = <&cpg 705>;
+			#phy-cells = <0>;
+			status = "disabled";
+		};
+
 		sdhi0: sd@ee100000 {
 			compatible = "renesas,sdhi-r8a77470",
 				     "renesas,rcar-gen2-sdhi";
-- 
2.7.4

  parent reply	other threads:[~2019-04-03 10:28 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03 10:28 [PATCH V3 00/13] Add USB2.0 support Biju Das
2019-04-03 10:28 ` [PATCH V3 01/13] dt-bindings: phy: rcar-gen2: Add r8a77470 support Biju Das
2019-04-06  6:07   ` Rob Herring
2019-04-09 10:07   ` Yoshihiro Shimoda
2019-04-09 10:07     ` Yoshihiro Shimoda
2019-04-03 10:28 ` [PATCH V3 02/13] phy: renesas: phy-rcar-gen2: Add support for r8a77470 Biju Das
2019-04-09 10:16   ` Yoshihiro Shimoda
2019-04-03 10:28 ` [PATCH V3 03/13] dt-bindings: rcar-gen3-phy-usb2: Add r8a77470 support Biju Das
2019-04-06  6:07   ` Rob Herring
2019-04-09 10:18   ` Yoshihiro Shimoda
2019-04-09 10:18     ` Yoshihiro Shimoda
2019-04-03 10:28 ` [PATCH V3 04/13] phy: rcar-gen3-usb2: Add support for r8a77470 Biju Das
2019-04-09 10:28   ` Kishon Vijay Abraham I
2019-04-09 11:20     ` Biju Das
2019-04-09 11:28       ` Kishon Vijay Abraham I
2019-04-09 13:11         ` Biju Das
2019-04-09 10:37   ` Yoshihiro Shimoda
2019-04-09 13:09     ` Biju Das
2019-04-03 10:28 ` [PATCH V3 05/13] ARM: shmobile: Enable PHY_RCAR_GEN3_USB2 in shmobile_defconfig Biju Das
2019-04-03 10:28   ` Biju Das
2019-04-09 11:00   ` Simon Horman
2019-04-09 11:00     ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 06/13] dt-bindings: usb: renesas_usbhs: Add support for r8a77470 Biju Das
2019-04-06  6:07   ` Rob Herring
2019-04-09 11:02   ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 07/13] ARM: shmobile: Enable USB [EO]HCI HCD PLATFORM support in shmobile_defconfig Biju Das
2019-04-03 10:28   ` Biju Das
2019-04-09 11:03   ` Simon Horman
2019-04-09 11:03     ` Simon Horman
2019-04-03 10:28 ` Biju Das [this message]
2019-04-09 11:10   ` [PATCH V3 08/13] ARM: dts: r8a77470: Add USB PHY DT support Simon Horman
2019-04-03 10:28 ` [PATCH V3 09/13] ARM: dts: iwg23s-sbc: Enable USB Phy[01] Biju Das
2019-04-09 11:10   ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 10/13] ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device Biju Das
2019-04-09 11:15   ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 11/13] ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host Biju Das
2019-04-09 11:15   ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 12/13] ARM: dts: r8a77470: Add HSUSB device nodes Biju Das
2019-04-09 11:17   ` Simon Horman
2019-04-03 10:28 ` [PATCH V3 13/13] ARM: dts: iwg23s-sbc: Enable HS-USB Biju Das
2019-04-09 11:17   ` 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=1554287324-22312-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 \
    --cc=yoshihiro.shimoda.uh@renesas.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.