msm8974-v2.dtsi 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /* Copyright (c) 2013-2014, 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. /*
  13. * As a general rule, only version-specific property overrides should be placed
  14. * inside this file. However, device definitions should be placed inside the
  15. * msm8974.dtsi file.
  16. */
  17. /include/ "msm8974.dtsi"
  18. /include/ "msm-pm8x41-rpm-regulator.dtsi"
  19. /include/ "msm-pm8841.dtsi"
  20. &spmi_bus {
  21. pm8941_lsid0: qcom,pm8941@0 {
  22. reg = <0x0>;
  23. };
  24. pm8941_lsid1: qcom,pm8941@1 {
  25. reg = <0x1>;
  26. };
  27. };
  28. /include/ "msm-pm8941.dtsi"
  29. /include/ "msm8974-regulator.dtsi"
  30. /include/ "msm8974-clock.dtsi"
  31. /include/ "msm8974-v2-iommu.dtsi"
  32. /include/ "msm8974-v2-iommu-domains.dtsi"
  33. /include/ "msm8974-v2-pm.dtsi"
  34. &soc {
  35. android_usb@fe8050c8 {
  36. compatible = "qcom,android-usb";
  37. reg = <0xfe8050c8 0xc8>;
  38. qcom,android-usb-swfi-latency = <1>;
  39. qcom,android-usb-uicc-nluns = /bits/ 8 <1>;
  40. };
  41. qcom,msm-imem@fe805000 {
  42. compatible = "qcom,msm-imem";
  43. reg = <0xfe805000 0x1000>; /* Address and size of IMEM */
  44. };
  45. };
  46. &usb3 {
  47. qcom,usbin-vadc = <&pm8941_vadc>;
  48. };
  49. /* GPU overrides */
  50. &msm_gpu {
  51. /* Updated chip ID */
  52. qcom,chipid = <0x03030001>;
  53. /* Updated bus bandwidth requirements */
  54. qcom,msm-bus,vectors-KBps =
  55. /* Off */
  56. <26 512 0 0>, <89 604 0 0>,
  57. /* Sub-SVS / SVS */
  58. <26 512 0 1600000>, <89 604 0 3000000>,
  59. /* SVS */
  60. <26 512 0 2400000>, <89 604 0 3000000>,
  61. /* Nominal / SVS */
  62. <26 512 0 4912000>, <89 604 0 3000000>,
  63. /* SVS / Nominal */
  64. <26 512 0 2400000>, <89 604 0 5120000>,
  65. /* Nominal */
  66. <26 512 0 4912000>, <89 604 0 5120000>,
  67. /* Turbo / Nominal */
  68. <26 512 0 7464000>, <89 604 0 5120000>,
  69. /* Nominal / Turbo */
  70. <26 512 0 4912000>, <89 604 0 6400000>,
  71. /* Turbo */
  72. <26 512 0 7464000>, <89 604 0 6400000>;
  73. };
  74. &mdss_mdp {
  75. qcom,vbif-settings = <0x0004 0x00000001>;
  76. qcom,mdss-wb-off = <0x00011100 0x00011500
  77. 0x00011900 0x00011D00 0x00012100>;
  78. qcom,mdss-intf-off = <0x00012500 0x00012700
  79. 0x00012900 0x00012b00>;
  80. qcom,mdss-pingpong-off = <0x00012D00 0x00012E00 0x00012F00>;
  81. qcom,mdss-has-bwc;
  82. qcom,mdss-has-decimation;
  83. qcom,mdss-ad-off = <0x0013100 0x00013300>;
  84. vdd-cx-supply = <&pm8841_s2_corner>;
  85. };
  86. &mdss_hdmi_tx {
  87. reg = <0xfd922100 0x370>,
  88. <0xfd922500 0x7C>,
  89. <0xfc4b8000 0x60F0>;
  90. reg-names = "core_physical", "phy_physical", "qfprom_physical";
  91. };
  92. &msm_vidc {
  93. qcom,vidc-ns-map = <0x40000000 0x40000000>;
  94. qcom,load-freq-tbl = <979200 465000000>,
  95. <783360 465000000>,
  96. <489600 266670000>,
  97. <244800 133330000>;
  98. qcom,reg-presets = <0x80004 0x1>,
  99. <0x80070 0x11FFF>,
  100. <0x80074 0xA4>,
  101. <0x800A8 0x1FFF>,
  102. <0x80124 0x3>,
  103. <0xE0020 0x5555556>,
  104. <0xE0024 0x0>;
  105. qcom,bus-ports = <1>;
  106. qcom,enc-ocmem-ab-ib = <0 0>,
  107. <138000 1034000>,
  108. <414000 1034000>,
  109. <940000 1034000>,
  110. <1880000 2068000>,
  111. <3008000 3309000>,
  112. <3760000 4136000>,
  113. <4468000 2457000>;
  114. qcom,dec-ocmem-ab-ib = <0 0>,
  115. <176000 519000>,
  116. <456000 519000>,
  117. <864000 629000>,
  118. <1728000 1038000>,
  119. <2766000 1661000>,
  120. <3456000 2076000>,
  121. <3662000 2198000>;
  122. qcom,enc-ddr-ab-ib = <0 0>,
  123. <120000 302000>,
  124. <364000 302000>,
  125. <804000 302000>,
  126. <1608000 604000>,
  127. <2576000 967000>,
  128. <4680000 1404000>,
  129. <49880000 1496000>;
  130. qcom,dec-ddr-ab-ib = <0 0>,
  131. <208000 303000>,
  132. <536000 1600000>,
  133. <1012000 1600000>,
  134. <2024000 1600000>,
  135. <3240000 1600000>,
  136. <4048000 1600000>,
  137. <4264000 1600000>;
  138. qcom,buffer-type-tz-usage-table = <0x241 0x1>,
  139. <0x106 0x2>,
  140. <0x480 0x3>;
  141. qcom,vidc-iommu-domains {
  142. qcom,domain-ns {
  143. qcom,vidc-domain-phandle = <&venus_domain_ns>;
  144. qcom,vidc-partition-buffer-types = <0x7ff>,
  145. <0x800>;
  146. };
  147. qcom,domain-sec-bs {
  148. qcom,vidc-domain-phandle = <&venus_domain_sec_bitstream>;
  149. qcom,vidc-partition-buffer-types = <0x241>;
  150. };
  151. qcom,domain-sec-px {
  152. qcom,vidc-domain-phandle = <&venus_domain_sec_pixel>;
  153. qcom,vidc-partition-buffer-types = <0x106>;
  154. };
  155. qcom,domain-sec-np {
  156. qcom,vidc-domain-phandle = <&venus_domain_sec_non_pixel>;
  157. qcom,vidc-partition-buffer-types = <0x480>;
  158. };
  159. };
  160. };
  161. &krait_pdn {
  162. qcom,use-phase-switching;
  163. };
  164. &tspp {
  165. vdd_cx-supply = <&pm8841_s2_corner>;
  166. };
  167. &krait_regulator_pmic {
  168. status = "ok";
  169. qcom,ctl@2000 {
  170. status = "ok";
  171. };
  172. qcom,ps@2100 {
  173. status = "ok";
  174. };
  175. qcom,freq@2200 {
  176. status = "ok";
  177. };
  178. };
  179. &cci {
  180. qcom,camera@0 {
  181. qcom,vdd-cx-supply = <&pm8841_s2>;
  182. qcom,vdd-cx-name = "qcom,vdd-cx";
  183. };
  184. qcom,camera@1 {
  185. qcom,vdd-cx-supply = <&pm8841_s2>;
  186. qcom,vdd-cx-name = "qcom,vdd-cx";
  187. };
  188. qcom,camera@2 {
  189. qcom,vdd-cx-supply = <&pm8841_s2>;
  190. qcom,vdd-cx-name = "qcom,vdd-cx";
  191. };
  192. qcom,camera@90 {
  193. qcom,vdd-cx-supply = <&pm8841_s2>;
  194. qcom,vdd-cx-name = "qcom,vdd-cx";
  195. };
  196. };