Is there a way to autodetect the maximum CPU frequency supported by a given AM335x? I have a 250 MHz AM3352, and the Device ID and DEV_FEATURE registers don't seem to have this information. I assume this is because the maximum speed isn't determined until after the manufacturing step, but I would hope that information can be retrieved by some other means.
I can set the CPU frequency using the /sys/devices/system/cpu/cpu0/cpufreq, but I really want to autodetect the maximum frequency either in the bootloader or Linux kernel automatically.