arm64: dts: juno: Update entries to match latest coresight bindings

Switch to updated coresight bindings for Juno platforms.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
[sudeep.holla: minor modifications to patch title]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
This commit is contained in:
Suzuki K Poulose 2018-07-27 11:15:37 +01:00 committed by Sudeep Holla
parent 5b394b2ddf
commit 41af6cbfa1
3 changed files with 107 additions and 123 deletions

View File

@ -115,22 +115,17 @@ etf@20010000 { /* etf0 */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
/* input port */ in-ports {
port@0 { port {
reg = <0>;
etf0_in_port: endpoint { etf0_in_port: endpoint {
slave-mode;
remote-endpoint = <&main_funnel_out_port>; remote-endpoint = <&main_funnel_out_port>;
}; };
}; };
};
/* output port */ out-ports {
port@1 { port {
reg = <0>;
etf0_out_port: endpoint { etf0_out_port: endpoint {
}; };
}; };
@ -144,10 +139,11 @@ tpiu@20030000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { in-ports {
tpiu_in_port: endpoint { port {
slave-mode; tpiu_in_port: endpoint {
remote-endpoint = <&replicator_out_port0>; remote-endpoint = <&replicator_out_port0>;
};
}; };
}; };
}; };
@ -160,31 +156,29 @@ main_funnel: funnel@20040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
/* output port */ out-ports {
port@0 { port {
reg = <0>;
main_funnel_out_port: endpoint { main_funnel_out_port: endpoint {
remote-endpoint = <&etf0_in_port>; remote-endpoint = <&etf0_in_port>;
}; };
}; };
};
/* input ports */ main_funnel_in_ports: in-ports {
port@1 { #address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; reg = <0>;
main_funnel_in_port0: endpoint { main_funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&cluster0_funnel_out_port>; remote-endpoint = <&cluster0_funnel_out_port>;
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
main_funnel_in_port1: endpoint { main_funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&cluster1_funnel_out_port>; remote-endpoint = <&cluster1_funnel_out_port>;
}; };
}; };
@ -199,10 +193,11 @@ etr@20070000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { in-ports {
etr_in_port: endpoint { port {
slave-mode; etr_in_port: endpoint {
remote-endpoint = <&replicator_out_port1>; remote-endpoint = <&replicator_out_port1>;
};
}; };
}; };
}; };
@ -216,8 +211,10 @@ stm@20100000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
stm_out_port: endpoint { port {
stm_out_port: endpoint {
};
}; };
}; };
}; };
@ -238,9 +235,11 @@ etm0: etm@22040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster0_etm0_out_port: endpoint { port {
remote-endpoint = <&cluster0_funnel_in_port0>; cluster0_etm0_out_port: endpoint {
remote-endpoint = <&cluster0_funnel_in_port0>;
};
}; };
}; };
}; };
@ -252,29 +251,28 @@ funnel@220c0000 { /* cluster0 funnel */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { out-ports {
port {
cluster0_funnel_out_port: endpoint {
remote-endpoint = <&main_funnel_in_port0>;
};
};
};
in-ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
port@0 { port@0 {
reg = <0>;
cluster0_funnel_out_port: endpoint {
remote-endpoint = <&main_funnel_in_port0>;
};
};
port@1 {
reg = <0>; reg = <0>;
cluster0_funnel_in_port0: endpoint { cluster0_funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&cluster0_etm0_out_port>; remote-endpoint = <&cluster0_etm0_out_port>;
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
cluster0_funnel_in_port1: endpoint { cluster0_funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&cluster0_etm1_out_port>; remote-endpoint = <&cluster0_etm1_out_port>;
}; };
}; };
@ -297,9 +295,11 @@ etm1: etm@22140000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster0_etm1_out_port: endpoint { port {
remote-endpoint = <&cluster0_funnel_in_port1>; cluster0_etm1_out_port: endpoint {
remote-endpoint = <&cluster0_funnel_in_port1>;
};
}; };
}; };
}; };
@ -320,9 +320,11 @@ etm2: etm@23040000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster1_etm0_out_port: endpoint { port {
remote-endpoint = <&cluster1_funnel_in_port0>; cluster1_etm0_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port0>;
};
}; };
}; };
}; };
@ -334,43 +336,40 @@ funnel@230c0000 { /* cluster1 funnel */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { out-ports {
port {
cluster1_funnel_out_port: endpoint {
remote-endpoint = <&main_funnel_in_port1>;
};
};
};
in-ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
port@0 { port@0 {
reg = <0>;
cluster1_funnel_out_port: endpoint {
remote-endpoint = <&main_funnel_in_port1>;
};
};
port@1 {
reg = <0>; reg = <0>;
cluster1_funnel_in_port0: endpoint { cluster1_funnel_in_port0: endpoint {
slave-mode;
remote-endpoint = <&cluster1_etm0_out_port>; remote-endpoint = <&cluster1_etm0_out_port>;
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
cluster1_funnel_in_port1: endpoint { cluster1_funnel_in_port1: endpoint {
slave-mode;
remote-endpoint = <&cluster1_etm1_out_port>; remote-endpoint = <&cluster1_etm1_out_port>;
}; };
}; };
port@3 { port@2 {
reg = <2>; reg = <2>;
cluster1_funnel_in_port2: endpoint { cluster1_funnel_in_port2: endpoint {
slave-mode;
remote-endpoint = <&cluster1_etm2_out_port>; remote-endpoint = <&cluster1_etm2_out_port>;
}; };
}; };
port@4 { port@3 {
reg = <3>; reg = <3>;
cluster1_funnel_in_port3: endpoint { cluster1_funnel_in_port3: endpoint {
slave-mode;
remote-endpoint = <&cluster1_etm3_out_port>; remote-endpoint = <&cluster1_etm3_out_port>;
}; };
}; };
@ -393,9 +392,11 @@ etm3: etm@23140000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster1_etm1_out_port: endpoint { port {
remote-endpoint = <&cluster1_funnel_in_port1>; cluster1_etm1_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port1>;
};
}; };
}; };
}; };
@ -416,9 +417,11 @@ etm4: etm@23240000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster1_etm2_out_port: endpoint { port {
remote-endpoint = <&cluster1_funnel_in_port2>; cluster1_etm2_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port2>;
};
}; };
}; };
}; };
@ -439,9 +442,11 @@ etm5: etm@23340000 {
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
port { out-ports {
cluster1_etm3_out_port: endpoint { port {
remote-endpoint = <&cluster1_funnel_in_port3>; cluster1_etm3_out_port: endpoint {
remote-endpoint = <&cluster1_funnel_in_port3>;
};
}; };
}; };
}; };
@ -454,7 +459,7 @@ replicator@20120000 {
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { out-ports {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
@ -472,12 +477,10 @@ replicator_out_port1: endpoint {
remote-endpoint = <&etr_in_port>; remote-endpoint = <&etr_in_port>;
}; };
}; };
};
/* replicator input port */ in-ports {
port@2 { port {
reg = <0>;
replicator_in_port0: endpoint { replicator_in_port0: endpoint {
slave-mode;
}; };
}; };
}; };

View File

@ -7,23 +7,16 @@ funnel@20130000 { /* cssys1 */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { out-ports {
#address-cells = <1>; port {
#size-cells = <0>;
/* output port */
port@0 {
reg = <0>;
csys1_funnel_out_port: endpoint { csys1_funnel_out_port: endpoint {
remote-endpoint = <&etf1_in_port>; remote-endpoint = <&etf1_in_port>;
}; };
}; };
};
/* input port */ in-ports {
port@1 { port {
reg = <0>;
csys1_funnel_in_port0: endpoint { csys1_funnel_in_port0: endpoint {
slave-mode;
}; };
}; };
@ -37,22 +30,15 @@ etf@20140000 { /* etf1 */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { in-ports {
#address-cells = <1>; port {
#size-cells = <0>;
/* input port */
port@0 {
reg = <0>;
etf1_in_port: endpoint { etf1_in_port: endpoint {
slave-mode;
remote-endpoint = <&csys1_funnel_out_port>; remote-endpoint = <&csys1_funnel_out_port>;
}; };
}; };
};
/* output port */ out-ports {
port@1 { port {
reg = <0>;
etf1_out_port: endpoint { etf1_out_port: endpoint {
remote-endpoint = <&csys2_funnel_in_port1>; remote-endpoint = <&csys2_funnel_in_port1>;
}; };
@ -67,20 +53,18 @@ funnel@20150000 { /* cssys2 */
clocks = <&soc_smc50mhz>; clocks = <&soc_smc50mhz>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
power-domains = <&scpi_devpd 0>; power-domains = <&scpi_devpd 0>;
ports { out-ports {
#address-cells = <1>; port {
#size-cells = <0>;
/* output port */
port@0 {
reg = <0>;
csys2_funnel_out_port: endpoint { csys2_funnel_out_port: endpoint {
remote-endpoint = <&replicator_in_port0>; remote-endpoint = <&replicator_in_port0>;
}; };
}; };
};
/* input ports */ in-ports {
port@1 { #address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>; reg = <0>;
csys2_funnel_in_port0: endpoint { csys2_funnel_in_port0: endpoint {
slave-mode; slave-mode;
@ -88,7 +72,7 @@ csys2_funnel_in_port0: endpoint {
}; };
}; };
port@2 { port@1 {
reg = <1>; reg = <1>;
csys2_funnel_in_port1: endpoint { csys2_funnel_in_port1: endpoint {
slave-mode; slave-mode;

View File

@ -257,14 +257,11 @@ &stm_out_port {
remote-endpoint = <&main_funnel_in_port2>; remote-endpoint = <&main_funnel_in_port2>;
}; };
&main_funnel { &main_funnel_in_ports {
ports { port@2 {
port@3 { reg = <2>;
reg = <2>; main_funnel_in_port2: endpoint {
main_funnel_in_port2: endpoint { remote-endpoint = <&stm_out_port>;
slave-mode;
remote-endpoint = <&stm_out_port>;
};
}; };
}; };
}; };