ARM: dts: msm: add cpufreq node for SDM660

Add cpufreq device node for SDM660 target which
helps cpu core frequency scaling.

Change-Id: Idca3fd5959ac83bfd9abaf929f4c6fc405a6bf10
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
Santosh Mardi 2016-12-31 17:00:32 +05:30
parent 115591fa9b
commit b1213275c8

View file

@ -18,6 +18,7 @@
#include <dt-bindings/clock/audio-ext-clk.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/regulator/qcom,rpm-smd-regulator.h>
#include <dt-bindings/clock/qcom,cpu-osm.h>
/ {
model = "Qualcomm Technologies, Inc. SDM 660";
@ -1178,6 +1179,43 @@
#clock-cells = <1>;
};
msm_cpufreq: qcom,msm-cpufreq {
compatible = "qcom,msm-cpufreq";
clock-names = "cpu0_clk", "cpu1_clk", "cpu2_clk",
"cpu3_clk", "cpu4_clk", "cpu5_clk",
"cpu6_clk", "cpu7_clk";
clocks = <&clock_cpu PWRCL_CLK>,
<&clock_cpu PWRCL_CLK>,
<&clock_cpu PWRCL_CLK>,
<&clock_cpu PWRCL_CLK>,
<&clock_cpu PERFCL_CLK>,
<&clock_cpu PERFCL_CLK>,
<&clock_cpu PERFCL_CLK>,
<&clock_cpu PERFCL_CLK>;
qcom,governor-per-policy;
qcom,cpufreq-table-0 =
< 300000 >,
< 633600 >,
< 902400 >,
< 1113600 >,
< 1401600 >,
< 1536000 >,
< 1747200 >,
< 1843200 >;
qcom,cpufreq-table-4 =
< 300000 >,
< 1113600 >,
< 1401600 >,
< 1747200 >,
< 1958400 >,
< 2150400 >,
< 2208000 >,
< 2457600 >;
};
sdhc_1: sdhci@c0c4000 {
compatible = "qcom,sdhci-msm-v5";
reg = <0xc0c4000 0x1000>, <0xc0c5000 0x1000>;