Commit ebc666f3 authored by Adam Ford's avatar Adam Ford Committed by Geert Uytterhoeven

arm64: dts: renesas: beacon: Fix USB ref clock references

The RZ/G2 boards expect there to be an external clock reference for
USB2 EHCI controllers.  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 EHCI node needs to point to this
special clock, called usb2_clksel.

Since the usb2_clksel does not keep the usb_extal clock enabled,
the 4th clock entry for the EHCI nodes needs to reference it to
keep the clock running and make USB functional.
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20210513114617.30191-2-aford173@gmail.comSigned-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 56bc5449
...@@ -271,12 +271,12 @@ &du_out_rgb { ...@@ -271,12 +271,12 @@ &du_out_rgb {
&ehci0 { &ehci0 {
dr_mode = "otg"; dr_mode = "otg";
status = "okay"; status = "okay";
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>;
}; };
&ehci1 { &ehci1 {
status = "okay"; status = "okay";
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>; clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>;
}; };
&hdmi0 { &hdmi0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment