u32 rcntl = OPT_FRAME_SIZE | 0x04;
        u32 ecntl = 0x2; /* ETHEREN */
 
-       /* Whack a reset.  We should wait for this. */
-       writel(1, fep->hwp + FEC_ECNTRL);
-       udelay(10);
+       /* Whack a reset.  We should wait for this.
+        * For i.MX6SX SOC, enet use AXI bus, we use disable MAC
+        * instead of reset MAC itself.
+        */
+       if (id_entry && id_entry->driver_data & FEC_QUIRK_HAS_AVB) {
+               writel(0, fep->hwp + FEC_ECNTRL);
+       } else {
+               writel(1, fep->hwp + FEC_ECNTRL);
+               udelay(10);
+       }
 
        /*
         * enet-mac reset will reset mac address registers too,
                        netdev_err(ndev, "Graceful transmit stop did not complete!\n");
        }
 
-       /* Whack a reset.  We should wait for this. */
-       writel(1, fep->hwp + FEC_ECNTRL);
-       udelay(10);
+       /* Whack a reset.  We should wait for this.
+        * For i.MX6SX SOC, enet use AXI bus, we use disable MAC
+        * instead of reset MAC itself.
+        */
+       if (id_entry && id_entry->driver_data & FEC_QUIRK_HAS_AVB) {
+               writel(0, fep->hwp + FEC_ECNTRL);
+       } else {
+               writel(1, fep->hwp + FEC_ECNTRL);
+               udelay(10);
+       }
        writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED);
        writel(FEC_DEFAULT_IMASK, fep->hwp + FEC_IMASK);