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 listed in order (perfmon, event0, event1).
89 Value type: <prop-encoded-array>
90 Definition: A standard property. Specifies the physical address
91 offset and length of the DCSR space registers of the device
96 compatible = "fsl,dcsr-epu";
97 interrupts = <52 2 0 0
100 interrupt-parent = <&mpic>;
104 =======================================================================
105 Nexus Port Controller
107 This node represents the region of DCSR space allocated to the NPC
114 Definition: Must include "fsl,dcsr-npc"
118 Value type: <prop-encoded-array>
119 Definition: A standard property. Specifies the physical address
120 offset and length of the DCSR space registers of the device
122 The Nexus Port controller occupies two regions in the DCSR space
123 with distinct functionality.
125 The first register range describes the Nexus Port Controller
126 control and status registers.
128 The second register range describes the Nexus Port Controller
129 internal trace buffer. The NPC trace buffer is a small memory buffer
130 which stages the nexus trace data for transmission via the Aurora port
131 or to a DDR based trace buffer. In some configurations the NPC trace
132 buffer can be the only trace buffer used.
137 compatible = "fsl,dcsr-npc";
138 reg = <0x1000 0x1000 0x1000000 0x8000>;
141 =======================================================================
144 This node represents the region of DCSR space allocated to the NXC
151 Definition: Must include "fsl,dcsr-nxc"
155 Value type: <prop-encoded-array>
156 Definition: A standard property. Specifies the physical address
157 offset and length of the DCSR space registers of the device
162 compatible = "fsl,dcsr-nxc";
163 reg = <0x2000 0x1000>;
165 =======================================================================
166 CoreNet Debug Controller
168 This node represents the region of DCSR space allocated to
169 the CoreNet Debug controller.
176 Definition: Must include "fsl,dcsr-corenet"
180 Value type: <prop-encoded-array>
181 Definition: A standard property. Specifies the physical address
182 offset and length of the DCSR space registers of the device
184 The CoreNet Debug controller occupies two regions in the DCSR space
185 with distinct functionality.
187 The first register range describes the CoreNet Debug Controller
188 functionalty to perform transaction and transaction attribute matches.
190 The second register range describes the CoreNet Debug Controller
191 functionalty to trigger event notifications and debug traces.
195 compatible = "fsl,dcsr-corenet";
196 reg = <0x8000 0x1000 0xB0000 0x1000>;
199 =======================================================================
200 Data Path Debug controller
202 This node represents the region of DCSR space allocated to
203 the DPAA Debug Controller. This controller controls debug configuration
204 for the QMAN and FMAN blocks.
211 Definition: Must include both an identifier specific to the SoC
212 or Debug IP of the form "fsl,<soc>-dcsr-dpaa" in addition to the
213 generic compatible string "fsl,dcsr-dpaa".
217 Value type: <prop-encoded-array>
218 Definition: A standard property. Specifies the physical address
219 offset and length of the DCSR space registers of the device
224 compatible = "fsl,p4080-dcsr-dpaa", "fsl,dcsr-dpaa";
225 reg = <0x9000 0x1000>;
228 =======================================================================
229 OCeaN Debug controller
231 This node represents the region of DCSR space allocated to
232 the OCN Debug Controller.
239 Definition: Must include both an identifier specific to the SoC
240 or Debug IP of the form "fsl,<soc>-dcsr-ocn" in addition to the
241 generic compatible string "fsl,dcsr-ocn".
245 Value type: <prop-encoded-array>
246 Definition: A standard property. Specifies the physical address
247 offset and length of the DCSR space registers of the device
252 compatible = "fsl,p4080-dcsr-ocn", "fsl,dcsr-ocn";
253 reg = <0x11000 0x1000>;
256 =======================================================================
257 DDR Controller Debug controller
259 This node represents the region of DCSR space allocated to
260 the OCN Debug Controller.
267 Definition: Must include "fsl,dcsr-ddr"
271 Definition: A phandle to associate this debug node with its
272 component controller.
276 Value type: <prop-encoded-array>
277 Definition: A standard property. Specifies the physical address
278 offset and length of the DCSR space registers of the device
283 compatible = "fsl,dcsr-ddr";
284 dev-handle = <&ddr1>;
285 reg = <0x12000 0x1000>;
288 =======================================================================
289 Nexus Aurora Link Controller
291 This node represents the region of DCSR space allocated to
299 Definition: Must include both an identifier specific to the SoC
300 or Debug IP of the form "fsl,<soc>-dcsr-nal" in addition to the
301 generic compatible string "fsl,dcsr-nal".
305 Value type: <prop-encoded-array>
306 Definition: A standard property. Specifies the physical address
307 offset and length of the DCSR space registers of the device
312 compatible = "fsl,p4080-dcsr-nal", "fsl,dcsr-nal";
313 reg = <0x18000 0x1000>;
317 =======================================================================
318 Run Control and Power Management
320 This node represents the region of DCSR space allocated to
321 the RCPM Debug Controller. This functionlity is limited to the
322 control the debug operations of the SoC and cores.
329 Definition: Must include both an identifier specific to the SoC
330 or Debug IP of the form "fsl,<soc>-dcsr-rcpm" in addition to the
331 generic compatible string "fsl,dcsr-rcpm".
335 Value type: <prop-encoded-array>
336 Definition: A standard property. Specifies the physical address
337 offset and length of the DCSR space registers of the device
342 compatible = "fsl,p4080-dcsr-rcpm", "fsl,dcsr-rcpm";
343 reg = <0x22000 0x1000>;
346 =======================================================================
347 Core Service Bridge Proxy
349 This node represents the region of DCSR space allocated to
350 the Core Service Bridge Proxies.
351 There is one Core Service Bridge Proxy device for each CPU in the system.
352 This functionlity provides access to the debug operations of the CPU.
359 Definition: Must include both an identifier specific to the cpu
360 of the form "fsl,dcsr-<cpu>-sb-proxy" in addition to the
361 generic compatible string "fsl,dcsr-cpu-sb-proxy".
365 Definition: A phandle to associate this debug node with its cpu.
369 Value type: <prop-encoded-array>
370 Definition: A standard property. Specifies the physical address
371 offset and length of the DCSR space registers of the device
375 dcsr-cpu-sb-proxy@40000 {
376 compatible = "fsl,dcsr-e500mc-sb-proxy",
377 "fsl,dcsr-cpu-sb-proxy";
378 cpu-handle = <&cpu0>;
379 reg = <0x40000 0x1000>;
381 dcsr-cpu-sb-proxy@41000 {
382 compatible = "fsl,dcsr-e500mc-sb-proxy",
383 "fsl,dcsr-cpu-sb-proxy";
384 cpu-handle = <&cpu1>;
385 reg = <0x41000 0x1000>;
388 =======================================================================