Skip to content

Commit f242003

Browse files
lumagandersson
authored andcommitted
ARM: dts: qcom: apq8064: move replicator out of soc node
The CoreSight static replicator device isn't a part of the system MMIO bus, as such it should not be a part of the soc node. Follow the example of other platforms and move it out of the soc bus to the top-level (and reoder ports to follow alphabetic order). Fixes: 7a5c275 ("ARM: dts: qcom: Add apq8064 CoreSight components") Signed-off-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 92c377b commit f242003

File tree

1 file changed

+34
-33
lines changed

1 file changed

+34
-33
lines changed

arch/arm/boot/dts/qcom/qcom-apq8064.dtsi

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,40 @@
278278
};
279279
};
280280

281+
replicator {
282+
compatible = "arm,coresight-static-replicator";
283+
284+
clocks = <&rpmcc RPM_QDSS_CLK>;
285+
clock-names = "apb_pclk";
286+
287+
in-ports {
288+
port {
289+
replicator_in: endpoint {
290+
remote-endpoint = <&funnel_out>;
291+
};
292+
};
293+
};
294+
295+
out-ports {
296+
#address-cells = <1>;
297+
#size-cells = <0>;
298+
299+
port@0 {
300+
reg = <0>;
301+
replicator_out0: endpoint {
302+
remote-endpoint = <&etb_in>;
303+
};
304+
};
305+
306+
port@1 {
307+
reg = <1>;
308+
replicator_out1: endpoint {
309+
remote-endpoint = <&tpiu_in>;
310+
};
311+
};
312+
};
313+
};
314+
281315
soc: soc {
282316
#address-cells = <1>;
283317
#size-cells = <1>;
@@ -1529,39 +1563,6 @@
15291563
};
15301564
};
15311565

1532-
replicator {
1533-
compatible = "arm,coresight-static-replicator";
1534-
1535-
clocks = <&rpmcc RPM_QDSS_CLK>;
1536-
clock-names = "apb_pclk";
1537-
1538-
out-ports {
1539-
#address-cells = <1>;
1540-
#size-cells = <0>;
1541-
1542-
port@0 {
1543-
reg = <0>;
1544-
replicator_out0: endpoint {
1545-
remote-endpoint = <&etb_in>;
1546-
};
1547-
};
1548-
port@1 {
1549-
reg = <1>;
1550-
replicator_out1: endpoint {
1551-
remote-endpoint = <&tpiu_in>;
1552-
};
1553-
};
1554-
};
1555-
1556-
in-ports {
1557-
port {
1558-
replicator_in: endpoint {
1559-
remote-endpoint = <&funnel_out>;
1560-
};
1561-
};
1562-
};
1563-
};
1564-
15651566
funnel@1a04000 {
15661567
compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
15671568
reg = <0x1a04000 0x1000>;

0 commit comments

Comments
 (0)