We have custom board for AGX Xavier Industrial which uses PHY VSC8531 (uses MDIO) instead of 88E1512PB2
If i try to change the mdio → phy@0 in device tree to VSC8531, the ethernet gets detected during bootloader but stops working during kernel is getting loaded and giving the following error and ethernet disappears
Could not attach to PHY
Cannot attach to PHY (error: -19)
If i leave the dts unchanged, then ethernet is working in linux as well but we doubt whether 1Gbps is working.
The VSC8531 was not enabled by default in the tegra linux defconfig
We enabled it and trying it.
By using the default eqos driver, the VSC8531 PHY seems to work.
But we are unsure whether this supports all the features of VSC8531 and risk of any issue in any untested scenario.
And why enabling of the actual vsc8531 driver makes the PHY not working, suspecting some configuration issue.
If we are able to make the VSC8531 PHY work with its correct driver, then we can be sure that the PHY chip is supported well.