]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: meson: Add the Ethernet "timing-adjustment" clock
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 12 May 2020 21:51:47 +0000 (23:51 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 19 May 2020 23:18:58 +0000 (16:18 -0700)
Add the "timing-adjusment" clock now that we now that this is connected
to the PRG_ETHERNET registers. It is used internally to generate the
RGMII RX delay no the MAC side (if needed).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200512215148.540322-2-martin.blumenstingl@googlemail.com
arch/arm/boot/dts/meson8b.dtsi
arch/arm/boot/dts/meson8m2.dtsi

index e34b039b9357b2b46e178d3814f641fea58c6558..ba36168b9c1be55d9a3c77302bcf07aa41f66eef 100644 (file)
 
        clocks = <&clkc CLKID_ETH>,
                 <&clkc CLKID_MPLL2>,
-                <&clkc CLKID_MPLL2>;
-       clock-names = "stmmaceth", "clkin0", "clkin1";
+                <&clkc CLKID_MPLL2>,
+                <&clkc CLKID_FCLK_DIV2>;
+       clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
        rx-fifo-depth = <4096>;
        tx-fifo-depth = <2048>;
 
index ca749cc3cc65e5b9f8e2961422c540c877d0843a..2397ba06d608034c01eb8efa2feb83d8d9c5b47d 100644 (file)
@@ -30,8 +30,9 @@
                0xc1108140 0x8>;
        clocks = <&clkc CLKID_ETH>,
                 <&clkc CLKID_MPLL2>,
-                <&clkc CLKID_MPLL2>;
-       clock-names = "stmmaceth", "clkin0", "clkin1";
+                <&clkc CLKID_MPLL2>,
+                <&clkc CLKID_FCLK_DIV2>;
+       clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
        resets = <&reset RESET_ETHERNET>;
        reset-names = "stmmaceth";
 };