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

Commit 1a105a8a authored by Yuanfang Zhang's avatar Yuanfang Zhang
Browse files

ARM: dts: msm: correct modem etm0 connecton on sdxlemur

Correct modem etm0 connecton and add modem diag node on sdxlemur.

Change-Id: I63dd2c54d12b27d068912f390ea2b0da72ab3131
parent c094ecd5
Loading
Loading
Loading
Loading
+68 −6
Original line number Diff line number Diff line
@@ -614,11 +614,11 @@
				};
			};

			port@2 {
				reg = <2>;
				funnel_modem_in_funnel_modem_q6: endpoint {
			port@3 {
				reg = <3>;
				funnel_modem_in_funnel_mq6_dup: endpoint {
					remote-endpoint =
						<&funnel_modem_q6_out_funnel_modem>;
						<&funnel_mq6_dup_out_funnel_modem>;
				};
			};
		};
@@ -654,9 +654,9 @@

		out-ports {
			port {
				funnel_modem_q6_out_funnel_modem: endpoint {
				funnel_modem_q6_out_funnel_mq6_dup: endpoint {
					remote-endpoint =
					<&funnel_modem_in_funnel_modem_q6>;
					<&funnel_mq6_dup_in_funnel_modem_q6>;
				};
			};
		};
@@ -674,6 +674,68 @@
		};
	};

	funnel_mq6_dup: funnel@680d000 {
		compatible = "arm,primecell";
		arm,primecell-periphid = <0x000bb908>;

		reg = <0x680d000 0x1000>,
			<0x680c000 0x1000>;

		reg-names = "funnel-base-dummy", "funnel-base-real";

		coresight-name = "coresight-funnel-modem-q6_dup";

		clocks = <&aopcc QDSS_CLK>;
		clock-names = "apb_pclk";
		qcom,duplicate-funnel;

		out-ports {
			port {
				funnel_mq6_dup_out_funnel_modem: endpoint {
					remote-endpoint =
					<&funnel_modem_in_funnel_mq6_dup>;
				};
			};
		};

		in-ports {
			#address-cells = <1>;
			#size-cells = <0>;
			port@1 {
				reg = <1>;
				funnel_mq6_dup_in_funnel_modem_q6: endpoint {
					remote-endpoint =
					<&funnel_modem_q6_out_funnel_mq6_dup>;
				};
			};

			port@2 {
				reg = <2>;
				funnel_mq6_dup_in_modem_diag: endpoint {
					remote-endpoint =
					<&modem_diag_out_funnel_mq6_dup>;
				};
			};
		};
	};

	modem_diag: dummy_source {
		compatible = "qcom,coresight-dummy";

		coresight-name = "coresight-modem-diag";
		qcom,dummy-source;


		out-ports {
			port {
				modem_diag_out_funnel_mq6_dup: endpoint {
					remote-endpoint =
						<&funnel_mq6_dup_in_modem_diag>;
				};
			};
		};
	};

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