msm8974-v2-iommu.dtsi 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. /include/ "msm-iommu-v1.dtsi"
  13. &venus_iommu {
  14. status = "ok";
  15. vdd-supply = <&gdsc_venus>;
  16. qcom,iommu-enable-halt;
  17. qcom,iommu-bfb-regs = <0x204c
  18. 0x2050
  19. 0x2514
  20. 0x2540
  21. 0x256c
  22. 0x20ac
  23. 0x215c
  24. 0x220c
  25. 0x2314
  26. 0x2394
  27. 0x2414
  28. 0x2008
  29. 0x200c
  30. 0x2010
  31. 0x2014
  32. 0x2018
  33. 0x201c
  34. 0x2020
  35. 0x2024
  36. 0x2028
  37. 0x202c
  38. 0x2030
  39. 0x2034
  40. 0x2038>;
  41. qcom,iommu-bfb-data = <0xffffffff
  42. 0xffffffff
  43. 0x4
  44. 0x8
  45. 0x0
  46. 0x13205
  47. 0x4000
  48. 0x14020
  49. 0x0
  50. 0x94
  51. 0x114
  52. 0x0
  53. 0x0
  54. 0x0
  55. 0x0
  56. 0x0
  57. 0x0
  58. 0x0
  59. 0x0
  60. 0x0
  61. 0x0
  62. 0x0
  63. 0x0
  64. 0x0>;
  65. venus_ns: qcom,iommu-ctx@fdc8c000 {
  66. qcom,iommu-ctx-sids = <0 1 2 3 4 5 7>;
  67. };
  68. venus_sec_bitstream: qcom,iommu-ctx@fdc8d000 {
  69. qcom,iommu-ctx-sids = <0x80 0x81 0x82 0x83 0x84>;
  70. label = "venus_sec_bitstream";
  71. };
  72. venus_sec_pixel: qcom,iommu-ctx@fdc8f000 {
  73. compatible = "qcom,msm-smmu-v1-ctx";
  74. reg = <0xfdc8f000 0x1000>;
  75. interrupts = <0 42 0>, <0 43 0>;
  76. qcom,iommu-ctx-sids = <0x85>;
  77. label = "venus_sec_pixel";
  78. qcom,secure-context;
  79. };
  80. venus_sec_non_pixel: qcom,iommu-ctx@fdc90000 {
  81. compatible = "qcom,msm-smmu-v1-ctx";
  82. reg = <0xfdc90000 0x1000>;
  83. interrupts = <0 42 0>, <0 43 0>;
  84. qcom,iommu-ctx-sids = <0x87 0xA0>;
  85. label = "venus_sec_non_pixel";
  86. qcom,secure-context;
  87. };
  88. };
  89. &jpeg_iommu {
  90. status = "ok";
  91. vdd-supply = <&gdsc_jpeg>;
  92. qcom,iommu-enable-halt;
  93. qcom,iommu-bfb-regs = <0x204c
  94. 0x2050
  95. 0x2514
  96. 0x2540
  97. 0x256c
  98. 0x2314
  99. 0x2394
  100. 0x2414
  101. 0x20ac
  102. 0x215c
  103. 0x220c
  104. 0x2008
  105. 0x200c
  106. 0x2010
  107. 0x2014>;
  108. qcom,iommu-bfb-data = <0xffff
  109. 0x0
  110. 0x4
  111. 0x4
  112. 0x0
  113. 0x0
  114. 0x10
  115. 0x50
  116. 0x0
  117. 0x2804
  118. 0x9614
  119. 0x0
  120. 0x0
  121. 0x0
  122. 0x0>;
  123. };
  124. &mdp_iommu {
  125. status = "ok";
  126. vdd-supply = <&gdsc_mdss>;
  127. qcom,iommu-enable-halt;
  128. qcom,iommu-bfb-regs = <0x204c
  129. 0x2050
  130. 0x2514
  131. 0x2540
  132. 0x256c
  133. 0x20ac
  134. 0x215c
  135. 0x220c
  136. 0x2314
  137. 0x2394
  138. 0x2414
  139. 0x2008
  140. 0x200c
  141. 0x2010
  142. 0x2014
  143. 0x2018
  144. 0x201c
  145. 0x2020>;
  146. qcom,iommu-bfb-data = <0xffffffff
  147. 0x0
  148. 0x4
  149. 0x10
  150. 0x0
  151. 0x6800
  152. 0x6221
  153. 0x16231
  154. 0x0
  155. 0x34
  156. 0x74
  157. 0x0
  158. 0x0
  159. 0x0
  160. 0x0
  161. 0x0
  162. 0x0
  163. 0x0>;
  164. };
  165. &kgsl_iommu {
  166. status = "ok";
  167. vdd-supply = <&gdsc_oxili_cx>;
  168. qcom,alt-vdd-supply = <&gdsc_oxili_gx>;
  169. qcom,iommu-enable-halt;
  170. qcom,needs-alt-core-clk;
  171. qcom,iommu-bfb-regs = <0x204c
  172. 0x2050
  173. 0x2514
  174. 0x2540
  175. 0x256c
  176. 0x20ac
  177. 0x215c
  178. 0x220c
  179. 0x2314
  180. 0x2394
  181. 0x2414
  182. 0x2008>;
  183. qcom,iommu-bfb-data = <0x3
  184. 0x0
  185. 0x4
  186. 0x10
  187. 0x0
  188. 0x0
  189. 0x0
  190. 0x20
  191. 0x0
  192. 0x1
  193. 0x81
  194. 0x0>;
  195. };
  196. &vfe_iommu {
  197. status = "ok";
  198. vdd-supply = <&gdsc_vfe>;
  199. qcom,iommu-enable-halt;
  200. qcom,iommu-bfb-regs = <0x204c
  201. 0x2050
  202. 0x2514
  203. 0x2540
  204. 0x256c
  205. 0x2314
  206. 0x2394
  207. 0x2414
  208. 0x20ac
  209. 0x215c
  210. 0x220c
  211. 0x2008
  212. 0x200c
  213. 0x2010
  214. 0x2014
  215. 0x2018
  216. 0x201c
  217. 0x2020>;
  218. qcom,iommu-bfb-data = <0xffffffff
  219. 0x0
  220. 0x4
  221. 0x8
  222. 0x0
  223. 0x0
  224. 0x20
  225. 0x78
  226. 0x0
  227. 0x3c08
  228. 0xb41e
  229. 0x0
  230. 0x0
  231. 0x0
  232. 0x0
  233. 0x0
  234. 0x0
  235. 0x0>;
  236. };