Skip to content

Commit

Permalink
arm64: dts: colibri-imx8x: Add 50mhz clock for eth
Browse files Browse the repository at this point in the history
Change enet0_lpcg to get the clock value needed in Colibri-iMX8X for
100mbps ethernet.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Philippe Schenker authored and Shawn Guo committed Sep 4, 2024
1 parent 9d4b4f6 commit 251268b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@
type = "critical";
};

&enet0_lpcg {
clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>,
<&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>,
<&conn_axi_clk>,
<&clk IMX_SC_R_ENET_0 IMX_SC_C_DISABLE_50>,
<&conn_ipg_clk>,
<&conn_ipg_clk>;
clock-output-names = "enet0_lpcg_timer_clk",
"enet0_lpcg_txc_sampling_clk",
"enet0_lpcg_ahb_clk",
"enet0_lpcg_ref_50mhz_clk",
"enet0_lpcg_ipg_clk",
"enet0_lpcg_ipg_s_clk";
};

/* TODO flexcan1 - 3 */

/* TODO GPU */
Expand Down

0 comments on commit 251268b

Please sign in to comment.