How to change the UPHY0_ 6/7 to PCIEX2?

The two LANES of the devkit UPHY0_ 6/7 are connected to the UFS - M.2 Key M Connector. Our hardware design has changed these two LANES to PCIEX2, and the reset signal has been changed to PCIE3_RST_N. How can we modify the device tree configuration to enable this PCIE X2?

please refer to

and this