I want to set GPIO35 as pwm5 function, and how to use pwm.
you may access pinmux spreadsheets via download center to have customization.
please update the pin configuration using a pinmux spreadsheet for the appropriate platform, and then flash the new configuration to the developer kit.
you should also convert the .dtsi file generated by Excel spreadsheets into a .cfg file with pinmux-dts2cfg.py, and perform image flashing to update the cfg file.
please check developer guide, Pinmux Changes for reference,