I’m using a custom board with version r36.3. I want to configure GPIO13 and GPIO14 as PWM outputs. I have already changed the corresponding IO ports in pinmux_config to PWM mode. Is that all I need to do? Do I also need to modify the device tree or anything else? How should I control the PWM output’s period and duty cycle?
And I found that GPIO14 seems to be used for the fan’s PWM. How can I disable it? I don’t need the fan.
You have to check the carrier board guide and the pinmux spreasheet and also the device tree for the mapping.
Or you can just refer to Jetson/L4T/peripheral/ - eLinux.org for the PWM address mapping on Orin Nano.