Skip to content

Commit b632506

Browse files
xdarklightkhilman
authored andcommitted
ARM: dts: meson: Add the Ethernet "timing-adjustment" clock
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 <[email protected]> Signed-off-by: Kevin Hilman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent f5a7382 commit b632506

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

arch/arm/boot/dts/meson8b.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,9 @@
425425

426426
clocks = <&clkc CLKID_ETH>,
427427
<&clkc CLKID_MPLL2>,
428-
<&clkc CLKID_MPLL2>;
429-
clock-names = "stmmaceth", "clkin0", "clkin1";
428+
<&clkc CLKID_MPLL2>,
429+
<&clkc CLKID_FCLK_DIV2>;
430+
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
430431
rx-fifo-depth = <4096>;
431432
tx-fifo-depth = <2048>;
432433

arch/arm/boot/dts/meson8m2.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
0xc1108140 0x8>;
3131
clocks = <&clkc CLKID_ETH>,
3232
<&clkc CLKID_MPLL2>,
33-
<&clkc CLKID_MPLL2>;
34-
clock-names = "stmmaceth", "clkin0", "clkin1";
33+
<&clkc CLKID_MPLL2>,
34+
<&clkc CLKID_FCLK_DIV2>;
35+
clock-names = "stmmaceth", "clkin0", "clkin1", "timing-adjustment";
3536
resets = <&reset RESET_ETHERNET>;
3637
reset-names = "stmmaceth";
3738
};

0 commit comments

Comments
 (0)