[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210630173042.186394-3-aford173@gmail.com>
Date: Wed, 30 Jun 2021 12:30:42 -0500
From: Adam Ford <aford173@...il.com>
To: linux-usb@...r.kernel.org
Cc: aford@...conembedded.com, Adam Ford <aford173@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh+dt@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-renesas-soc@...r.kernel.org
Subject: [PATCH 3/3] arm64: dts: renesas: beacon: Fix HSUSB ref clock references
The RZ/G2 boards expect there to be an external clock reference for
USBHS controller. For the Beacon boards, this reference clock
is controlled by a programmable versaclock. Because the RZ/G2
family has a special clock driver when using an external clock,
the third clock reference in the USBHS node needs to point to this
special clock, called usb2_clksel, and the 4th clock is the versaclock.
Signed-off-by: Adam Ford <aford173@...il.com>
diff --git a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
index e3c8b2fe143e..bcbf7eb5195b 100644
--- a/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
+++ b/arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi
@@ -313,6 +313,7 @@ &hscif1 {
};
&hsusb {
+ clocks = <&cpg CPG_MOD 704>, <&cpg CPG_MOD 703>, <&usb2_clksel>, <&versaclock6_som 3>;
dr_mode = "otg";
status = "okay";
};
--
2.25.1
Powered by blists - more mailing lists