Hi diogoremiao,
You could just modify pinmux spreadsheet or use Jetson-IO to modify pinmux register for PWM usage.
And refer to the following thread to use PWM and configure duty cycle through sysfs.
Strange behaviour with Jetson Nano DevKit PWM signal - #5 by WayneWWW