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

Commit 64b7e65c authored by Rohit Gupta's avatar Rohit Gupta
Browse files

ARM: dts: msm: Add bwmon devices for sdm845



Add DT nodes for measuring bandwidth between CPUSS and DDRSS and
vote for DDR frequency.

Change-Id: Ibede769a3152ee965de44b42e54a67725da53b18
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent 436b4a5f
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -552,6 +552,34 @@
			< 1958400 >;
	};

	cpubw: qcom,cpubw {
		compatible = "qcom,devbw";
		governor = "performance";
		qcom,src-dst-ports = <1 512>;
		qcom,active-only;
		qcom,bw-tbl =
			<  762 /*  200 MHz */ >,
			< 1144 /*  300 MHz */ >,
			< 1720 /*  451 MHz */ >,
			< 2086 /*  547 MHz */ >,
			< 2597 /*  681 MHz */ >,
			< 2929 /*  768 MHz */ >,
			< 3879 /* 1017 MHz */ >,
			< 4943 /* 1296 MHz */ >,
			< 5931 /* 1555 MHz */ >,
			< 6881 /* 1804 MHz */ >;
	};

	bwmon: qcom,cpu-bwmon {
		compatible = "qcom,bimc-bwmon4";
		reg = <0x1436400 0x300>, <0x1436300 0x200>;
		reg-names = "base", "global_base";
		interrupts = <0 581 4>;
		qcom,mport = <0>;
		qcom,hw-timer-hz = <19200000>;
		qcom,target-dev = <&cpubw>;
	};

	clock_gcc: qcom,gcc@100000 {
		compatible = "qcom,gcc-sdm845";
		reg = <0x100000 0x1f0000>;