i am using imx8mp processor i have used the default devicetree configuration only but its not connecting. Fec is detecting the phy controller but when i connect rj45 its not detecting
what PHY do you use as your board? the same as imx8mpevk, use RTL8211FDI? and did your board use gpio4_IO23 as reset pin? and how do you define mtl_tx_setup and mtl_rx_setup?
the default dts settings are for realtek, since you use your own PHY, you need change the dts based the spec of your own phy and your own HW design, like reset pins or delay time request,
what processor do you use? you can refer to the default dts file as reference