How to support 10G and 1G network interface at the same time?

no, this is wrong… 1G network is not part of UPHY so totally no need to change uphy…

Only PCIe, USB3 and MGBE are related to UPHY.

What you changed is related to 10G but not related to 1G…