1 ===================================================================
2 Debug Control and Status Register (DCSR) Binding
3 Copyright 2011 Freescale Semiconductor Inc.
5 NOTE: The bindings described in this document are preliminary and subject
6 to change. Some of the compatible strings that contain only generic names
7 may turn out to be inappropriate, or need additional properties to describe
8 the integration of the block with the rest of the chip.
10 =====================================================================
11 Debug Control and Status Register Memory Map
15 This node defines the base address and range for the
16 defined DCSR Memory Map. Child nodes will describe the individual
17 debug blocks defined within this memory space.
24 Definition: Must include "fsl,dcsr" and "simple-bus".
25 The DCSR space exists in the memory-mapped bus.
30 Definition: A standard property. Defines the number of cells
31 or representing physical addresses in child nodes.
36 Definition: A standard property. Defines the number of cells
37 or representing the size of physical addresses in
42 Value type: <prop-encoded-array>
43 Definition: A standard property. Specifies the physical address
44 range of the DCSR space.
47 dcsr: dcsr@f00000000 {
50 compatible = "fsl,dcsr", "simple-bus";
51 ranges = <0x00000000 0xf 0x00000000 0x01008000>;
54 =====================================================================
57 This node represents the region of DCSR space allocated to the EPU
64 Definition: Must include "fsl,dcsr-epu"
68 Value type: <prop_encoded-array>
69 Definition: Specifies the interrupts generated by the EPU.
70 The value of the interrupts property consists of three
71 interrupt specifiers. The format of the specifier is defined
72 by the binding document describing the node's interrupt parent.
74 The EPU counters can be configured to assert the performance
75 monitor interrupt signal based on either counter overflow or value
76 match. Which counter asserted the interrupt is captured in an EPU
77 Counter Interrupt Status Register (EPCPUISR).
79 The EPU unit can also be configured to assert either or both of
80 two interrupt signals based on debug event sources within the SoC.
81 The interrupt signals are epu_xt_int0 and epu_xt_int1.
82 Which event source asserted the interrupt is captured in an EPU
83 Interrupt Status Register (EPISR0,EPISR1).
85 Interrupt numbers are lised in order (perfmon, event0, event1).
90 Definition: A single <phandle> value that points
91 to the interrupt parent to which the child domain
92 is being mapped. Value must be "&mpic"
96 Value type: <prop-encoded-array>
97 Definition: A standard property. Specifies the physical address
98 offset and length of the DCSR space registers of the device
103 compatible = "fsl,dcsr-epu";
104 interrupts = <52 2 0 0
107 interrupt-parent = <&mpic>;
111 =======================================================================
112 Nexus Port Controller
114 This node represents the region of DCSR space allocated to the NPC
121 Definition: Must include "fsl,dcsr-npc"
125 Value type: <prop-encoded-array>
126 Definition: A standard property. Specifies the physical address
127 offset and length of the DCSR space registers of the device
129 The Nexus Port controller occupies two regions in the DCSR space
130 with distinct functionality.
132 The first register range describes the Nexus Port Controller
133 control and status registers.
135 The second register range describes the Nexus Port Controller
136 internal trace buffer. The NPC trace buffer is a small memory buffer
137 which stages the nexus trace data for transmission via the Aurora port
138 or to a DDR based trace buffer. In some configurations the NPC trace
139 buffer can be the only trace buffer used.
144 compatible = "fsl,dcsr-npc";
145 reg = <0x1000 0x1000 0x1000000 0x8000>;
148 =======================================================================
151 This node represents the region of DCSR space allocated to the NXC
158 Definition: Must include "fsl,dcsr-nxc"
162 Value type: <prop-encoded-array>
163 Definition: A standard property. Specifies the physical address
164 offset and length of the DCSR space registers of the device
169 compatible = "fsl,dcsr-nxc";
170 reg = <0x2000 0x1000>;
172 =======================================================================
173 CoreNet Debug Controller
175 This node represents the region of DCSR space allocated to
176 the CoreNet Debug controller.
183 Definition: Must include "fsl,dcsr-corenet"
187 Value type: <prop-encoded-array>
188 Definition: A standard property. Specifies the physical address
189 offset and length of the DCSR space registers of the device
191 The CoreNet Debug controller occupies two regions in the DCSR space
192 with distinct functionality.
194 The first register range describes the CoreNet Debug Controller
195 functionalty to perform transaction and transaction attribute matches.
197 The second register range describes the CoreNet Debug Controller
198 functionalty to trigger event notifications and debug traces.
202 compatible = "fsl,dcsr-corenet";
203 reg = <0x8000 0x1000 0xB0000 0x1000>;
206 =======================================================================
207 Data Path Debug controller
209 This node represents the region of DCSR space allocated to
210 the DPAA Debug Controller. This controller controls debug configuration
211 for the QMAN and FMAN blocks.
218 Definition: Must include both an identifier specific to the SoC
219 or Debug IP of the form "fsl,<soc>-dcsr-dpaa" in addition to the
220 generic compatible string "fsl,dcsr-dpaa".
224 Value type: <prop-encoded-array>
225 Definition: A standard property. Specifies the physical address
226 offset and length of the DCSR space registers of the device
231 compatible = "fsl,p4080-dcsr-dpaa", "fsl,dcsr-dpaa";
232 reg = <0x9000 0x1000>;
235 =======================================================================
236 OCeaN Debug controller
238 This node represents the region of DCSR space allocated to
239 the OCN Debug Controller.
246 Definition: Must include both an identifier specific to the SoC
247 or Debug IP of the form "fsl,<soc>-dcsr-ocn" in addition to the
248 generic compatible string "fsl,dcsr-ocn".
252 Value type: <prop-encoded-array>
253 Definition: A standard property. Specifies the physical address
254 offset and length of the DCSR space registers of the device
259 compatible = "fsl,p4080-dcsr-ocn", "fsl,dcsr-ocn";
260 reg = <0x11000 0x1000>;
263 =======================================================================
264 DDR Controller Debug controller
266 This node represents the region of DCSR space allocated to
267 the OCN Debug Controller.
274 Definition: Must include "fsl,dcsr-ddr"
278 Definition: A phandle to associate this debug node with its
279 component controller.
283 Value type: <prop-encoded-array>
284 Definition: A standard property. Specifies the physical address
285 offset and length of the DCSR space registers of the device
290 compatible = "fsl,dcsr-ddr";
291 dev-handle = <&ddr1>;
292 reg = <0x12000 0x1000>;
295 =======================================================================
296 Nexus Aurora Link Controller
298 This node represents the region of DCSR space allocated to
306 Definition: Must include both an identifier specific to the SoC
307 or Debug IP of the form "fsl,<soc>-dcsr-nal" in addition to the
308 generic compatible string "fsl,dcsr-nal".
312 Value type: <prop-encoded-array>
313 Definition: A standard property. Specifies the physical address
314 offset and length of the DCSR space registers of the device
319 compatible = "fsl,p4080-dcsr-nal", "fsl,dcsr-nal";
320 reg = <0x18000 0x1000>;
324 =======================================================================
325 Run Control and Power Management
327 This node represents the region of DCSR space allocated to
328 the RCPM Debug Controller. This functionlity is limited to the
329 control the debug operations of the SoC and cores.
336 Definition: Must include both an identifier specific to the SoC
337 or Debug IP of the form "fsl,<soc>-dcsr-rcpm" in addition to the
338 generic compatible string "fsl,dcsr-rcpm".
342 Value type: <prop-encoded-array>
343 Definition: A standard property. Specifies the physical address
344 offset and length of the DCSR space registers of the device
349 compatible = "fsl,p4080-dcsr-rcpm", "fsl,dcsr-rcpm";
350 reg = <0x22000 0x1000>;
353 =======================================================================
354 Core Service Bridge Proxy
356 This node represents the region of DCSR space allocated to
357 the Core Service Bridge Proxies.
358 There is one Core Service Bridge Proxy device for each CPU in the system.
359 This functionlity provides access to the debug operations of the CPU.
366 Definition: Must include both an identifier specific to the cpu
367 of the form "fsl,dcsr-<cpu>-sb-proxy" in addition to the
368 generic compatible string "fsl,dcsr-cpu-sb-proxy".
372 Definition: A phandle to associate this debug node with its cpu.
376 Value type: <prop-encoded-array>
377 Definition: A standard property. Specifies the physical address
378 offset and length of the DCSR space registers of the device
382 dcsr-cpu-sb-proxy@40000 {
383 compatible = "fsl,dcsr-e500mc-sb-proxy",
384 "fsl,dcsr-cpu-sb-proxy";
385 cpu-handle = <&cpu0>;
386 reg = <0x40000 0x1000>;
388 dcsr-cpu-sb-proxy@41000 {
389 compatible = "fsl,dcsr-e500mc-sb-proxy",
390 "fsl,dcsr-cpu-sb-proxy";
391 cpu-handle = <&cpu1>;
392 reg = <0x41000 0x1000>;
395 =======================================================================