Low PWM Frequency

Hello good people.
Is there any way to increase pwm frequency of pwm-write node?
Because the default frequency is about 60 Hz, which is pretty useless.
My requirement is about 500 Hz.

patch

look here

I did nothing useful.