Page 79 of the PIC12F683 datasheet (DS41211D), Paragraph 11.3.1, Equation 11-1.
Do that math, then do a 1/x on the calculator, and you have your freq for PWM.
You also have to realize that with higher frequencies, you lose PWM duty cycle resolution. (See the tables right below that equation). For instance, you could run the PWM at 2Mhz, but you can only turn it on and off (1 bit resolution).
Bookmarks