aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2017-01-11 15:44:09 -0500
committerSudeep Holla <sudeep.holla@arm.com>2017-01-18 06:14:41 -0500
commitcde6f9ab10c6099f5e8daed898a43562b9911b70 (patch)
tree6592bbcaa3eba4134d4a354504a08b96dba84fcb
parentcdc07e96047a89466c52d723a8b62739ad5604eb (diff)
arm64: dts: juno: add missing CoreSight STM component
This patch adds the missing CoreSight STM component definition to the device tree of all the juno variants(r0,r1,r2) STM component is connected to different funnels depending on Juno platform variant. Reviewed-and-tested-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Mike Leach <mike.leach@linaro.org> [sudeep.holla@arm.com: minor changelog update and reorganising the STM node back into juno-base.dtsi to avoid duplication] Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
-rw-r--r--arch/arm64/boot/dts/arm/juno-base.dtsi15
-rw-r--r--arch/arm64/boot/dts/arm/juno-r1.dts4
-rw-r--r--arch/arm64/boot/dts/arm/juno-r2.dts4
-rw-r--r--arch/arm64/boot/dts/arm/juno.dts16
4 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index 66907430a70a..d410b9705dd6 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -185,6 +185,21 @@
185 }; 185 };
186 }; 186 };
187 187
188 stm@20100000 {
189 compatible = "arm,coresight-stm", "arm,primecell";
190 reg = <0 0x20100000 0 0x1000>,
191 <0 0x28000000 0 0x1000000>;
192 reg-names = "stm-base", "stm-stimulus-base";
193
194 clocks = <&soc_smc50mhz>;
195 clock-names = "apb_pclk";
196 power-domains = <&scpi_devpd 0>;
197 port {
198 stm_out_port: endpoint {
199 };
200 };
201 };
202
188 etm0: etm@22040000 { 203 etm0: etm@22040000 {
189 compatible = "arm,coresight-etm4x", "arm,primecell"; 204 compatible = "arm,coresight-etm4x", "arm,primecell";
190 reg = <0 0x22040000 0 0x1000>; 205 reg = <0 0x22040000 0 0x1000>;
diff --git a/arch/arm64/boot/dts/arm/juno-r1.dts b/arch/arm64/boot/dts/arm/juno-r1.dts
index aef138aa5765..0033c59a64b5 100644
--- a/arch/arm64/boot/dts/arm/juno-r1.dts
+++ b/arch/arm64/boot/dts/arm/juno-r1.dts
@@ -235,3 +235,7 @@
235&replicator_in_port0 { 235&replicator_in_port0 {
236 remote-endpoint = <&csys2_funnel_out_port>; 236 remote-endpoint = <&csys2_funnel_out_port>;
237}; 237};
238
239&stm_out_port {
240 remote-endpoint = <&csys1_funnel_in_port0>;
241};
diff --git a/arch/arm64/boot/dts/arm/juno-r2.dts b/arch/arm64/boot/dts/arm/juno-r2.dts
index 827da7c92607..218d0e4736a8 100644
--- a/arch/arm64/boot/dts/arm/juno-r2.dts
+++ b/arch/arm64/boot/dts/arm/juno-r2.dts
@@ -235,3 +235,7 @@
235&replicator_in_port0 { 235&replicator_in_port0 {
236 remote-endpoint = <&csys2_funnel_out_port>; 236 remote-endpoint = <&csys2_funnel_out_port>;
237}; 237};
238
239&stm_out_port {
240 remote-endpoint = <&csys1_funnel_in_port0>;
241};
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
index 66fa4388d181..bb2820ef3d5b 100644
--- a/arch/arm64/boot/dts/arm/juno.dts
+++ b/arch/arm64/boot/dts/arm/juno.dts
@@ -210,3 +210,19 @@
210&replicator_in_port0 { 210&replicator_in_port0 {
211 remote-endpoint = <&etf0_out_port>; 211 remote-endpoint = <&etf0_out_port>;
212}; 212};
213
214&stm_out_port {
215 remote-endpoint = <&main_funnel_in_port2>;
216};
217
218&main_funnel {
219 ports {
220 port@3 {
221 reg = <2>;
222 main_funnel_in_port2: endpoint {
223 slave-mode;
224 remote-endpoint = <&stm_out_port>;
225 };
226 };
227 };
228};