Normal PWM setup

It's not in the Atmel datasheets. You can find in the playground ways to change the freq. analogWrite sets the duty.

Why do you want to change the freq?

Mark