arm64: dts: renesas: beacon: Fix USB extal reference
authorAdam Ford <aford173@gmail.com>
Thu, 13 May 2021 11:46:15 +0000 (06:46 -0500)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 May 2021 08:01:28 +0000 (10:01 +0200)
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>
arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi

index 75355c3..090dc9c 100644 (file)
        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 {