Part Number: DRA712
Hello.
We use a DRA712 processor.
We need to change the CPU frequency in the linux device tree and make it run at 600 MHz.
In accordance with the Power Management section of the processor SDK Linux:
1. We checked that all relevant config options are correctly set.
2. The device tree is configured this way:
cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu0: cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a15";
reg = <0>;
operating-points-v2 = <&cpu0_opp_table>;
clocks = <&dpll_mpu_ck>;
clock-names = "cpu";
clock-frequency = <600000000>;
clock-latency = <300000>; /* From omap-cpufreq driver */
/* cooling options */
#cooling-cells = <2>; /* min followed by max */
vbb-supply = <&abb_mpu>;
};
};
cpu0_opp_table: opp-table {
compatible = "operating-points-v2-ti-cpu";
syscon = <&scm_wkup>;
opp_nom-200000000 {
opp-hz = /bits/ 64 <200000000>;
opp-microvolt = <1060000 850000 1150000>,
<1060000 850000 1150000>;
opp-supported-hw = <0xFF 0x01>;
opp-suspend;
};
opp_od-300000000 {
opp-hz = /bits/ 64 <300000000>;
opp-microvolt = <1160000 885000 1160000>,
<1160000 885000 1160000>;
opp-supported-hw = <0xFF 0x02>;
};
opp_high@600000000 {
opp-hz = /bits/ 64 <600000000>;
opp-microvolt = <1210000 950000 1250000>,
<1210000 950000 1250000>;
opp-supported-hw = <0xFF 0x04>;
};
};
Questions:
1. Are these changes enough for the correct frequency value for CPU (600M)?
2. Why BogoMIPS value doesn't change while core frequency was changed (value calculated using timer frequency.. 11.80 BogoMIPS)?
3. How do I make sure that the core is running at the frequency I set.
4. Why are there no virtual files described in the guide:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
/sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed