Hi Himali,
The PWM configuration is correct.
Are you still facing that PWM issue for i.MX6Q?
If yes then,
Share Kernel boot-up log and board's ".dts" file.
Also, share some basic details of your development environment. I.e. Which development board (custom!) you are using?
Thanks,