GPIO, SPI and PWM not working on Jetson Xavier NX

hello Out_of_the_BOTS,

it turns out GPIO calculation as shown in comment #18 is not valid anymore for K5.10.
please refer to developer guide, To check a GPIO number, please follow the GPIO debugfs for looking up the port and offset. i.e. # cat /sys/kernel/debug/gpio | grep PQ.06