Skip to content

Commit

Permalink
arm64: dts: renesas: beacon: Fix USB extal reference
Browse files Browse the repository at this point in the history
commit 56bc544 upstream

The USB extal clock reference isn't associated to a crystal, it's
associated to a programmable clock, so remove the extal reference,
add the usb2_clksel.  Since usb_extal is referenced by the versaclock,
reference it here so the usb2_clksel can get the proper clock speed
of 50MHz.

Signed-off-by: Adam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20210513114617.30191-1-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
aford173 authored and gregkh committed Aug 15, 2021
1 parent 0f47027 commit e0dd4a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi
Expand Up @@ -295,8 +295,10 @@
status = "okay";
};

&usb_extal_clk {
clock-frequency = <50000000>;
&usb2_clksel {
clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>,
<&versaclock5 3>, <&usb3s0_clk>;
status = "okay";
};

&usb3s0_clk {
Expand Down

0 comments on commit e0dd4a0

Please sign in to comment.