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

Commit a442baad authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

ARM: dts: msm: Enable the OSM clock driver support on SDM845 v2



Add the clock node and the speedbin tables for the CPU clock
driver on SDM845 v2.

Change-Id: I2398bd0da78f0b6d5d1af2ea2209af3306f0c42e
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent d98d9ee8
Loading
Loading
Loading
Loading
+101 −0
Original line number Diff line number Diff line
@@ -434,8 +434,109 @@
};

&clock_cpucc {
	compatible = "qcom,clk-cpu-osm-v2";

	vdd-l3-supply = <&apc0_l3_vreg>;
	vdd-pwrcl-supply = <&apc0_pwrcl_vreg>;
	vdd-perfcl-supply = <&apc1_perfcl_vreg>;

	qcom,l3-speedbin0-v0 =
		<   300000000 0x000c000f 0x00002020 0x1 1 >,
		<   403200000 0x500c0115 0x00002020 0x1 2 >,
		<   480000000 0x50140219 0x00002020 0x1 3 >,
		<   576000000 0x5014031e 0x00002020 0x1 4 >,
		<   652800000 0x401c0422 0x00002020 0x1 5 >,
		<   748800000 0x401c0527 0x00002020 0x1 6 >,
		<   844800000 0x4024062c 0x00002323 0x2 7 >,
		<   940800000 0x40240731 0x00002727 0x2 8 >,
		<  1036800000 0x40240836 0x00002b2b 0x2 9 >,
		<  1132800000 0x402c093b 0x00002f2f 0x2 10 >,
		<  1209600000 0x402c0a3f 0x00003232 0x2 11 >,
		<  1305600000 0x40340b44 0x00003636 0x2 12 >,
		<  1401600000 0x40340c49 0x00003a3a 0x2 13 >,
		<  1478400000 0x403c0d4d 0x00003e3e 0x2 14 >;

	qcom,pwrcl-speedbin0-v0 =
		<   300000000 0x000c000f 0x00002020 0x1 1 >,
		<   403200000 0x500c0115 0x00002020 0x1 2 >,
		<   480000000 0x50140219 0x00002020 0x1 3 >,
		<   576000000 0x5014031e 0x00002020 0x1 4 >,
		<   652800000 0x401c0422 0x00002020 0x1 5 >,
		<   748800000 0x401c0527 0x00002020 0x1 6 >,
		<   825600000 0x401c062b 0x00002222 0x1 7 >,
		<   902400000 0x4024072f 0x00002626 0x1 8 >,
		<   979200000 0x40240833 0x00002929 0x1 9 >,
		<  1056000000 0x402c0937 0x00002c2c 0x2 10 >,
		<  1132800000 0x402c0a3b 0x00002f2f 0x2 11 >,
		<  1228800000 0x402c0b40 0x00003333 0x2 12 >,
		<  1324800000 0x40340c45 0x00003737 0x2 13 >,
		<  1420800000 0x40340d4a 0x00003b3b 0x2 14 >,
		<  1516800000 0x403c0e4f 0x00003f3f 0x2 15 >,
		<  1612800000 0x403c0f54 0x00004343 0x2 16 >,
		<  1689600000 0x40441058 0x00004646 0x2 17 >,
		<  1766400000 0x4044115c 0x00004a4a 0x2 18 >;

	qcom,perfcl-speedbin0-v0 =
		<   300000000 0x000c000f 0x00002020 0x1 1 >,
		<   403200000 0x500c0115 0x00002020 0x1 2 >,
		<   480000000 0x50140219 0x00002020 0x1 3 >,
		<   576000000 0x5014031e 0x00002020 0x1 4 >,
		<   652800000 0x401c0422 0x00002020 0x1 5 >,
		<   748800000 0x401c0527 0x00002020 0x1 6 >,
		<   825600000 0x401c062b 0x00002222 0x1 7 >,
		<   902400000 0x4024072f 0x00002626 0x1 8 >,
		<   979200000 0x40240833 0x00002929 0x1 9 >,
		<  1056000000 0x402c0937 0x00002c2c 0x1 10 >,
		<  1132800000 0x402c0a3b 0x00002f2f 0x1 11 >,
		<  1209600000 0x402c0b3f 0x00003232 0x2 12 >,
		<  1286400000 0x40340c43 0x00003636 0x2 13 >,
		<  1363200000 0x40340d47 0x00003939 0x2 14 >,
		<  1459200000 0x403c0e4c 0x00003d3d 0x2 15 >,
		<  1536000000 0x403c0f50 0x00004040 0x2 16 >,
		<  1612800000 0x403c1054 0x00004343 0x2 17 >,
		<  1689600000 0x40441158 0x00004646 0x2 18 >,
		<  1766400000 0x4044125c 0x00004a4a 0x2 19 >,
		<  1843200000 0x40441360 0x00004d4d 0x2 20 >,
		<  1920000000 0x404c1464 0x00005050 0x2 21 >,
		<  1996800000 0x404c1568 0x00005353 0x2 22 >,
		<  2092800000 0x4054166d 0x00005757 0x2 23 >,
		<  2169600000 0x40541771 0x00005a5a 0x2 24 >,
		<  2246400000 0x40541875 0x00005e5e 0x2 25 >,
		<  2323200000 0x40541979 0x00006161 0x2 26 >,
		<  2400000000 0x40541a7d 0x00006464 0x2 27 >;

	qcom,perfcl-speedbin1-v0 =
		<   300000000 0x000c000f 0x00002020 0x1 1 >,
		<   403200000 0x500c0115 0x00002020 0x1 2 >,
		<   480000000 0x50140219 0x00002020 0x1 3 >,
		<   576000000 0x5014031e 0x00002020 0x1 4 >,
		<   652800000 0x401c0422 0x00002020 0x1 5 >,
		<   748800000 0x401c0527 0x00002020 0x1 6 >,
		<   825600000 0x401c062b 0x00002222 0x1 7 >,
		<   902400000 0x4024072f 0x00002626 0x1 8 >,
		<   979200000 0x40240833 0x00002929 0x1 9 >,
		<  1056000000 0x402c0937 0x00002c2c 0x1 10 >,
		<  1132800000 0x402c0a3b 0x00002f2f 0x1 11 >,
		<  1209600000 0x402c0b3f 0x00003232 0x2 12 >,
		<  1286400000 0x40340c43 0x00003636 0x2 13 >,
		<  1363200000 0x40340d47 0x00003939 0x2 14 >,
		<  1459200000 0x403c0e4c 0x00003d3d 0x2 15 >,
		<  1536000000 0x403c0f50 0x00004040 0x2 16 >,
		<  1612800000 0x403c1054 0x00004343 0x2 17 >,
		<  1689600000 0x40441158 0x00004646 0x2 18 >,
		<  1766400000 0x4044125c 0x00004a4a 0x2 19 >,
		<  1843200000 0x40441360 0x00004d4d 0x2 20 >,
		<  1920000000 0x404c1464 0x00005050 0x2 21 >,
		<  1996800000 0x404c1568 0x00005353 0x2 22 >,
		<  2092800000 0x4054166d 0x00005757 0x2 23 >,
		<  2169600000 0x40541771 0x00005a5a 0x2 24 >,
		<  2246400000 0x40541875 0x00005e5e 0x2 25 >,
		<  2323200000 0x40541979 0x00006161 0x2 26 >,
		<  2400000000 0x40541a7d 0x00006464 0x2 27 >,
		<  2476800000 0x40541b81 0x00006767 0x2 28 >,
		<  2553600000 0x40541c85 0x00006a6a 0x2 29 >,
		<  2630400000 0x40541d89 0x00006e6e 0x2 30 >,
		<  2707200000 0x40541e8d 0x00007171 0x2 31 >;
};

&clock_gcc {