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

Commit 95bceb22 authored by Mao Jinlong's avatar Mao Jinlong
Browse files

ARM: dts: msm: Add tpdm nav and wcss for lito

Add tpdm nav and wcss to support nav and wcss hw events.

Change-Id: I7f9c0974f2d6706c8d31229ed5acc3115104ed24
parent e89fa8b7
Loading
Loading
Loading
Loading
+84 −0
Original line number Diff line number Diff line
@@ -1057,6 +1057,59 @@
		};
	};

	tpda_nav: tpda@6843000 {
		compatible = "arm,primecell";
		arm,primecell-periphid = <0x000bb969>;
		reg = <0x6843000 0x1000>;
		reg-names = "tpda-base";

		coresight-name = "coresight-tpda-nav";
		qcom,tpda-atid = <68>;
		qcom,cmb-elem-size = <0 32>;

		clocks = <&aopcc QDSS_CLK>;
		clock-names = "apb_pclk";
		ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@0 {
				reg = <0>;
				tpda_nav_out_funnel_dl_compute: endpoint {
					remote-endpoint =
					<&funnel_dl_compute_in_tpda_nav>;
				};
			};

			port@1 {
				reg = <0>;
				tpda_nav0_in_tpdm_nav: endpoint {
					slave-mode;
					remote-endpoint =
					<&tpdm_nav_out_tpda_nav0>;
				};
			};

		};
	};

	tpdm_nav: tpdm@6842000 {
		compatible = "arm,primecell";
		arm,primecell-periphid = <0x000bb968>;
		reg = <0x6842000 0x1000>;
		reg-names = "tpdm-base";

		coresight-name = "coresight-tpdm-nav";

		clocks = <&aopcc QDSS_CLK>;
		clock-names = "apb_pclk";
		port {
			tpdm_nav_out_tpda_nav0: endpoint {
				remote-endpoint =
				<&tpda_nav0_in_tpdm_nav>;
			};
		};
	};

	funnel_turing: funnel@6983000 {
		compatible = "arm,primecell";
		arm,primecell-periphid = <0x000bb908>;
@@ -1223,6 +1276,15 @@
					<&tpdm_compute1_out_funnel_dl_compute>;
				};
			};

			port@5 {
				reg = <7>;
				funnel_dl_compute_in_tpda_nav: endpoint {
					slave-mode;
					remote-endpoint =
					<&tpda_nav_out_funnel_dl_compute>;
				};
			};
		};
	};

@@ -1699,6 +1761,15 @@
				};
			};

			port@1 {
				reg = <1>;
				funnel_in1_in_tpdm_wcss: endpoint {
					slave-mode;
					remote-endpoint =
					<&tpdm_wcss_out_funnel_in1>;
				};
			};

			port@2 {
				reg = <4>;
				funnel_in1_in_funnel_modem: endpoint {
@@ -3216,6 +3287,19 @@
		};
	};

	tpdm_wcss: tpdm@069a4000 {
		compatible = "qcom,coresight-dummy";

		coresight-name = "coresight-tpdm-wcss";
		qcom,dummy-source;

		port {
			tpdm_wcss_out_funnel_in1: endpoint {
				remote-endpoint = <&funnel_in1_in_tpdm_wcss>;
			};
		};
	};

	audio_etm0 {
		compatible = "qcom,coresight-remote-etm";