Unable to communicate using the SPI1 line on the Xavier AGX module

Could you help to update to latest Jetpack5.1.1 (R35.3.1) and verify SPI loopback test first?

You may refer to following thread to SPI loopback test.
How to set gpio for spi? - #27 by DaneLLL