Hello @dhruvinrajpura
I have not the i.MX8ULP to test it by my side, but please try the below modifications on device tree:
&tpm5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_led1>;
status = "okay";
};
And in IOMUXC:
pinctrl_led1: ledsgrp1 {
fsl,pins = <
MX8ULP_PAD_PTF20__TPM5_CH1 0x2
>;
Then, you should be able to see the PWM under /sys/class/pwm/.
Please try it.
Best regards,
Salas.