[PATCH V2 1/2] net: fec_mxc: Fix clk_ref rate on iMX93
Fabio Estevam
festevam at gmail.com
Wed Sep 25 13:41:42 CEST 2024
On Tue, Sep 24, 2024 at 3:28 AM Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
>
> From: Peng Fan <peng.fan at nxp.com>
>
> 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 at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> ---
>
> V2:
> only update freq to RGMII mode
Applied both to u-boot-imx/next, thanks.
More information about the U-Boot
mailing list