} else if (state->interface == PHY_INTERFACE_MODE_SGMII) {
                /* SGMII mode receives the state from the PHY */
                new_ctrl2 |= MVNETA_GMAC2_INBAND_AN_ENABLE;
-               new_clk |= MVNETA_GMAC_1MS_CLOCK_ENABLE;
+               new_clk = MVNETA_GMAC_1MS_CLOCK_ENABLE;
                new_an = (new_an & ~(MVNETA_GMAC_FORCE_LINK_DOWN |
                                     MVNETA_GMAC_FORCE_LINK_PASS |
                                     MVNETA_GMAC_CONFIG_MII_SPEED |
        } else {
                /* 802.3z negotiation - only 1000base-X */
                new_ctrl0 |= MVNETA_GMAC0_PORT_1000BASE_X;
-               new_clk |= MVNETA_GMAC_1MS_CLOCK_ENABLE;
+               new_clk = MVNETA_GMAC_1MS_CLOCK_ENABLE;
                new_an = (new_an & ~(MVNETA_GMAC_FORCE_LINK_DOWN |
                                     MVNETA_GMAC_FORCE_LINK_PASS |
                                     MVNETA_GMAC_CONFIG_MII_SPEED)) |
                        new_an |= MVNETA_GMAC_AN_FLOW_CTRL_EN;
        }
 
+       /* Set the 1ms clock divisor */
+       if (new_clk == MVNETA_GMAC_1MS_CLOCK_ENABLE)
+               new_clk |= clk_get_rate(pp->clk) / 1000;
+
        /* Armada 370 documentation says we can only change the port mode
         * and in-band enable when the link is down, so force it down
         * while making these changes. We also do this for GMAC_CTRL2