I had notice that my beaglebone was limiting itself to 600Mhz even when plugged into a hard 5v line.
Just wanted to let everyone know what I did to get it up to a full 720Mhz
In the board-am335xevm.c file the function tps65217_init() there is a check to see if the board is running on ac power. In there the 720Mhz mode was being disabled even if the board was on AC power, so I just enabled it.
$this->bbcode_second_pass_code('', '
if (!(val & TPS65217_STATUS_ACPWR)) {
/* If powered by USB then disable OPP120 and OPPTURBO */
pr_info("Maximum current provided by the USB port is 500mA"
" which is not sufficient\nwhen operating @OPP120 and"
" OPPTURBO. The current requirement for some\nuse-cases"
" using OPP100 might also exceed the maximum current"
" that the\nUSB port can provide. Unless you are fully"
" confident that the current\nrequirements for OPP100"
" use-case don't exceed the USB limits, switching\nto"
" AC power is recommended.\n");
opp_disable(mpu_dev, 600000000);
opp_disable(mpu_dev, 720000000);
}
else {
pr_info("cpufreq: enabling OPPTURBO 720Mhz");
opp_enable(mpu_dev, 720000000);
//old functions below that disabled 720Mhz option
//pr_info("cpufreq: disabling OPPTURBO (720mhz)\n");
//opp_disable(mpu_dev, 720000000;
}
')
I just switched out opp_disable for opp_enable.