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

Commit c79a40a3 authored by Vicky Wallace's avatar Vicky Wallace
Browse files

ARM: dts: msm: Add clock and cpufreq support for sdxhedgehog



Add clock and msm-cpufreq tables for sdxhedgehog.

On sdxhedgehog CPU clock runs at different frequencies comparing
to californium. This change overrides the californium CPU frequency.

Change-Id: If051ddfbd301a9faf0e1ed052a1dd641a142c709
Signed-off-by: default avatarVicky Wallace <vwallace@codeaurora.org>
parent 13827669
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -31,5 +31,28 @@
		qcom,ipa-hw-ver = <12>; /* IPA core version = IPAv3.5 */
		/delete-property/qcom,use-rg10-limitation-mitigation;
	};

	qcom,msm-cpufreq {
		qcom,cpufreq-table =
			<  307200 >,
			<  614400 >,
			< 1017600 >,
			< 1401600 >;
	};
};

&clock_gcc {
	compatible = "qcom,gcc-sdxhedgehog";
};

&clock_cpu  {
	compatible = "qcom,clock-a7-sdxhedgehog";

	qcom,speed0-bin-v0 =
		<         0 RPM_SMD_REGULATOR_LEVEL_NONE >,
		< 307200000 RPM_SMD_REGULATOR_LEVEL_LOW_SVS >,
		< 614400000 RPM_SMD_REGULATOR_LEVEL_SVS >,
		< 1017600000 RPM_SMD_REGULATOR_LEVEL_NOM >,
		< 1401600000 RPM_SMD_REGULATOR_LEVEL_TURBO >;
};