Hi Fabio, Den tor. 16. jul. 2020 kl. 20.01 skrev Fabio Estevam <festevam@xxxxxxxxx>: > On Thu, Jul 16, 2020 at 2:26 PM Bruno Thomsen <bruno.thomsen@xxxxxxxxx> wrote: > > > Limitations: Ethernet PHY type auto detection does not > > work when using reset-{assert-us,deassert-us,gpios} > > properties so it's using a fixed PHY type ID for now. Auto > > detection worked when using the deprecated FEC properties > > phy-reset-{gpios,duration,post-delay}. > > I think we need to understand this better. Why does it fail? Yes, we need to locate the root cause. > I gave a test on an imx6q-sabresd and the Ethernet PHY (AR8031) could > be properly detected using reset-{assert-us,deassert-us,gpios} > properties inside the mdio node. Okay, thanks. > Is this a Micrel KSZ8081 specific issue? Maybe, I'm actually beginning to suspect that the issue might be related to polling vs interrupt mode. As all partially related examples I have seen uses interrupt mode and I have only configured poll mode. But the hardware does have the interrupt signal connected to the imx7. > Please report this issue to the Ethernet PHY folks. I'm going to send an Ethernet PHY mail tomorrow with the details I know at the moment. Just wanted to get an updated version of the device tree out in case of any other issues not related to the PHY part. /Bruno