coresight: adding support for beagle and beagleXM
authorMathieu Poirier <mathieu.poirier@linaro.org>
Mon, 3 Nov 2014 18:07:43 +0000 (11:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 23:19:33 +0000 (15:19 -0800)
Currently supporting ETM and ETB.  Support for TPIU
and SDTI are yet to be added.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/omap3-beagle-xm.dts
arch/arm/boot/dts/omap3-beagle.dts

index 06a8aec..25f7b0a 100644 (file)
                        };
                };
        };
+
+       etb@5401b000 {
+               compatible = "arm,coresight-etb10", "arm,primecell";
+               reg = <0x5401b000 0x1000>;
+
+               coresight-default-sink;
+               clocks = <&emu_src_ck>;
+               clock-names = "apb_pclk";
+               port {
+                       etb_in: endpoint {
+                               slave-mode;
+                               remote-endpoint = <&etm_out>;
+                       };
+               };
+       };
+
+       etm@54010000 {
+               compatible = "arm,coresight-etm3x", "arm,primecell";
+               reg = <0x54010000 0x1000>;
+
+               clocks = <&emu_src_ck>;
+               clock-names = "apb_pclk";
+               port {
+                       etm_out: endpoint {
+                               remote-endpoint = <&etb_in>;
+                       };
+               };
+       };
 };
 
 &omap3_pmx_wkup {
index a9aae88..c792391 100644 (file)
                        };
                };
        };
+
+       etb@540000000 {
+               compatible = "arm,coresight-etb10", "arm,primecell";
+               reg = <0x5401b000 0x1000>;
+
+               coresight-default-sink;
+               clocks = <&emu_src_ck>;
+               clock-names = "apb_pclk";
+               port {
+                       etb_in: endpoint {
+                               slave-mode;
+                               remote-endpoint = <&etm_out>;
+                       };
+               };
+       };
+
+       etm@54010000 {
+               compatible = "arm,coresight-etm3x", "arm,primecell";
+               reg = <0x54010000 0x1000>;
+
+               clocks = <&emu_src_ck>;
+               clock-names = "apb_pclk";
+               port {
+                       etm_out: endpoint {
+                               remote-endpoint = <&etb_in>;
+                       };
+               };
+       };
 };
 
 &omap3_pmx_wkup {