Add cpu frequency control.