arm64: dts: juno: update definition for programmable replicator
authorMike Leach <mike.leach@linaro.org>
Fri, 17 Feb 2017 19:13:10 +0000 (19:13 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 21 Feb 2017 16:02:02 +0000 (16:02 +0000)
Juno platforms have a programmable replicator splitting the trace output
to TPIU and ETR. Currently this is not being programmed as it is being
treated as a none-programmable replicator - which is the default
operational mode for these devices. The TPIU in the system is enabled by
default, and this combination is causing back-pressure in the trace
system resulting in overflows at the source.

Replaces the existing definition with one that defines the programmable
replicator, using the "qcom,coresight-replicator1x" driver that provides
the correct functionality for CoreSight programmable replicators.

Reviewed-and-Tested-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Mike Leach <mike.leach@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/juno-base.dtsi

index 9d799d9..df539e8 100644 (file)
                };
        };
 
-       coresight-replicator {
-               /*
-                * Non-configurable replicators don't show up on the
-                * AMBA bus.  As such no need to add "arm,primecell".
-                */
-               compatible = "arm,coresight-replicator";
+       replicator@20120000 {
+               compatible = "qcom,coresight-replicator1x", "arm,primecell";
+               reg = <0 0x20120000 0 0x1000>;
+
+               clocks = <&soc_smc50mhz>;
+               clock-names = "apb_pclk";
+               power-domains = <&scpi_devpd 0>;
 
                ports {
                        #address-cells = <1>;