]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
arm64: dts: renesas: beacon kit: Setup AVB refclk
authorAdam Ford <aford173@gmail.com>
Wed, 24 Feb 2021 11:51:45 +0000 (05:51 -0600)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 25 May 2021 07:55:52 +0000 (09:55 +0200)
The AVB reference clock assumes an external clock that runs
automatically.  Because the Versaclock is wired to provide the
AVB refclock, the device tree needs to reference it in order for the
driver to start the clock.

Signed-off-by: Adam Ford <aford173@gmail.com>
Link: https://lore.kernel.org/r/20210224115146.9131-5-aford173@gmail.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/beacon-renesom-som.dtsi

index 8d3a4d6ee88539ebaa9a9e44c33b9b051c403bd8..75355c354c38f7b5c0397d3f72e9626eed23e85e 100644 (file)
@@ -53,6 +53,8 @@
        phy-handle = <&phy0>;
        rx-internal-delay-ps = <1800>;
        tx-internal-delay-ps = <2000>;
+       clocks = <&cpg CPG_MOD 812>, <&versaclock5 4>;
+       clock-names = "fck", "refclk";
        status = "okay";
 
        phy0: ethernet-phy@0 {