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

Commit 14d97c56 authored by Shaoqing Liu's avatar Shaoqing Liu Committed by Xiaogang Cui
Browse files

ARM: dts: msm: add hardware event support for mdmfermium



Add hardware event into device tree required by
enabling hardware event tracing functionality.

Change-Id: I4e76f1bb18c835a72dfded86d02a833751d1f04f
Signed-off-by: default avatarShaoqing Liu <shaoqingliu@codeaurora.org>
parent b95f3426
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -323,4 +323,26 @@
			 <&clock_gcc clk_qdss_a_clk>;
		clock-names = "core_clk", "core_a_clk";
	};

	hwevent: hwevent@606c000 {
		compatible = "qcom,coresight-hwevent";
		reg = <0x606c000 0x148>,
		      <0x606cfb0 0x4>,
		      <0x78640cc 0x4>,
		      <0x78240cc 0x4>,
		      <0x7885010 0x4>,
		      <0x200c004 0x4>,
		      <0x78d90a0 0x4>;
		reg-names = "wrapper-mux", "wrapper-lockaccess",
			    "wrapper-sdcc2", "wrapper-sdcc1",
			    "blsp-mux", "spmi-mux" ,"usb-mux";

		coresight-id = <20>;
		coresight-name = "coresight-hwevent";
		coresight-nr-inports = <0>;

		clocks = <&clock_gcc clk_qdss_clk>,
			 <&clock_gcc clk_qdss_a_clk>;
		clock-names = "core_clk", "core_a_clk";
	};
};