Commit 5b799840 authored by Suzuki K Poulose's avatar Suzuki K Poulose Committed by Linus Walleij

arm: dts: ste: Update coresight bindings for hardware port

Switch to the new coresight bindings

Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: default avatarSuzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 2f967f9e
...@@ -72,12 +72,14 @@ ptm@801ae000 { ...@@ -72,12 +72,14 @@ ptm@801ae000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
cpu = <&CPU0>; cpu = <&CPU0>;
out-ports {
port { port {
ptm0_out_port: endpoint { ptm0_out_port: endpoint {
remote-endpoint = <&funnel_in_port0>; remote-endpoint = <&funnel_in_port0>;
}; };
}; };
}; };
};
ptm@801af000 { ptm@801af000 {
compatible = "arm,coresight-etm3x", "arm,primecell"; compatible = "arm,coresight-etm3x", "arm,primecell";
...@@ -86,12 +88,14 @@ ptm@801af000 { ...@@ -86,12 +88,14 @@ ptm@801af000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
cpu = <&CPU1>; cpu = <&CPU1>;
out-ports {
port { port {
ptm1_out_port: endpoint { ptm1_out_port: endpoint {
remote-endpoint = <&funnel_in_port1>; remote-endpoint = <&funnel_in_port1>;
}; };
}; };
}; };
};
funnel@801a6000 { funnel@801a6000 {
compatible = "arm,coresight-funnel", "arm,primecell"; compatible = "arm,coresight-funnel", "arm,primecell";
...@@ -99,32 +103,29 @@ funnel@801a6000 { ...@@ -99,32 +103,29 @@ funnel@801a6000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
ports { out-ports {
#address-cells = <1>; port {
#size-cells = <0>;
/* funnel output ports */
port@0 {
reg = <0>;
funnel_out_port: endpoint { funnel_out_port: endpoint {
remote-endpoint = remote-endpoint =
<&replicator_in_port0>; <&replicator_in_port0>;
}; };
}; };
};
/* funnel input ports */ in-ports {
port@1 { #address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; reg = <0>;
funnel_in_port0: endpoint { funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&ptm0_out_port>; remote-endpoint = <&ptm0_out_port>;
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
funnel_in_port1: endpoint { funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&ptm1_out_port>; remote-endpoint = <&ptm1_out_port>;
}; };
}; };
...@@ -136,11 +137,10 @@ replicator { ...@@ -136,11 +137,10 @@ replicator {
clocks = <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "atclk"; clock-names = "atclk";
ports { out-ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
/* replicator output ports */
port@0 { port@0 {
reg = <0>; reg = <0>;
replicator_out_port0: endpoint { replicator_out_port0: endpoint {
...@@ -153,12 +153,11 @@ replicator_out_port1: endpoint { ...@@ -153,12 +153,11 @@ replicator_out_port1: endpoint {
remote-endpoint = <&etb_in_port>; remote-endpoint = <&etb_in_port>;
}; };
}; };
};
/* replicator input port */ in-ports {
port@2 { port {
reg = <0>;
replicator_in_port0: endpoint { replicator_in_port0: endpoint {
slave-mode;
remote-endpoint = <&funnel_out_port>; remote-endpoint = <&funnel_out_port>;
}; };
}; };
...@@ -171,13 +170,14 @@ tpiu@80190000 { ...@@ -171,13 +170,14 @@ tpiu@80190000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
in-ports {
port { port {
tpiu_in_port: endpoint { tpiu_in_port: endpoint {
slave-mode;
remote-endpoint = <&replicator_out_port0>; remote-endpoint = <&replicator_out_port0>;
}; };
}; };
}; };
};
etb@801a4000 { etb@801a4000 {
compatible = "arm,coresight-etb10", "arm,primecell"; compatible = "arm,coresight-etb10", "arm,primecell";
...@@ -185,13 +185,14 @@ etb@801a4000 { ...@@ -185,13 +185,14 @@ etb@801a4000 {
clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>; clocks = <&prcmu_clk PRCMU_APETRACECLK>, <&prcmu_clk PRCMU_APEATCLK>;
clock-names = "apb_pclk", "atclk"; clock-names = "apb_pclk", "atclk";
in-ports {
port { port {
etb_in_port: endpoint { etb_in_port: endpoint {
slave-mode;
remote-endpoint = <&replicator_out_port1>; remote-endpoint = <&replicator_out_port1>;
}; };
}; };
}; };
};
intc: interrupt-controller@a0411000 { intc: interrupt-controller@a0411000 {
compatible = "arm,cortex-a9-gic"; compatible = "arm,cortex-a9-gic";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment