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>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 08/11] arm64: dts: renesas: r8a7795: add usb3_phy node
Date: Fri, 22 Dec 2017 11:29:19 +0100	[thread overview]
Message-ID: <7c1e5ea6bc17390db0bc66cff0ecbff9265b34a6.1513936761.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513936760.git.horms+renesas@verge.net.au>

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

This patch adds USB3.0 PHY node for r8a7795.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 62dfc7781cc1..d12df6f2ff09 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -1631,6 +1631,19 @@
 			iommus = <&ipmmu_hc 2>;
 		};
 
+		usb3_phy0: usb-phy@e65ee000 {
+			compatible = "renesas,r8a7795-usb3-phy",
+				     "renesas,rcar-gen3-usb3-phy";
+			reg = <0 0xe65ee000 0 0x90>;
+			clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
+				 <&usb_extal_clk>;
+			clock-names = "usb3-if", "usb3s_clk", "usb_extal";
+			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			#phy-cells = <0>;
+			status = "disabled";
+		};
+
 		xhci0: usb@ee000000 {
 			compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
 			reg = <0 0xee000000 0 0xc00>;
@@ -2380,4 +2393,17 @@
 			};
 		};
 	};
+
+	/* External USB clocks - can be overridden by the board */
+	usb3s0_clk: usb3s0 {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
+
+	usb_extal_clk: usb_extal {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
 };
-- 
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 08/11] arm64: dts: renesas: r8a7795: add usb3_phy node
Date: Fri, 22 Dec 2017 11:29:19 +0100	[thread overview]
Message-ID: <7c1e5ea6bc17390db0bc66cff0ecbff9265b34a6.1513936761.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513936760.git.horms+renesas@verge.net.au>

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

This patch adds USB3.0 PHY node for r8a7795.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 62dfc7781cc1..d12df6f2ff09 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -1631,6 +1631,19 @@
 			iommus = <&ipmmu_hc 2>;
 		};
 
+		usb3_phy0: usb-phy at e65ee000 {
+			compatible = "renesas,r8a7795-usb3-phy",
+				     "renesas,rcar-gen3-usb3-phy";
+			reg = <0 0xe65ee000 0 0x90>;
+			clocks = <&cpg CPG_MOD 328>, <&usb3s0_clk>,
+				 <&usb_extal_clk>;
+			clock-names = "usb3-if", "usb3s_clk", "usb_extal";
+			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+			resets = <&cpg 328>;
+			#phy-cells = <0>;
+			status = "disabled";
+		};
+
 		xhci0: usb at ee000000 {
 			compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
 			reg = <0 0xee000000 0 0xc00>;
@@ -2380,4 +2393,17 @@
 			};
 		};
 	};
+
+	/* External USB clocks - can be overridden by the board */
+	usb3s0_clk: usb3s0 {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
+
+	usb_extal_clk: usb_extal {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <0>;
+	};
 };
-- 
2.11.0

  parent reply	other threads:[~2017-12-22 10:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22 10:29 [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.16 Simon Horman
2017-12-22 10:29 ` Simon Horman
2017-12-22 10:29 ` [PATCH 01/11] arm64: dts: renesas: r8a7795: Move nodes which have no reg property out of bus Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 02/11] arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 03/11] arm64: dts: renesas: ulcb: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 04/11] arm64: dts: renesas: r8a7795: sort subnodes of root node alphabetically Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 05/11] arm64: dts: renesas: r8a7796: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 06/11] arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 07/11] arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` Simon Horman [this message]
2017-12-22 10:29   ` [PATCH 08/11] arm64: dts: renesas: r8a7795: add usb3_phy node Simon Horman
2017-12-22 10:29 ` [PATCH 09/11] arm64: dts: renesas: r8a7796: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 10/11] arm64: dts: renesas: salvator-common: enable usb3_phy0 node Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 11/11] arm64: dts: renesas: salvator-common: enable usb3_peri0 Simon Horman
2017-12-22 10:29   ` Simon Horman
2018-01-05  6:39 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.16 Olof Johansson
2018-01-05  6:39   ` 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=7c1e5ea6bc17390db0bc66cff0ecbff9265b34a6.1513936761.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --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.