aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorOlivier Schonken <olivier.schonken@gmail.com>2016-07-05 04:05:50 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-08-08 06:08:00 -0400
commite46f48ad86f4483dfaa5947a7b7dbd4a63b0398a (patch)
tree307655499424e6aee28e9def4bad2014df11f449 /arch/arm/boot
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
ARM: dts: at91: sama5d2: add ETM and ETB nodes
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> Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/sama5d2.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 353d0e5ec83b..7173ec9059a1 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -77,6 +77,35 @@
77 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>; 77 interrupts = <2 IRQ_TYPE_LEVEL_HIGH 0>;
78 }; 78 };
79 79
80 etb {
81 compatible = "arm,coresight-etb10", "arm,primecell";
82 reg = <0x740000 0x1000>;
83
84 clocks = <&mck>;
85 clock-names = "apb_pclk";
86
87 port {
88 etb_in: endpoint {
89 slave-mode;
90 remote-endpoint = <&etm_out>;
91 };
92 };
93 };
94
95 etm {
96 compatible = "arm,coresight-etm3x", "arm,primecell";
97 reg = <0x73C000 0x1000>;
98
99 clocks = <&mck>;
100 clock-names = "apb_pclk";
101
102 port {
103 etm_out: endpoint {
104 remote-endpoint = <&etb_in>;
105 };
106 };
107 };
108
80 memory { 109 memory {
81 reg = <0x20000000 0x20000000>; 110 reg = <0x20000000 0x20000000>;
82 }; 111 };