dcsr.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395
  1. ===================================================================
  2. Debug Control and Status Register (DCSR) Binding
  3. Copyright 2011 Freescale Semiconductor Inc.
  4. NOTE: The bindings described in this document are preliminary and subject
  5. to change. Some of the compatible strings that contain only generic names
  6. may turn out to be inappropriate, or need additional properties to describe
  7. the integration of the block with the rest of the chip.
  8. =====================================================================
  9. Debug Control and Status Register Memory Map
  10. Description
  11. This node defines the base address and range for the
  12. defined DCSR Memory Map. Child nodes will describe the individual
  13. debug blocks defined within this memory space.
  14. PROPERTIES
  15. - compatible
  16. Usage: required
  17. Value type: <string>
  18. Definition: Must include "fsl,dcsr" and "simple-bus".
  19. The DCSR space exists in the memory-mapped bus.
  20. - #address-cells
  21. Usage: required
  22. Value type: <u32>
  23. Definition: A standard property. Defines the number of cells
  24. or representing physical addresses in child nodes.
  25. - #size-cells
  26. Usage: required
  27. Value type: <u32>
  28. Definition: A standard property. Defines the number of cells
  29. or representing the size of physical addresses in
  30. child nodes.
  31. - ranges
  32. Usage: required
  33. Value type: <prop-encoded-array>
  34. Definition: A standard property. Specifies the physical address
  35. range of the DCSR space.
  36. EXAMPLE
  37. dcsr: dcsr@f00000000 {
  38. #address-cells = <1>;
  39. #size-cells = <1>;
  40. compatible = "fsl,dcsr", "simple-bus";
  41. ranges = <0x00000000 0xf 0x00000000 0x01008000>;
  42. };
  43. =====================================================================
  44. Event Processing Unit
  45. This node represents the region of DCSR space allocated to the EPU
  46. PROPERTIES
  47. - compatible
  48. Usage: required
  49. Value type: <string>
  50. Definition: Must include "fsl,dcsr-epu"
  51. - interrupts
  52. Usage: required
  53. Value type: <prop_encoded-array>
  54. Definition: Specifies the interrupts generated by the EPU.
  55. The value of the interrupts property consists of three
  56. interrupt specifiers. The format of the specifier is defined
  57. by the binding document describing the node's interrupt parent.
  58. The EPU counters can be configured to assert the performance
  59. monitor interrupt signal based on either counter overflow or value
  60. match. Which counter asserted the interrupt is captured in an EPU
  61. Counter Interrupt Status Register (EPCPUISR).
  62. The EPU unit can also be configured to assert either or both of
  63. two interrupt signals based on debug event sources within the SoC.
  64. The interrupt signals are epu_xt_int0 and epu_xt_int1.
  65. Which event source asserted the interrupt is captured in an EPU
  66. Interrupt Status Register (EPISR0,EPISR1).
  67. Interrupt numbers are listed in order (perfmon, event0, event1).
  68. - interrupt-parent
  69. Usage: required
  70. Value type: <phandle>
  71. Definition: A single <phandle> value that points
  72. to the interrupt parent to which the child domain
  73. is being mapped. Value must be "&mpic"
  74. - reg
  75. Usage: required
  76. Value type: <prop-encoded-array>
  77. Definition: A standard property. Specifies the physical address
  78. offset and length of the DCSR space registers of the device
  79. configuration block.
  80. EXAMPLE
  81. dcsr-epu@0 {
  82. compatible = "fsl,dcsr-epu";
  83. interrupts = <52 2 0 0
  84. 84 2 0 0
  85. 85 2 0 0>;
  86. interrupt-parent = <&mpic>;
  87. reg = <0x0 0x1000>;
  88. };
  89. =======================================================================
  90. Nexus Port Controller
  91. This node represents the region of DCSR space allocated to the NPC
  92. PROPERTIES
  93. - compatible
  94. Usage: required
  95. Value type: <string>
  96. Definition: Must include "fsl,dcsr-npc"
  97. - reg
  98. Usage: required
  99. Value type: <prop-encoded-array>
  100. Definition: A standard property. Specifies the physical address
  101. offset and length of the DCSR space registers of the device
  102. configuration block.
  103. The Nexus Port controller occupies two regions in the DCSR space
  104. with distinct functionality.
  105. The first register range describes the Nexus Port Controller
  106. control and status registers.
  107. The second register range describes the Nexus Port Controller
  108. internal trace buffer. The NPC trace buffer is a small memory buffer
  109. which stages the nexus trace data for transmission via the Aurora port
  110. or to a DDR based trace buffer. In some configurations the NPC trace
  111. buffer can be the only trace buffer used.
  112. EXAMPLE
  113. dcsr-npc {
  114. compatible = "fsl,dcsr-npc";
  115. reg = <0x1000 0x1000 0x1000000 0x8000>;
  116. };
  117. =======================================================================
  118. Nexus Concentrator
  119. This node represents the region of DCSR space allocated to the NXC
  120. PROPERTIES
  121. - compatible
  122. Usage: required
  123. Value type: <string>
  124. Definition: Must include "fsl,dcsr-nxc"
  125. - reg
  126. Usage: required
  127. Value type: <prop-encoded-array>
  128. Definition: A standard property. Specifies the physical address
  129. offset and length of the DCSR space registers of the device
  130. configuration block.
  131. EXAMPLE
  132. dcsr-nxc@2000 {
  133. compatible = "fsl,dcsr-nxc";
  134. reg = <0x2000 0x1000>;
  135. };
  136. =======================================================================
  137. CoreNet Debug Controller
  138. This node represents the region of DCSR space allocated to
  139. the CoreNet Debug controller.
  140. PROPERTIES
  141. - compatible
  142. Usage: required
  143. Value type: <string>
  144. Definition: Must include "fsl,dcsr-corenet"
  145. - reg
  146. Usage: required
  147. Value type: <prop-encoded-array>
  148. Definition: A standard property. Specifies the physical address
  149. offset and length of the DCSR space registers of the device
  150. configuration block.
  151. The CoreNet Debug controller occupies two regions in the DCSR space
  152. with distinct functionality.
  153. The first register range describes the CoreNet Debug Controller
  154. functionalty to perform transaction and transaction attribute matches.
  155. The second register range describes the CoreNet Debug Controller
  156. functionalty to trigger event notifications and debug traces.
  157. EXAMPLE
  158. dcsr-corenet {
  159. compatible = "fsl,dcsr-corenet";
  160. reg = <0x8000 0x1000 0xB0000 0x1000>;
  161. };
  162. =======================================================================
  163. Data Path Debug controller
  164. This node represents the region of DCSR space allocated to
  165. the DPAA Debug Controller. This controller controls debug configuration
  166. for the QMAN and FMAN blocks.
  167. PROPERTIES
  168. - compatible
  169. Usage: required
  170. Value type: <string>
  171. Definition: Must include both an identifier specific to the SoC
  172. or Debug IP of the form "fsl,<soc>-dcsr-dpaa" in addition to the
  173. generic compatible string "fsl,dcsr-dpaa".
  174. - reg
  175. Usage: required
  176. Value type: <prop-encoded-array>
  177. Definition: A standard property. Specifies the physical address
  178. offset and length of the DCSR space registers of the device
  179. configuration block.
  180. EXAMPLE
  181. dcsr-dpaa@9000 {
  182. compatible = "fsl,p4080-dcsr-dpaa", "fsl,dcsr-dpaa";
  183. reg = <0x9000 0x1000>;
  184. };
  185. =======================================================================
  186. OCeaN Debug controller
  187. This node represents the region of DCSR space allocated to
  188. the OCN Debug Controller.
  189. PROPERTIES
  190. - compatible
  191. Usage: required
  192. Value type: <string>
  193. Definition: Must include both an identifier specific to the SoC
  194. or Debug IP of the form "fsl,<soc>-dcsr-ocn" in addition to the
  195. generic compatible string "fsl,dcsr-ocn".
  196. - reg
  197. Usage: required
  198. Value type: <prop-encoded-array>
  199. Definition: A standard property. Specifies the physical address
  200. offset and length of the DCSR space registers of the device
  201. configuration block.
  202. EXAMPLE
  203. dcsr-ocn@11000 {
  204. compatible = "fsl,p4080-dcsr-ocn", "fsl,dcsr-ocn";
  205. reg = <0x11000 0x1000>;
  206. };
  207. =======================================================================
  208. DDR Controller Debug controller
  209. This node represents the region of DCSR space allocated to
  210. the OCN Debug Controller.
  211. PROPERTIES
  212. - compatible
  213. Usage: required
  214. Value type: <string>
  215. Definition: Must include "fsl,dcsr-ddr"
  216. - dev-handle
  217. Usage: required
  218. Definition: A phandle to associate this debug node with its
  219. component controller.
  220. - reg
  221. Usage: required
  222. Value type: <prop-encoded-array>
  223. Definition: A standard property. Specifies the physical address
  224. offset and length of the DCSR space registers of the device
  225. configuration block.
  226. EXAMPLE
  227. dcsr-ddr@12000 {
  228. compatible = "fsl,dcsr-ddr";
  229. dev-handle = <&ddr1>;
  230. reg = <0x12000 0x1000>;
  231. };
  232. =======================================================================
  233. Nexus Aurora Link Controller
  234. This node represents the region of DCSR space allocated to
  235. the NAL Controller.
  236. PROPERTIES
  237. - compatible
  238. Usage: required
  239. Value type: <string>
  240. Definition: Must include both an identifier specific to the SoC
  241. or Debug IP of the form "fsl,<soc>-dcsr-nal" in addition to the
  242. generic compatible string "fsl,dcsr-nal".
  243. - reg
  244. Usage: required
  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
  248. configuration block.
  249. EXAMPLE
  250. dcsr-nal@18000 {
  251. compatible = "fsl,p4080-dcsr-nal", "fsl,dcsr-nal";
  252. reg = <0x18000 0x1000>;
  253. };
  254. =======================================================================
  255. Run Control and Power Management
  256. This node represents the region of DCSR space allocated to
  257. the RCPM Debug Controller. This functionlity is limited to the
  258. control the debug operations of the SoC and cores.
  259. PROPERTIES
  260. - compatible
  261. Usage: required
  262. Value type: <string>
  263. Definition: Must include both an identifier specific to the SoC
  264. or Debug IP of the form "fsl,<soc>-dcsr-rcpm" in addition to the
  265. generic compatible string "fsl,dcsr-rcpm".
  266. - reg
  267. Usage: required
  268. Value type: <prop-encoded-array>
  269. Definition: A standard property. Specifies the physical address
  270. offset and length of the DCSR space registers of the device
  271. configuration block.
  272. EXAMPLE
  273. dcsr-rcpm@22000 {
  274. compatible = "fsl,p4080-dcsr-rcpm", "fsl,dcsr-rcpm";
  275. reg = <0x22000 0x1000>;
  276. };
  277. =======================================================================
  278. Core Service Bridge Proxy
  279. This node represents the region of DCSR space allocated to
  280. the Core Service Bridge Proxies.
  281. There is one Core Service Bridge Proxy device for each CPU in the system.
  282. This functionlity provides access to the debug operations of the CPU.
  283. PROPERTIES
  284. - compatible
  285. Usage: required
  286. Value type: <string>
  287. Definition: Must include both an identifier specific to the cpu
  288. of the form "fsl,dcsr-<cpu>-sb-proxy" in addition to the
  289. generic compatible string "fsl,dcsr-cpu-sb-proxy".
  290. - cpu-handle
  291. Usage: required
  292. Definition: A phandle to associate this debug node with its cpu.
  293. - reg
  294. Usage: required
  295. Value type: <prop-encoded-array>
  296. Definition: A standard property. Specifies the physical address
  297. offset and length of the DCSR space registers of the device
  298. configuration block.
  299. EXAMPLE
  300. dcsr-cpu-sb-proxy@40000 {
  301. compatible = "fsl,dcsr-e500mc-sb-proxy",
  302. "fsl,dcsr-cpu-sb-proxy";
  303. cpu-handle = <&cpu0>;
  304. reg = <0x40000 0x1000>;
  305. };
  306. dcsr-cpu-sb-proxy@41000 {
  307. compatible = "fsl,dcsr-e500mc-sb-proxy",
  308. "fsl,dcsr-cpu-sb-proxy";
  309. cpu-handle = <&cpu1>;
  310. reg = <0x41000 0x1000>;
  311. };
  312. =======================================================================