Hi @Jimmychea
I hope you are doing well.
In IMX8MP, there are two ethernet ports, eth0(fec) and eth1(eqos). Hence to use fec, one can simply enable that feature in device tree file by "status = okay" in fec node.
To remove eqos, one can disable it in the device tree file by status = "disabled"; property.
Thanks & Regards
Sanket Parekh