Skip to content

Commit 02b6b2a

Browse files
jiegan0107Komal-Bajaj
authored andcommitted
PENDING: arm64: dts: qcom: kaanapali: add Coresight ETR and routing in staging dtso
Add CTCU, QDSS replicator, dual ETR (tmc_etr/tmc_etr1), ETR replicator, SWAO replicator, and tmc_etf out-port to complete the DDR memory trace routing path in the kaanapali staging overlay. Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
1 parent fc647a8 commit 02b6b2a

1 file changed

Lines changed: 191 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/kaanapali-staging.dtso

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,150 @@
99
/plugin/;
1010

1111
&soc {
12+
ctcu: ctcu@10001000 {
13+
compatible = "qcom,sa8775p-ctcu";
14+
reg = <0x0 0x10001000 0x0 0x1000>;
15+
16+
clocks = <&aoss_qmp>;
17+
clock-names = "apb";
18+
19+
in-ports {
20+
#address-cells = <1>;
21+
#size-cells = <0>;
22+
23+
port@0 {
24+
reg = <0>;
25+
26+
ctcu_in0: endpoint {
27+
remote-endpoint = <&tmc_etr_out>;
28+
};
29+
};
30+
31+
port@1 {
32+
reg = <1>;
33+
34+
ctcu_in1: endpoint {
35+
remote-endpoint = <&tmc_etr1_out>;
36+
};
37+
};
38+
};
39+
};
40+
41+
replicator_qdss: replicator@10046000 {
42+
compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
43+
reg = <0x0 0x10046000 0x0 0x1000>;
44+
45+
clocks = <&aoss_qmp>;
46+
clock-names = "apb_pclk";
47+
48+
in-ports {
49+
port {
50+
replicator_qdss_in: endpoint {
51+
remote-endpoint = <&replicator_swao_out0>;
52+
};
53+
};
54+
};
55+
56+
out-ports {
57+
port {
58+
replicator_qdss_out: endpoint {
59+
remote-endpoint = <&replicator_etr_in>;
60+
};
61+
};
62+
};
63+
};
64+
65+
tmc_etr: tmc@10048000 {
66+
compatible = "arm,coresight-tmc", "arm,primecell";
67+
reg = <0x0 0x10048000 0x0 0x1000>;
68+
69+
clocks = <&aoss_qmp>;
70+
clock-names = "apb_pclk";
71+
72+
iommus = <&apps_smmu 0x04e0 0x0>;
73+
arm,scatter-gather;
74+
75+
in-ports {
76+
port {
77+
tmc_etr_in: endpoint {
78+
remote-endpoint = <&replicator_etr_out0>;
79+
};
80+
};
81+
};
82+
83+
out-ports {
84+
port {
85+
tmc_etr_out: endpoint {
86+
remote-endpoint = <&ctcu_in0>;
87+
};
88+
};
89+
};
90+
};
91+
92+
replicator_etr: replicator@1004e000 {
93+
compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
94+
reg = <0x0 0x1004e000 0x0 0x1000>;
95+
96+
clocks = <&aoss_qmp>;
97+
clock-names = "apb_pclk";
98+
99+
in-ports {
100+
port {
101+
replicator_etr_in: endpoint {
102+
remote-endpoint = <&replicator_qdss_out>;
103+
};
104+
};
105+
};
106+
107+
out-ports {
108+
#address-cells = <1>;
109+
#size-cells = <0>;
110+
111+
port@0 {
112+
reg = <0>;
113+
114+
replicator_etr_out0: endpoint {
115+
remote-endpoint = <&tmc_etr_in>;
116+
};
117+
};
118+
119+
port@1 {
120+
reg = <1>;
121+
122+
replicator_etr_out1: endpoint {
123+
remote-endpoint = <&tmc_etr1_in>;
124+
};
125+
};
126+
};
127+
};
128+
129+
tmc_etr1: tmc@1004f000 {
130+
compatible = "arm,coresight-tmc", "arm,primecell";
131+
reg = <0x0 0x1004f000 0x0 0x1000>;
132+
133+
clocks = <&aoss_qmp>;
134+
clock-names = "apb_pclk";
135+
136+
iommus = <&apps_smmu 0x0500 0x0>;
137+
arm,scatter-gather;
138+
139+
in-ports {
140+
port {
141+
tmc_etr1_in: endpoint {
142+
remote-endpoint = <&replicator_etr_out1>;
143+
};
144+
};
145+
};
146+
147+
out-ports {
148+
port {
149+
tmc_etr1_out: endpoint {
150+
remote-endpoint = <&ctcu_in1>;
151+
};
152+
};
153+
};
154+
};
155+
12156
tgu@11301000 {
13157
compatible = "qcom,tgu", "arm,primecell";
14158
reg = <0x0 0x11301000 0x0 0x1000>;
@@ -17,6 +161,53 @@
17161
clock-names = "apb_pclk";
18162
};
19163

164+
tmc@11305000 {
165+
out-ports {
166+
port {
167+
tmc_etf_out: endpoint {
168+
remote-endpoint = <&replicator_swao_in>;
169+
};
170+
};
171+
};
172+
};
173+
174+
replicator_swao: replicator@11306000 {
175+
compatible = "arm,coresight-dynamic-replicator", "arm,primecell";
176+
reg = <0x0 0x11306000 0x0 0x1000>;
177+
178+
clocks = <&aoss_qmp>;
179+
clock-names = "apb_pclk";
180+
181+
in-ports {
182+
port {
183+
replicator_swao_in: endpoint {
184+
remote-endpoint = <&tmc_etf_out>;
185+
};
186+
};
187+
};
188+
189+
out-ports {
190+
#address-cells = <1>;
191+
#size-cells = <0>;
192+
193+
port@0 {
194+
reg = <0>;
195+
196+
replicator_swao_out0: endpoint {
197+
remote-endpoint = <&replicator_qdss_in>;
198+
};
199+
};
200+
201+
port@1 {
202+
reg = <1>;
203+
204+
replicator_swao_out1: endpoint {
205+
remote-endpoint = <&eud_in>;
206+
};
207+
};
208+
};
209+
};
210+
20211
tgu@1130e000 {
21212
compatible = "qcom,tgu", "arm,primecell";
22213
reg = <0x0 0x1130e000 0x0 0x1000>;

0 commit comments

Comments
 (0)