Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77b06e1d authored by Hanumath Prasad's avatar Hanumath Prasad
Browse files

ARM: dts: qcom: Enable CPU scaling support for MSM8939



Different cluster support different frequencies. Use separate
cpu frequency tables for different clusters.

Change-Id: Ic1a482c23f48668edbb995db1c0f17605ab3a92f
Signed-off-by: default avatarHanumath Prasad <hpprasad@codeaurora.org>
parent c945c7ce
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@

#include "skeleton64.dtsi"
#include <dt-bindings/clock/msm-clocks-8936.h>
#include <dt-bindings/clock/msm-cpu-clocks-8939.h>

/ {
	model = "Qualcomm Technologies, Inc. MSM8939";
@@ -763,6 +764,38 @@
		#clock-cells = <1>;
	};

	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 clk_a53ssmux_bc>,
			 <&clock_cpu clk_a53ssmux_bc>,
			 <&clock_cpu clk_a53ssmux_bc>,
			 <&clock_cpu clk_a53ssmux_bc>,
			 <&clock_cpu clk_a53ssmux_lc>,
			 <&clock_cpu clk_a53ssmux_lc>,
			 <&clock_cpu clk_a53ssmux_lc>,
			 <&clock_cpu clk_a53ssmux_lc>;

		qcom,cpufreq-table-0 =
			 <  200000 >,
			 <  345600 >,
			 <  400000 >,
			 <  422400 >,
			 <  499200 >,
			 <  533330 >,
			 <  652800 >,
			 <  800000 >,
			 < 1113600 >,
			 < 1267200 >;
		qcom,cpufreq-table-4 =
			 <  200000 >,
			 <  249600 >,
			 <  400000 >,
			 <  499200 >;
	};

	qcom_tzlog: tz-log@8600720 {
		compatible = "qcom,tz-log";
		reg = <0x08600720 0x1000>;