[RFC PATCH 10/11] coresight: adding support for beagleXM

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier 

Currently supporting ETM and ETB.  Support for TPIU
and SDTI are yet to be added.

Signed-off-by: Mathieu Poirier 
---
 arch/arm/boot/dts/omap3-beagle-xm.dts | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts 
b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 447e714..b39bede 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -86,6 +86,36 @@
reset-gpios = < 19 GPIO_ACTIVE_LOW>; /* gpio_147 */
vcc-supply = <_power>;
};
+
+   coresight {
+   compatible = "arm,coresight";
+   #address-cells = <1>;
+   #size-cells = <1>;
+   clocks = <_src_ck>;
+   ranges;
+
+   etb: etb@54000 {
+   compatible = "arm,coresight-etb";
+   reg = <0x5401b000 0x1000>;
+
+   coresight-id = <0>;
+   coresight-name = "coresight-etb";
+   coresight-nr-inports = <1>;
+   coresight-default-sink;
+   };
+
+   etm@5401 {
+   compatible = "arm,coresight-etm";
+   reg = <0x5401 0x1000>;
+
+   coresight-id = <1>;
+   coresight-name = "coresight-etm";
+   coresight-nr-inports = <0>;
+   coresight-outports = <0>;
+   coresight-child-list = <>;
+   coresight-child-ports = <0>;
+   };
+   };
 };
 
 _pmx_wkup {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[RFC PATCH 10/11] coresight: adding support for beagleXM

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org

Currently supporting ETM and ETB.  Support for TPIU
and SDTI are yet to be added.

Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org
---
 arch/arm/boot/dts/omap3-beagle-xm.dts | 30 ++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/omap3-beagle-xm.dts 
b/arch/arm/boot/dts/omap3-beagle-xm.dts
index 447e714..b39bede 100644
--- a/arch/arm/boot/dts/omap3-beagle-xm.dts
+++ b/arch/arm/boot/dts/omap3-beagle-xm.dts
@@ -86,6 +86,36 @@
reset-gpios = gpio5 19 GPIO_ACTIVE_LOW; /* gpio_147 */
vcc-supply = hsusb2_power;
};
+
+   coresight {
+   compatible = arm,coresight;
+   #address-cells = 1;
+   #size-cells = 1;
+   clocks = emu_src_ck;
+   ranges;
+
+   etb: etb@54000 {
+   compatible = arm,coresight-etb;
+   reg = 0x5401b000 0x1000;
+
+   coresight-id = 0;
+   coresight-name = coresight-etb;
+   coresight-nr-inports = 1;
+   coresight-default-sink;
+   };
+
+   etm@5401 {
+   compatible = arm,coresight-etm;
+   reg = 0x5401 0x1000;
+
+   coresight-id = 1;
+   coresight-name = coresight-etm;
+   coresight-nr-inports = 0;
+   coresight-outports = 0;
+   coresight-child-list = etb;
+   coresight-child-ports = 0;
+   };
+   };
 };
 
 omap3_pmx_wkup {
-- 
1.9.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/