From: olivier.schonken@gmail.com (Olivier Schonken)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes
Date: Tue, 5 Jul 2016 10:05:50 +0200 [thread overview]
Message-ID: <1467705950-29482-2-git-send-email-olivier.schonken@gmail.com> (raw)
In-Reply-To: <1467705950-29482-1-git-send-email-olivier.schonken@gmail.com>
Add node to support SAMA5D2 Embedded Trace Macrocell and Embedded
Trace Buffer.
This patch depends on coresight-etm3x: Add ARM ETM-A5 peripheral ID
for proper coresight functionality.
It also depends on clocksource: timer-atmel-pit: enable mck to not
stall SAMA5D2 on bootup.
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
---
arch/arm/boot/dts/sama5d2.dtsi | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 5d63206..bde24ab 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -77,6 +77,35 @@
interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
};
+ etb {
+ compatible = "arm,coresight-etb10", "arm,primecell";
+ reg = <0x740000 0x1000>;
+
+ clocks = <&mck>;
+ clock-names = "apb_pclk";
+
+ port {
+ etb_in: endpoint {
+ slave-mode;
+ remote-endpoint = <&etm_out>;
+ };
+ };
+ };
+
+ etm {
+ compatible = "arm,coresight-etm3x", "arm,primecell";
+ reg = <0x73C000 0x1000>;
+
+ clocks = <&mck>;
+ clock-names = "apb_pclk";
+
+ port {
+ etm_out: endpoint {
+ remote-endpoint = <&etb_in>;
+ };
+ };
+ };
+
memory {
reg = <0x20000000 0x20000000>;
};
--
1.9.1
next prev parent reply other threads:[~2016-07-05 8:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-05 8:05 [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Olivier Schonken
2016-07-05 8:05 ` Olivier Schonken [this message]
2016-07-05 16:16 ` [PATCH v2 2/2] ARM: dts: at91: sama5d2: add ETM and ETB nodes Mathieu Poirier
2016-07-20 8:17 ` Olivier Schonken
2016-07-20 9:16 ` Alexandre Belloni
2016-07-20 9:17 ` Boris Brezillon
2016-08-08 10:08 ` Alexandre Belloni
2016-07-05 16:15 ` [PATCH v2 1/2] coresight-etm3x: Add ARM ETM 3.5 Cortex-A5 peripheral ID Mathieu Poirier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1467705950-29482-2-git-send-email-olivier.schonken@gmail.com \
--to=olivier.schonken@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).