linux-renesas-soc.vger.kernel.org archive mirror
 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>,
	Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 12/21] ARM: dts: r8a77470: Add USB PHY DT support
Date: Fri, 19 Apr 2019 16:34:39 +0200	[thread overview]
Message-ID: <1a675db44002ed9674d6e534b1400a9d756ef34b.1555655522.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1555655522.git.horms+renesas@verge.net.au>

From: Biju Das <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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 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 2e02ff4bd4f7..eb7c53ed077a 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";
@@ -728,6 +764,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.11.0


  parent reply	other threads:[~2019-04-19 18:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-19 14:34 [GIT PULL] Renesas ARM Based SoC DT Updates for v5.2 Simon Horman
2019-04-19 14:34 ` [PATCH 01/21] ARM: dts: r8a7792: blanche: Add IIC3 and DA9063 PMIC node Simon Horman
2019-04-19 14:34 ` [PATCH 02/21] ARM: dts: alt: Add " Simon Horman
2019-04-19 14:34 ` [PATCH 03/21] ARM: dts: ape6evm: Add NOR FLASH Simon Horman
2019-04-19 14:34 ` [PATCH 04/21] ARM: dts: r8a77470: Add DU support Simon Horman
2019-04-19 14:34 ` [PATCH 05/21] ARM: dts: iwg23s-sbc: Add HDMI support Simon Horman
2019-04-19 14:34 ` [PATCH 06/21] ARM: dts: rskrza1: Add I2C support Simon Horman
2019-04-19 14:34 ` [PATCH 07/21] ARM: dts: rskrza1: Add remaining LEDs Simon Horman
2019-04-19 14:34 ` [PATCH 08/21] ARM: dts: alt: Enable USB support Simon Horman
2019-04-19 14:34 ` [PATCH 09/21] ARM: dts: r8a77470: Add HSCIF support Simon Horman
2019-04-19 14:34 ` [PATCH 10/21] ARM: dts: r8a77470: Add PWM support Simon Horman
2019-04-30 13:01   ` Geert Uytterhoeven
2019-04-19 14:34 ` [PATCH 11/21] ARM: dts: r8a77470: Add VIN support Simon Horman
2019-04-19 14:34 ` Simon Horman [this message]
2019-04-19 14:34 ` [PATCH 13/21] ARM: dts: iwg23s-sbc: Enable USB Phy[01] Simon Horman
2019-04-19 14:34 ` [PATCH 14/21] ARM: dts: r8a77470: Add USB2.0 Host (EHCI/OHCI) device Simon Horman
2019-04-19 14:34 ` [PATCH 15/21] ARM: dts: iwg23s-sbc: Enable USB USB2.0 Host Simon Horman
2019-04-19 14:34 ` [PATCH 16/21] ARM: dts: r8a77470: Add HSUSB device nodes Simon Horman
2019-04-19 14:34 ` [PATCH 17/21] ARM: dts: iwg23s-sbc: Enable HS-USB Simon Horman
2019-04-19 14:34 ` [PATCH 18/21] ARM: dts: kzm9d: Add rw parameter to bootargs Simon Horman
2019-04-19 14:34 ` [PATCH 19/21] ARM: dts: bockw: Reorder bootargs Simon Horman
2019-04-19 14:34 ` [PATCH 20/21] ARM: dts: marzen: Add rw to bootargs and use ip=dhcp Simon Horman
2019-04-19 14:34 ` [PATCH 21/21] ARM: dts: ape6evm: Reorder bootargs Simon Horman
2019-04-28 19:46 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v5.2 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=1a675db44002ed9674d6e534b1400a9d756ef34b.1555655522.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=biju.das@bp.renesas.com \
    --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 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).