The use in chiips for the slave is protected, there is however open source ethercat linux software solutions such as the one I linked. https://github.com/OpenEtherCATsociety/SOES.

Another solution would be changing the DP83825I phy to relatively cheap LAN9252/ LAN9253/ LAN9254 https://www.microchip.com/wwwproducts/en/LAN9252 chip solution for a hardware solution to ethercat.