Jetson xavier nx Jetpack 5.01dp gpio not working

hello ufukasill,

it’s known issue for controlling GPIOs with JetPack-5.0.1 DP.
you may toggle the pin through pinmux register, please see-also Topic 220249 for the approaches.

however, this issue is fixed, you may expect next JetPack public release to include the fixes.
thanks