Peng Fan 94d02f13db net: fec_mxc: Fix clk_ref rate on iMX93
i.MX93 FEC ENET port supports two mode: RGMII and RMII. For RGMII,
there is an internal /2 divider, so the freq needs to set with (*2),
otherwise the speed will not reach 1G and cause communication error
in some network environments. For RMII, the clk path is
ccm -> enet tx_clk pin -> pad loop back to enet, no /2 divider.

So fix for RGMII mode with freq multiplied by 2.

Fixes: 09de565f76b ("net: fec_mxc: support i.MX93")
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2024-09-24 16:55:14 -03:00
..
2021-09-28 18:50:56 +03:00
2022-12-07 16:04:17 -05:00
2022-09-25 08:30:05 -06:00
2022-11-28 10:25:17 -05:00
2024-07-22 10:53:05 -06:00
2022-12-22 10:31:48 -05:00
2024-01-29 22:35:02 -05:00