Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-mr18.c
index 215dd55..a24cb3f 100644 (file)
@@ -253,8 +253,9 @@ static void __init mr18_setup(void)
        res = mr18_extract_sgmii_res_cal();
        if (res >= 0) {
                /* Setup SoC Eth Config */
-               ath79_setup_qca955x_eth_cfg(QCA955X_ETH_CFG_RGMII_EN, 3, 3, 0,
-                                           0);
+               ath79_setup_qca955x_eth_cfg(QCA955X_ETH_CFG_RGMII_EN |
+                       (3 << QCA955X_ETH_CFG_RXD_DELAY_SHIFT) |
+                       (3 << QCA955X_ETH_CFG_RDV_DELAY_SHIFT));
 
                /* MDIO Interface */
                ath79_register_mdio(0, 0x0);