drivers: net: ipq5332: update clk for 1G SFP

Change-Id: Ic1274c29664c584124164f6e1b7892d713f335e4
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This commit is contained in:
Ram Kumar D 2023-10-11 10:18:04 +05:30
parent 1efbe86905
commit c3163fcb5e

View file

@ -1100,7 +1100,8 @@ static int ipq5332_eth_init(struct eth_device *eth_dev, bd_t *this)
clk[3] = 0x0;
if ((phy_info->phy_type == QCA8081_PHY_TYPE) ||
(phy_info->phy_type == QCA8084_PHY_TYPE) ||
(phy_info->phy_type == QCA8033_PHY_TYPE)) {
(phy_info->phy_type == QCA8033_PHY_TYPE) ||
(sfp_mode == EPORT_WRAPPER_SGMII_FIBER)) {
clk[0] = 0x301;
clk[2] = 0x401;
}