[PATCH 13/20] dts: qcom: Update coresight bindings for hw ports

From: Suzuki K Poulose
Date: Tue Jun 05 2018 - 17:47:06 EST


Switch to updated coresight bindings for hw ports

Cc: Andy Gross <andy.gross@xxxxxxxxxx>
Cc: David Brown <david.brown@xxxxxxxxxx>
Cc: Ivan T. Ivanov <ivan.ivanov@xxxxxxxxxx>
Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
arch/arm64/boot/dts/qcom/msm8916.dtsi | 55 ++++++++++++++++++++++++++---------
1 file changed, 41 insertions(+), 14 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 66b318e..40da823 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -1101,8 +1101,9 @@

port {
tpiu_in: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&replicator_out1>;
+ coresight,hwid = <0>;
};
};
};
@@ -1132,14 +1133,17 @@
port@4 {
reg = <4>;
funnel0_in4: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&funnel1_out>;
+ coresight,hwid = <4>;
};
};
port@8 {
- reg = <0>;
+ reg = <8>;
funnel0_out: endpoint {
+ direction = <1>;
remote-endpoint = <&etf_in>;
+ coresight,hwid = <0>;
};
};
};
@@ -1159,20 +1163,25 @@
port@0 {
reg = <0>;
replicator_out0: endpoint {
+ direction = <1>;
remote-endpoint = <&etr_in>;
+ coresight,hwid = <0>;
};
};
port@1 {
reg = <1>;
replicator_out1: endpoint {
+ direction = <1>;
remote-endpoint = <&tpiu_in>;
+ coresight,hwid = <1>;
};
};
port@2 {
- reg = <0>;
+ reg = <2>;
replicator_in: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&etf_out>;
+ coresight,hwid = <0>;
};
};
};
@@ -1192,14 +1201,17 @@
port@0 {
reg = <0>;
etf_out: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&funnel0_out>;
+ coresight,hwid = <0>;
};
};
port@1 {
- reg = <0>;
+ reg = <1>;
etf_in: endpoint {
+ direction = <1>;
remote-endpoint = <&replicator_in>;
+ coresight,hwid = <0>;
};
};
};
@@ -1214,8 +1226,9 @@

port {
etr_in: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&replicator_out0>;
+ coresight,hwid = <0>;
};
};
};
@@ -1234,35 +1247,41 @@
port@0 {
reg = <0>;
funnel1_in0: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&etm0_out>;
+ coresight,hwid = <0>;
};
};
port@1 {
reg = <1>;
funnel1_in1: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&etm1_out>;
+ coresight,hwid = <1>;
};
};
port@2 {
reg = <2>;
funnel1_in2: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&etm2_out>;
+ coresight,hwid = <2>;
};
};
port@3 {
reg = <3>;
funnel1_in3: endpoint {
- slave-mode;
+ direction = <0>;
remote-endpoint = <&etm3_out>;
+ coresight,hwid = <3>;
};
};
port@4 {
- reg = <0>;
+ reg = <4>;
funnel1_out: endpoint {
+ direction = <1>;
remote-endpoint = <&funnel0_in4>;
+ coresight,hwid = <0>;
};
};
};
@@ -1311,7 +1330,9 @@

port {
etm0_out: endpoint {
- remote-endpoint = <&funnel1_in0>;
+ direction = <1>;
+ remote-endpoint = <&funnel1_in0>;
+ coresight,hwid = <0>;
};
};
};
@@ -1327,7 +1348,9 @@

port {
etm1_out: endpoint {
+ direction = <1>;
remote-endpoint = <&funnel1_in1>;
+ coresight,hwid = <0>;
};
};
};
@@ -1343,7 +1366,9 @@

port {
etm2_out: endpoint {
+ direction = <1>;
remote-endpoint = <&funnel1_in2>;
+ coresight,hwid = <0>;
};
};
};
@@ -1359,7 +1384,9 @@

port {
etm3_out: endpoint {
+ direction = <1>;
remote-endpoint = <&funnel1_in3>;
+ coresight,hwid = <0>;
};
};
};
--
2.7.4