Hi,
A good start point should be the "S32G2 Reference Manual" [Chapter 52 and 53, S32G2 Reference Manual, Rev. 6, 11/2022] and "S32G2 SerDes Subsystem Reference Manual". Both should be available on the S32G2 product page (link: S32G2 Safe and Secure Vehicle Network Processor | NXP Semiconductors)
Please, let us know.