tegra234-mc.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  1. /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
  2. /* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
  3. #ifndef DT_BINDINGS_MEMORY_TEGRA234_MC_H
  4. #define DT_BINDINGS_MEMORY_TEGRA234_MC_H
  5. /* special clients */
  6. #define TEGRA234_SID_INVALID 0x00
  7. #define TEGRA234_SID_PASSTHROUGH 0x7f
  8. /* ISO stream IDs */
  9. #define TEGRA234_SID_ISO_NVDISPLAY 0x01
  10. #define TEGRA234_SID_ISO_VI 0x02
  11. #define TEGRA234_SID_ISO_VIFALC 0x03
  12. #define TEGRA234_SID_ISO_VI2 0x04
  13. #define TEGRA234_SID_ISO_VI2FALC 0x05
  14. #define TEGRA234_SID_ISO_VI_VM2 0x06
  15. #define TEGRA234_SID_ISO_VI2_VM2 0x07
  16. /* NISO0 stream IDs */
  17. #define TEGRA234_SID_AON 0x01
  18. #define TEGRA234_SID_APE 0x02
  19. #define TEGRA234_SID_HDA 0x03
  20. #define TEGRA234_SID_GPCDMA 0x04
  21. #define TEGRA234_SID_ETR 0x05
  22. #define TEGRA234_SID_MGBE 0x06
  23. #define TEGRA234_SID_NVDISPLAY 0x07
  24. #define TEGRA234_SID_DCE 0x08
  25. #define TEGRA234_SID_PSC 0x09
  26. #define TEGRA234_SID_RCE 0x0a
  27. #define TEGRA234_SID_SCE 0x0b
  28. #define TEGRA234_SID_UFSHC 0x0c
  29. #define TEGRA234_SID_APE_1 0x0d
  30. #define TEGRA234_SID_GPCDMA_1 0x0e
  31. #define TEGRA234_SID_GPCDMA_2 0x0f
  32. #define TEGRA234_SID_GPCDMA_3 0x10
  33. #define TEGRA234_SID_GPCDMA_4 0x11
  34. #define TEGRA234_SID_PCIE0 0x12
  35. #define TEGRA234_SID_PCIE4 0x13
  36. #define TEGRA234_SID_PCIE5 0x14
  37. #define TEGRA234_SID_PCIE6 0x15
  38. #define TEGRA234_SID_RCE_VM2 0x16
  39. #define TEGRA234_SID_RCE_SERVER 0x17
  40. #define TEGRA234_SID_SMMU_TEST 0x18
  41. #define TEGRA234_SID_UFS_1 0x19
  42. #define TEGRA234_SID_UFS_2 0x1a
  43. #define TEGRA234_SID_UFS_3 0x1b
  44. #define TEGRA234_SID_UFS_4 0x1c
  45. #define TEGRA234_SID_UFS_5 0x1d
  46. #define TEGRA234_SID_UFS_6 0x1e
  47. #define TEGRA234_SID_PCIE9 0x1f
  48. #define TEGRA234_SID_VSE_GPCDMA_VM0 0x20
  49. #define TEGRA234_SID_VSE_GPCDMA_VM1 0x21
  50. #define TEGRA234_SID_VSE_GPCDMA_VM2 0x22
  51. #define TEGRA234_SID_NVDLA1 0x23
  52. #define TEGRA234_SID_NVENC 0x24
  53. #define TEGRA234_SID_NVJPG1 0x25
  54. #define TEGRA234_SID_OFA 0x26
  55. #define TEGRA234_SID_MGBE_VF1 0x49
  56. #define TEGRA234_SID_MGBE_VF2 0x4a
  57. #define TEGRA234_SID_MGBE_VF3 0x4b
  58. #define TEGRA234_SID_MGBE_VF4 0x4c
  59. #define TEGRA234_SID_MGBE_VF5 0x4d
  60. #define TEGRA234_SID_MGBE_VF6 0x4e
  61. #define TEGRA234_SID_MGBE_VF7 0x4f
  62. #define TEGRA234_SID_MGBE_VF8 0x50
  63. #define TEGRA234_SID_MGBE_VF9 0x51
  64. #define TEGRA234_SID_MGBE_VF10 0x52
  65. #define TEGRA234_SID_MGBE_VF11 0x53
  66. #define TEGRA234_SID_MGBE_VF12 0x54
  67. #define TEGRA234_SID_MGBE_VF13 0x55
  68. #define TEGRA234_SID_MGBE_VF14 0x56
  69. #define TEGRA234_SID_MGBE_VF15 0x57
  70. #define TEGRA234_SID_MGBE_VF16 0x58
  71. #define TEGRA234_SID_MGBE_VF17 0x59
  72. #define TEGRA234_SID_MGBE_VF18 0x5a
  73. #define TEGRA234_SID_MGBE_VF19 0x5b
  74. #define TEGRA234_SID_MGBE_VF20 0x5c
  75. #define TEGRA234_SID_APE_2 0x5e
  76. #define TEGRA234_SID_APE_3 0x5f
  77. #define TEGRA234_SID_UFS_7 0x60
  78. #define TEGRA234_SID_UFS_8 0x61
  79. #define TEGRA234_SID_UFS_9 0x62
  80. #define TEGRA234_SID_UFS_10 0x63
  81. #define TEGRA234_SID_UFS_11 0x64
  82. #define TEGRA234_SID_UFS_12 0x65
  83. #define TEGRA234_SID_UFS_13 0x66
  84. #define TEGRA234_SID_UFS_14 0x67
  85. #define TEGRA234_SID_UFS_15 0x68
  86. #define TEGRA234_SID_UFS_16 0x69
  87. #define TEGRA234_SID_UFS_17 0x6a
  88. #define TEGRA234_SID_UFS_18 0x6b
  89. #define TEGRA234_SID_UFS_19 0x6c
  90. #define TEGRA234_SID_UFS_20 0x6d
  91. #define TEGRA234_SID_GPCDMA_5 0x6e
  92. #define TEGRA234_SID_GPCDMA_6 0x6f
  93. #define TEGRA234_SID_GPCDMA_7 0x70
  94. #define TEGRA234_SID_GPCDMA_8 0x71
  95. #define TEGRA234_SID_GPCDMA_9 0x72
  96. /* NISO1 stream IDs */
  97. #define TEGRA234_SID_SDMMC1A 0x01
  98. #define TEGRA234_SID_SDMMC4 0x02
  99. #define TEGRA234_SID_EQOS 0x03
  100. #define TEGRA234_SID_HWMP_PMA 0x04
  101. #define TEGRA234_SID_PCIE1 0x05
  102. #define TEGRA234_SID_PCIE2 0x06
  103. #define TEGRA234_SID_PCIE3 0x07
  104. #define TEGRA234_SID_PCIE7 0x08
  105. #define TEGRA234_SID_PCIE8 0x09
  106. #define TEGRA234_SID_PCIE10 0x0b
  107. #define TEGRA234_SID_QSPI0 0x0c
  108. #define TEGRA234_SID_QSPI1 0x0d
  109. #define TEGRA234_SID_XUSB_HOST 0x0e
  110. #define TEGRA234_SID_XUSB_DEV 0x0f
  111. #define TEGRA234_SID_BPMP 0x10
  112. #define TEGRA234_SID_FSI 0x11
  113. #define TEGRA234_SID_PVA0_VM0 0x12
  114. #define TEGRA234_SID_PVA0_VM1 0x13
  115. #define TEGRA234_SID_PVA0_VM2 0x14
  116. #define TEGRA234_SID_PVA0_VM3 0x15
  117. #define TEGRA234_SID_PVA0_VM4 0x16
  118. #define TEGRA234_SID_PVA0_VM5 0x17
  119. #define TEGRA234_SID_PVA0_VM6 0x18
  120. #define TEGRA234_SID_PVA0_VM7 0x19
  121. #define TEGRA234_SID_XUSB_VF0 0x1a
  122. #define TEGRA234_SID_XUSB_VF1 0x1b
  123. #define TEGRA234_SID_XUSB_VF2 0x1c
  124. #define TEGRA234_SID_XUSB_VF3 0x1d
  125. #define TEGRA234_SID_EQOS_VF1 0x1e
  126. #define TEGRA234_SID_EQOS_VF2 0x1f
  127. #define TEGRA234_SID_EQOS_VF3 0x20
  128. #define TEGRA234_SID_EQOS_VF4 0x21
  129. #define TEGRA234_SID_ISP_VM2 0x22
  130. #define TEGRA234_SID_HOST1X 0x27
  131. #define TEGRA234_SID_ISP 0x28
  132. #define TEGRA234_SID_NVDEC 0x29
  133. #define TEGRA234_SID_NVJPG 0x2a
  134. #define TEGRA234_SID_NVDLA0 0x2b
  135. #define TEGRA234_SID_PVA0 0x2c
  136. #define TEGRA234_SID_SES_SE0 0x2d
  137. #define TEGRA234_SID_SES_SE1 0x2e
  138. #define TEGRA234_SID_SES_SE2 0x2f
  139. #define TEGRA234_SID_SEU1_SE0 0x30
  140. #define TEGRA234_SID_SEU1_SE1 0x31
  141. #define TEGRA234_SID_SEU1_SE2 0x32
  142. #define TEGRA234_SID_TSEC 0x33
  143. #define TEGRA234_SID_VIC 0x34
  144. #define TEGRA234_SID_HC_VM0 0x3d
  145. #define TEGRA234_SID_HC_VM1 0x3e
  146. #define TEGRA234_SID_HC_VM2 0x3f
  147. #define TEGRA234_SID_HC_VM3 0x40
  148. #define TEGRA234_SID_HC_VM4 0x41
  149. #define TEGRA234_SID_HC_VM5 0x42
  150. #define TEGRA234_SID_HC_VM6 0x43
  151. #define TEGRA234_SID_HC_VM7 0x44
  152. #define TEGRA234_SID_SE_VM0 0x45
  153. #define TEGRA234_SID_SE_VM1 0x46
  154. #define TEGRA234_SID_SE_VM2 0x47
  155. #define TEGRA234_SID_ISPFALC 0x48
  156. #define TEGRA234_SID_NISO1_SMMU_TEST 0x49
  157. #define TEGRA234_SID_TSEC_VM0 0x4a
  158. /* Shared stream IDs */
  159. #define TEGRA234_SID_HOST1X_CTX0 0x35
  160. #define TEGRA234_SID_HOST1X_CTX1 0x36
  161. #define TEGRA234_SID_HOST1X_CTX2 0x37
  162. #define TEGRA234_SID_HOST1X_CTX3 0x38
  163. #define TEGRA234_SID_HOST1X_CTX4 0x39
  164. #define TEGRA234_SID_HOST1X_CTX5 0x3a
  165. #define TEGRA234_SID_HOST1X_CTX6 0x3b
  166. #define TEGRA234_SID_HOST1X_CTX7 0x3c
  167. /*
  168. * memory client IDs
  169. */
  170. /* Misses from System Memory Management Unit (SMMU) Page Table Cache (PTC) */
  171. #define TEGRA234_MEMORY_CLIENT_PTCR 0x00
  172. /* MSS internal memqual MIU7 read clients */
  173. #define TEGRA234_MEMORY_CLIENT_MIU7R 0x01
  174. /* MSS internal memqual MIU7 write clients */
  175. #define TEGRA234_MEMORY_CLIENT_MIU7W 0x02
  176. /* MSS internal memqual MIU8 read clients */
  177. #define TEGRA234_MEMORY_CLIENT_MIU8R 0x03
  178. /* MSS internal memqual MIU8 write clients */
  179. #define TEGRA234_MEMORY_CLIENT_MIU8W 0x04
  180. /* MSS internal memqual MIU9 read clients */
  181. #define TEGRA234_MEMORY_CLIENT_MIU9R 0x05
  182. /* MSS internal memqual MIU9 write clients */
  183. #define TEGRA234_MEMORY_CLIENT_MIU9W 0x06
  184. /* MSS internal memqual MIU10 read clients */
  185. #define TEGRA234_MEMORY_CLIENT_MIU10R 0x07
  186. /* MSS internal memqual MIU10 write clients */
  187. #define TEGRA234_MEMORY_CLIENT_MIU10W 0x08
  188. /* MSS internal memqual MIU11 read clients */
  189. #define TEGRA234_MEMORY_CLIENT_MIU11R 0x09
  190. /* MSS internal memqual MIU11 write clients */
  191. #define TEGRA234_MEMORY_CLIENT_MIU11W 0x0a
  192. /* MSS internal memqual MIU12 read clients */
  193. #define TEGRA234_MEMORY_CLIENT_MIU12R 0x0b
  194. /* MSS internal memqual MIU12 write clients */
  195. #define TEGRA234_MEMORY_CLIENT_MIU12W 0x0c
  196. /* MSS internal memqual MIU13 read clients */
  197. #define TEGRA234_MEMORY_CLIENT_MIU13R 0x0d
  198. /* MSS internal memqual MIU13 write clients */
  199. #define TEGRA234_MEMORY_CLIENT_MIU13W 0x0e
  200. #define TEGRA234_MEMORY_CLIENT_NVL5RHP 0x13
  201. #define TEGRA234_MEMORY_CLIENT_NVL5R 0x14
  202. /* High-definition audio (HDA) read clients */
  203. #define TEGRA234_MEMORY_CLIENT_HDAR 0x15
  204. /* Host channel data read clients */
  205. #define TEGRA234_MEMORY_CLIENT_HOST1XDMAR 0x16
  206. #define TEGRA234_MEMORY_CLIENT_NVL5W 0x17
  207. #define TEGRA234_MEMORY_CLIENT_NVL6RHP 0x18
  208. #define TEGRA234_MEMORY_CLIENT_NVL6R 0x19
  209. #define TEGRA234_MEMORY_CLIENT_NVL6W 0x1a
  210. #define TEGRA234_MEMORY_CLIENT_NVL7RHP 0x1b
  211. #define TEGRA234_MEMORY_CLIENT_NVENCSRD 0x1c
  212. #define TEGRA234_MEMORY_CLIENT_NVL7R 0x1d
  213. #define TEGRA234_MEMORY_CLIENT_NVL7W 0x1e
  214. #define TEGRA234_MEMORY_CLIENT_NVL8RHP 0x20
  215. #define TEGRA234_MEMORY_CLIENT_NVL8R 0x21
  216. #define TEGRA234_MEMORY_CLIENT_NVL8W 0x22
  217. #define TEGRA234_MEMORY_CLIENT_NVL9RHP 0x23
  218. #define TEGRA234_MEMORY_CLIENT_NVL9R 0x24
  219. #define TEGRA234_MEMORY_CLIENT_NVL9W 0x25
  220. /* PCIE6 read clients */
  221. #define TEGRA234_MEMORY_CLIENT_PCIE6AR 0x28
  222. /* PCIE6 write clients */
  223. #define TEGRA234_MEMORY_CLIENT_PCIE6AW 0x29
  224. /* PCIE7 read clients */
  225. #define TEGRA234_MEMORY_CLIENT_PCIE7AR 0x2a
  226. #define TEGRA234_MEMORY_CLIENT_NVENCSWR 0x2b
  227. /* DLA0ARDB read clients */
  228. #define TEGRA234_MEMORY_CLIENT_DLA0RDB 0x2c
  229. /* DLA0ARDB1 read clients */
  230. #define TEGRA234_MEMORY_CLIENT_DLA0RDB1 0x2d
  231. /* DLA0 writes */
  232. #define TEGRA234_MEMORY_CLIENT_DLA0WRB 0x2e
  233. /* DLA1ARDB read clients */
  234. #define TEGRA234_MEMORY_CLIENT_DLA1RDB 0x2f
  235. /* PCIE7 write clients */
  236. #define TEGRA234_MEMORY_CLIENT_PCIE7AW 0x30
  237. /* PCIE8 read clients */
  238. #define TEGRA234_MEMORY_CLIENT_PCIE8AR 0x32
  239. /* High-definition audio (HDA) write clients */
  240. #define TEGRA234_MEMORY_CLIENT_HDAW 0x35
  241. /* Writes from Cortex-A9 4 CPU cores via the L2 cache */
  242. #define TEGRA234_MEMORY_CLIENT_MPCOREW 0x39
  243. /* OFAA client */
  244. #define TEGRA234_MEMORY_CLIENT_OFAR1 0x3a
  245. /* PCIE8 write clients */
  246. #define TEGRA234_MEMORY_CLIENT_PCIE8AW 0x3b
  247. /* PCIE9 read clients */
  248. #define TEGRA234_MEMORY_CLIENT_PCIE9AR 0x3c
  249. /* PCIE6r1 read clients */
  250. #define TEGRA234_MEMORY_CLIENT_PCIE6AR1 0x3d
  251. /* PCIE9 write clients */
  252. #define TEGRA234_MEMORY_CLIENT_PCIE9AW 0x3e
  253. /* PCIE10 read clients */
  254. #define TEGRA234_MEMORY_CLIENT_PCIE10AR 0x3f
  255. /* PCIE10 write clients */
  256. #define TEGRA234_MEMORY_CLIENT_PCIE10AW 0x40
  257. /* ISP read client for Crossbar A */
  258. #define TEGRA234_MEMORY_CLIENT_ISPRA 0x44
  259. /* ISP read client 1 for Crossbar A */
  260. #define TEGRA234_MEMORY_CLIENT_ISPFALR 0x45
  261. /* ISP Write client for Crossbar A */
  262. #define TEGRA234_MEMORY_CLIENT_ISPWA 0x46
  263. /* ISP Write client Crossbar B */
  264. #define TEGRA234_MEMORY_CLIENT_ISPWB 0x47
  265. /* PCIE10r1 read clients */
  266. #define TEGRA234_MEMORY_CLIENT_PCIE10AR1 0x48
  267. /* PCIE7r1 read clients */
  268. #define TEGRA234_MEMORY_CLIENT_PCIE7AR1 0x49
  269. /* XUSB_HOST read clients */
  270. #define TEGRA234_MEMORY_CLIENT_XUSB_HOSTR 0x4a
  271. /* XUSB_HOST write clients */
  272. #define TEGRA234_MEMORY_CLIENT_XUSB_HOSTW 0x4b
  273. /* XUSB read clients */
  274. #define TEGRA234_MEMORY_CLIENT_XUSB_DEVR 0x4c
  275. /* XUSB_DEV write clients */
  276. #define TEGRA234_MEMORY_CLIENT_XUSB_DEVW 0x4d
  277. /* TSEC Memory Return Data Client Description */
  278. #define TEGRA234_MEMORY_CLIENT_TSECSRD 0x54
  279. /* TSEC Memory Write Client Description */
  280. #define TEGRA234_MEMORY_CLIENT_TSECSWR 0x55
  281. /* XSPI writes */
  282. #define TEGRA234_MEMORY_CLIENT_XSPI1W 0x56
  283. /* MGBE0 read client */
  284. #define TEGRA234_MEMORY_CLIENT_MGBEARD 0x58
  285. /* MGBEB read client */
  286. #define TEGRA234_MEMORY_CLIENT_MGBEBRD 0x59
  287. /* MGBEC read client */
  288. #define TEGRA234_MEMORY_CLIENT_MGBECRD 0x5a
  289. /* MGBED read client */
  290. #define TEGRA234_MEMORY_CLIENT_MGBEDRD 0x5b
  291. /* MGBE0 write client */
  292. #define TEGRA234_MEMORY_CLIENT_MGBEAWR 0x5c
  293. /* OFAA client */
  294. #define TEGRA234_MEMORY_CLIENT_OFAR 0x5d
  295. /* OFAA writes */
  296. #define TEGRA234_MEMORY_CLIENT_OFAW 0x5e
  297. /* MGBEB write client */
  298. #define TEGRA234_MEMORY_CLIENT_MGBEBWR 0x5f
  299. /* sdmmca memory read client */
  300. #define TEGRA234_MEMORY_CLIENT_SDMMCRA 0x60
  301. /* MGBEC write client */
  302. #define TEGRA234_MEMORY_CLIENT_MGBECWR 0x61
  303. /* sdmmcd memory read client */
  304. #define TEGRA234_MEMORY_CLIENT_SDMMCRAB 0x63
  305. /* sdmmca memory write client */
  306. #define TEGRA234_MEMORY_CLIENT_SDMMCWA 0x64
  307. /* MGBED write client */
  308. #define TEGRA234_MEMORY_CLIENT_MGBEDWR 0x65
  309. /* sdmmcd memory write client */
  310. #define TEGRA234_MEMORY_CLIENT_SDMMCWAB 0x67
  311. /* SE Memory Return Data Client Description */
  312. #define TEGRA234_MEMORY_CLIENT_SEU1RD 0x68
  313. /* SE Memory Write Client Description */
  314. #define TEGRA234_MEMORY_CLIENT_SUE1WR 0x69
  315. #define TEGRA234_MEMORY_CLIENT_VICSRD 0x6c
  316. #define TEGRA234_MEMORY_CLIENT_VICSWR 0x6d
  317. /* DLA1ARDB1 read clients */
  318. #define TEGRA234_MEMORY_CLIENT_DLA1RDB1 0x6e
  319. /* DLA1 writes */
  320. #define TEGRA234_MEMORY_CLIENT_DLA1WRB 0x6f
  321. /* VI FLACON read clients */
  322. #define TEGRA234_MEMORY_CLIENT_VI2FALR 0x71
  323. /* VI Write client */
  324. #define TEGRA234_MEMORY_CLIENT_VI2W 0x70
  325. /* VI Write client */
  326. #define TEGRA234_MEMORY_CLIENT_VIW 0x72
  327. /* NISO display read client */
  328. #define TEGRA234_MEMORY_CLIENT_NVDISPNISOR 0x73
  329. /* NVDISPNISO writes */
  330. #define TEGRA234_MEMORY_CLIENT_NVDISPNISOW 0x74
  331. /* XSPI client */
  332. #define TEGRA234_MEMORY_CLIENT_XSPI0R 0x75
  333. /* XSPI writes */
  334. #define TEGRA234_MEMORY_CLIENT_XSPI0W 0x76
  335. /* XSPI client */
  336. #define TEGRA234_MEMORY_CLIENT_XSPI1R 0x77
  337. #define TEGRA234_MEMORY_CLIENT_NVDECSRD 0x78
  338. #define TEGRA234_MEMORY_CLIENT_NVDECSWR 0x79
  339. /* Audio Processing (APE) engine read clients */
  340. #define TEGRA234_MEMORY_CLIENT_APER 0x7a
  341. /* Audio Processing (APE) engine write clients */
  342. #define TEGRA234_MEMORY_CLIENT_APEW 0x7b
  343. /* VI2FAL writes */
  344. #define TEGRA234_MEMORY_CLIENT_VI2FALW 0x7c
  345. #define TEGRA234_MEMORY_CLIENT_NVJPGSRD 0x7e
  346. #define TEGRA234_MEMORY_CLIENT_NVJPGSWR 0x7f
  347. /* SE Memory Return Data Client Description */
  348. #define TEGRA234_MEMORY_CLIENT_SESRD 0x80
  349. /* SE Memory Write Client Description */
  350. #define TEGRA234_MEMORY_CLIENT_SESWR 0x81
  351. /* AXI AP and DFD-AUX0/1 read clients Both share the same interface on the on MSS */
  352. #define TEGRA234_MEMORY_CLIENT_AXIAPR 0x82
  353. /* AXI AP and DFD-AUX0/1 write clients Both sahre the same interface on MSS */
  354. #define TEGRA234_MEMORY_CLIENT_AXIAPW 0x83
  355. /* ETR read clients */
  356. #define TEGRA234_MEMORY_CLIENT_ETRR 0x84
  357. /* ETR write clients */
  358. #define TEGRA234_MEMORY_CLIENT_ETRW 0x85
  359. /* AXI Switch read client */
  360. #define TEGRA234_MEMORY_CLIENT_AXISR 0x8c
  361. /* AXI Switch write client */
  362. #define TEGRA234_MEMORY_CLIENT_AXISW 0x8d
  363. /* EQOS read client */
  364. #define TEGRA234_MEMORY_CLIENT_EQOSR 0x8e
  365. /* EQOS write client */
  366. #define TEGRA234_MEMORY_CLIENT_EQOSW 0x8f
  367. /* UFSHC read client */
  368. #define TEGRA234_MEMORY_CLIENT_UFSHCR 0x90
  369. /* UFSHC write client */
  370. #define TEGRA234_MEMORY_CLIENT_UFSHCW 0x91
  371. /* NVDISPLAY read client */
  372. #define TEGRA234_MEMORY_CLIENT_NVDISPLAYR 0x92
  373. /* BPMP read client */
  374. #define TEGRA234_MEMORY_CLIENT_BPMPR 0x93
  375. /* BPMP write client */
  376. #define TEGRA234_MEMORY_CLIENT_BPMPW 0x94
  377. /* BPMPDMA read client */
  378. #define TEGRA234_MEMORY_CLIENT_BPMPDMAR 0x95
  379. /* BPMPDMA write client */
  380. #define TEGRA234_MEMORY_CLIENT_BPMPDMAW 0x96
  381. /* AON read client */
  382. #define TEGRA234_MEMORY_CLIENT_AONR 0x97
  383. /* AON write client */
  384. #define TEGRA234_MEMORY_CLIENT_AONW 0x98
  385. /* AONDMA read client */
  386. #define TEGRA234_MEMORY_CLIENT_AONDMAR 0x99
  387. /* AONDMA write client */
  388. #define TEGRA234_MEMORY_CLIENT_AONDMAW 0x9a
  389. /* SCE read client */
  390. #define TEGRA234_MEMORY_CLIENT_SCER 0x9b
  391. /* SCE write client */
  392. #define TEGRA234_MEMORY_CLIENT_SCEW 0x9c
  393. /* SCEDMA read client */
  394. #define TEGRA234_MEMORY_CLIENT_SCEDMAR 0x9d
  395. /* SCEDMA write client */
  396. #define TEGRA234_MEMORY_CLIENT_SCEDMAW 0x9e
  397. /* APEDMA read client */
  398. #define TEGRA234_MEMORY_CLIENT_APEDMAR 0x9f
  399. /* APEDMA write client */
  400. #define TEGRA234_MEMORY_CLIENT_APEDMAW 0xa0
  401. /* NVDISPLAY read client instance 2 */
  402. #define TEGRA234_MEMORY_CLIENT_NVDISPLAYR1 0xa1
  403. #define TEGRA234_MEMORY_CLIENT_VICSRD1 0xa2
  404. /* MSS internal memqual MIU0 read clients */
  405. #define TEGRA234_MEMORY_CLIENT_MIU0R 0xa6
  406. /* MSS internal memqual MIU0 write clients */
  407. #define TEGRA234_MEMORY_CLIENT_MIU0W 0xa7
  408. /* MSS internal memqual MIU1 read clients */
  409. #define TEGRA234_MEMORY_CLIENT_MIU1R 0xa8
  410. /* MSS internal memqual MIU1 write clients */
  411. #define TEGRA234_MEMORY_CLIENT_MIU1W 0xa9
  412. /* MSS internal memqual MIU2 read clients */
  413. #define TEGRA234_MEMORY_CLIENT_MIU2R 0xae
  414. /* MSS internal memqual MIU2 write clients */
  415. #define TEGRA234_MEMORY_CLIENT_MIU2W 0xaf
  416. /* MSS internal memqual MIU3 read clients */
  417. #define TEGRA234_MEMORY_CLIENT_MIU3R 0xb0
  418. /* MSS internal memqual MIU3 write clients */
  419. #define TEGRA234_MEMORY_CLIENT_MIU3W 0xb1
  420. /* MSS internal memqual MIU4 read clients */
  421. #define TEGRA234_MEMORY_CLIENT_MIU4R 0xb2
  422. /* MSS internal memqual MIU4 write clients */
  423. #define TEGRA234_MEMORY_CLIENT_MIU4W 0xb3
  424. #define TEGRA234_MEMORY_CLIENT_DPMUR 0xb4
  425. #define TEGRA234_MEMORY_CLIENT_DPMUW 0xb5
  426. #define TEGRA234_MEMORY_CLIENT_NVL0R 0xb6
  427. #define TEGRA234_MEMORY_CLIENT_NVL0W 0xb7
  428. #define TEGRA234_MEMORY_CLIENT_NVL1R 0xb8
  429. #define TEGRA234_MEMORY_CLIENT_NVL1W 0xb9
  430. #define TEGRA234_MEMORY_CLIENT_NVL2R 0xba
  431. #define TEGRA234_MEMORY_CLIENT_NVL2W 0xbb
  432. /* VI FLACON read clients */
  433. #define TEGRA234_MEMORY_CLIENT_VIFALR 0xbc
  434. /* VIFAL write clients */
  435. #define TEGRA234_MEMORY_CLIENT_VIFALW 0xbd
  436. /* DLA0ARDA read clients */
  437. #define TEGRA234_MEMORY_CLIENT_DLA0RDA 0xbe
  438. /* DLA0 Falcon read clients */
  439. #define TEGRA234_MEMORY_CLIENT_DLA0FALRDB 0xbf
  440. /* DLA0 write clients */
  441. #define TEGRA234_MEMORY_CLIENT_DLA0WRA 0xc0
  442. /* DLA0 write clients */
  443. #define TEGRA234_MEMORY_CLIENT_DLA0FALWRB 0xc1
  444. /* DLA1ARDA read clients */
  445. #define TEGRA234_MEMORY_CLIENT_DLA1RDA 0xc2
  446. /* DLA1 Falcon read clients */
  447. #define TEGRA234_MEMORY_CLIENT_DLA1FALRDB 0xc3
  448. /* DLA1 write clients */
  449. #define TEGRA234_MEMORY_CLIENT_DLA1WRA 0xc4
  450. /* DLA1 write clients */
  451. #define TEGRA234_MEMORY_CLIENT_DLA1FALWRB 0xc5
  452. /* PVA0RDA read clients */
  453. #define TEGRA234_MEMORY_CLIENT_PVA0RDA 0xc6
  454. /* PVA0RDB read clients */
  455. #define TEGRA234_MEMORY_CLIENT_PVA0RDB 0xc7
  456. /* PVA0RDC read clients */
  457. #define TEGRA234_MEMORY_CLIENT_PVA0RDC 0xc8
  458. /* PVA0WRA write clients */
  459. #define TEGRA234_MEMORY_CLIENT_PVA0WRA 0xc9
  460. /* PVA0WRB write clients */
  461. #define TEGRA234_MEMORY_CLIENT_PVA0WRB 0xca
  462. /* PVA0WRC write clients */
  463. #define TEGRA234_MEMORY_CLIENT_PVA0WRC 0xcb
  464. /* RCE read client */
  465. #define TEGRA234_MEMORY_CLIENT_RCER 0xd2
  466. /* RCE write client */
  467. #define TEGRA234_MEMORY_CLIENT_RCEW 0xd3
  468. /* RCEDMA read client */
  469. #define TEGRA234_MEMORY_CLIENT_RCEDMAR 0xd4
  470. /* RCEDMA write client */
  471. #define TEGRA234_MEMORY_CLIENT_RCEDMAW 0xd5
  472. /* PCIE0 read clients */
  473. #define TEGRA234_MEMORY_CLIENT_PCIE0R 0xd8
  474. /* PCIE0 write clients */
  475. #define TEGRA234_MEMORY_CLIENT_PCIE0W 0xd9
  476. /* PCIE1 read clients */
  477. #define TEGRA234_MEMORY_CLIENT_PCIE1R 0xda
  478. /* PCIE1 write clients */
  479. #define TEGRA234_MEMORY_CLIENT_PCIE1W 0xdb
  480. /* PCIE2 read clients */
  481. #define TEGRA234_MEMORY_CLIENT_PCIE2AR 0xdc
  482. /* PCIE2 write clients */
  483. #define TEGRA234_MEMORY_CLIENT_PCIE2AW 0xdd
  484. /* PCIE3 read clients */
  485. #define TEGRA234_MEMORY_CLIENT_PCIE3R 0xde
  486. /* PCIE3 write clients */
  487. #define TEGRA234_MEMORY_CLIENT_PCIE3W 0xdf
  488. /* PCIE4 read clients */
  489. #define TEGRA234_MEMORY_CLIENT_PCIE4R 0xe0
  490. /* PCIE4 write clients */
  491. #define TEGRA234_MEMORY_CLIENT_PCIE4W 0xe1
  492. /* PCIE5 read clients */
  493. #define TEGRA234_MEMORY_CLIENT_PCIE5R 0xe2
  494. /* PCIE5 write clients */
  495. #define TEGRA234_MEMORY_CLIENT_PCIE5W 0xe3
  496. /* ISP read client 1 for Crossbar A */
  497. #define TEGRA234_MEMORY_CLIENT_ISPFALW 0xe4
  498. #define TEGRA234_MEMORY_CLIENT_NVL3R 0xe5
  499. #define TEGRA234_MEMORY_CLIENT_NVL3W 0xe6
  500. #define TEGRA234_MEMORY_CLIENT_NVL4R 0xe7
  501. #define TEGRA234_MEMORY_CLIENT_NVL4W 0xe8
  502. /* DLA0ARDA1 read clients */
  503. #define TEGRA234_MEMORY_CLIENT_DLA0RDA1 0xe9
  504. /* DLA1ARDA1 read clients */
  505. #define TEGRA234_MEMORY_CLIENT_DLA1RDA1 0xea
  506. /* PVA0RDA1 read clients */
  507. #define TEGRA234_MEMORY_CLIENT_PVA0RDA1 0xeb
  508. /* PVA0RDB1 read clients */
  509. #define TEGRA234_MEMORY_CLIENT_PVA0RDB1 0xec
  510. /* PCIE5r1 read clients */
  511. #define TEGRA234_MEMORY_CLIENT_PCIE5R1 0xef
  512. #define TEGRA234_MEMORY_CLIENT_NVENCSRD1 0xf0
  513. /* ISP read client for Crossbar A */
  514. #define TEGRA234_MEMORY_CLIENT_ISPRA1 0xf2
  515. #define TEGRA234_MEMORY_CLIENT_NVL0RHP 0xf4
  516. #define TEGRA234_MEMORY_CLIENT_NVL1RHP 0xf5
  517. #define TEGRA234_MEMORY_CLIENT_NVL2RHP 0xf6
  518. #define TEGRA234_MEMORY_CLIENT_NVL3RHP 0xf7
  519. #define TEGRA234_MEMORY_CLIENT_NVL4RHP 0xf8
  520. /* MSS internal memqual MIU5 read clients */
  521. #define TEGRA234_MEMORY_CLIENT_MIU5R 0xfc
  522. /* MSS internal memqual MIU5 write clients */
  523. #define TEGRA234_MEMORY_CLIENT_MIU5W 0xfd
  524. /* MSS internal memqual MIU6 read clients */
  525. #define TEGRA234_MEMORY_CLIENT_MIU6R 0xfe
  526. /* MSS internal memqual MIU6 write clients */
  527. #define TEGRA234_MEMORY_CLIENT_MIU6W 0xff
  528. #define TEGRA234_MEMORY_CLIENT_NVJPG1SRD 0x123
  529. #define TEGRA234_MEMORY_CLIENT_NVJPG1SWR 0x124
  530. /* ICC ID's for dummy MC clients used to represent CPU Clusters */
  531. #define TEGRA_ICC_MC_CPU_CLUSTER0 1003
  532. #define TEGRA_ICC_MC_CPU_CLUSTER1 1004
  533. #define TEGRA_ICC_MC_CPU_CLUSTER2 1005
  534. #endif