msm8974-gpu.dtsi 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. /* Copyright (c) 2012-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. &soc {
  13. msm_gpu: qcom,kgsl-3d0@fdb00000 {
  14. label = "kgsl-3d0";
  15. compatible = "qcom,kgsl-3d0", "qcom,kgsl-3d";
  16. reg = <0xfdb00000 0x10000
  17. 0xfdb20000 0x10000>;
  18. reg-names = "kgsl_3d0_reg_memory" , "kgsl_3d0_shader_memory";
  19. interrupts = <0 33 0>;
  20. interrupt-names = "kgsl_3d0_irq";
  21. qcom,id = <0>;
  22. qcom,chipid = <0x03030000>;
  23. qcom,initial-pwrlevel = <1>;
  24. qcom,idle-timeout = <80>; //msec
  25. qcom,strtstp-sleepwake;
  26. qcom,clk-map = <0x0000006>; //KGSL_CLK_CORE | KGSL_CLK_IFACE
  27. /* Bus Scale Settings */
  28. qcom,msm-bus,name = "grp3d";
  29. qcom,msm-bus,num-cases = <9>;
  30. qcom,msm-bus,num-paths = <2>;
  31. qcom,msm-bus,vectors-KBps =
  32. <26 512 0 0>, <89 604 0 0>,
  33. <26 512 0 1600000>, <89 604 0 3000000>,
  34. <26 512 0 2200000>, <89 604 0 3000000>,
  35. <26 512 0 4000000>, <89 604 0 3000000>,
  36. <26 512 0 2200000>, <89 604 0 4500000>,
  37. <26 512 0 4000000>, <89 604 0 4500000>,
  38. <26 512 0 6400000>, <89 604 0 4500000>,
  39. <26 512 0 4000000>, <89 604 0 7600000>,
  40. <26 512 0 6400000>, <89 604 0 7600000>;
  41. /* GDSC oxili regulators */
  42. vddcx-supply = <&gdsc_oxili_cx>;
  43. vdd-supply = <&gdsc_oxili_gx>;
  44. /* Power levels */
  45. /* IOMMU Data */
  46. iommu = <&kgsl_iommu>;
  47. /* Trace bus */
  48. coresight-id = <67>;
  49. coresight-name = "coresight-gfx";
  50. coresight-nr-inports = <0>;
  51. coresight-outports = <0>;
  52. coresight-child-list = <&funnel_mmss>;
  53. coresight-child-ports = <7>;
  54. qcom,gpu-pwrlevels {
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. compatible = "qcom,gpu-pwrlevels";
  58. qcom,gpu-pwrlevel@0 {
  59. reg = <0>;
  60. qcom,gpu-freq = <450000000>;
  61. qcom,bus-freq = <8>;
  62. qcom,io-fraction = <33>;
  63. };
  64. qcom,gpu-pwrlevel@1 {
  65. reg = <1>;
  66. qcom,gpu-freq = <320000000>;
  67. qcom,bus-freq = <5>;
  68. qcom,io-fraction = <66>;
  69. };
  70. qcom,gpu-pwrlevel@2 {
  71. reg = <2>;
  72. qcom,gpu-freq = <200000000>;
  73. qcom,bus-freq = <2>;
  74. qcom,io-fraction = <100>;
  75. };
  76. qcom,gpu-pwrlevel@3 {
  77. reg = <3>;
  78. qcom,gpu-freq = <27000000>;
  79. qcom,bus-freq = <0>;
  80. qcom,io-fraction = <0>;
  81. };
  82. };
  83. qcom,dcvs-core-info {
  84. #address-cells = <1>;
  85. #size-cells = <0>;
  86. compatible = "qcom,dcvs-core-info";
  87. qcom,num-cores = <1>;
  88. qcom,sensors = <0>;
  89. qcom,core-core-type = <1>;
  90. qcom,algo-disable-pc-threshold = <0>;
  91. qcom,algo-em-win-size-min-us = <100000>;
  92. qcom,algo-em-win-size-max-us = <300000>;
  93. qcom,algo-em-max-util-pct = <97>;
  94. qcom,algo-group-id = <95>;
  95. qcom,algo-max-freq-chg-time-us = <100000>;
  96. qcom,algo-slack-mode-dynamic = <100000>;
  97. qcom,algo-slack-weight-thresh-pct = <0>;
  98. qcom,algo-slack-time-min-us = <39000>;
  99. qcom,algo-slack-time-max-us = <39000>;
  100. qcom,algo-ss-win-size-min-us = <1000000>;
  101. qcom,algo-ss-win-size-max-us = <1000000>;
  102. qcom,algo-ss-util-pct = <95>;
  103. qcom,algo-ss-no-corr-below-freq = <0>;
  104. qcom,energy-active-coeff-a = <2492>;
  105. qcom,energy-active-coeff-b = <0>;
  106. qcom,energy-active-coeff-c = <0>;
  107. qcom,energy-leakage-coeff-a = <11>;
  108. qcom,energy-leakage-coeff-b = <157150>;
  109. qcom,energy-leakage-coeff-c = <0>;
  110. qcom,energy-leakage-coeff-d = <0>;
  111. qcom,power-current-temp = <25>;
  112. qcom,power-num-freq = <4>;
  113. qcom,dcvs-freq@0 {
  114. reg = <0>;
  115. qcom,freq = <0>;
  116. qcom,voltage = <0>;
  117. qcom,is_trans_level = <0>;
  118. qcom,active-energy-offset = <100>;
  119. qcom,leakage-energy-offset = <0>;
  120. };
  121. qcom,dcvs-freq@1 {
  122. reg = <1>;
  123. qcom,freq = <0>;
  124. qcom,voltage = <0>;
  125. qcom,is_trans_level = <0>;
  126. qcom,active-energy-offset = <100>;
  127. qcom,leakage-energy-offset = <0>;
  128. };
  129. qcom,dcvs-freq@2 {
  130. reg = <2>;
  131. qcom,freq = <0>;
  132. qcom,voltage = <0>;
  133. qcom,is_trans_level = <0>;
  134. qcom,active-energy-offset = <100>;
  135. qcom,leakage-energy-offset = <0>;
  136. };
  137. qcom,dcvs-freq@3 {
  138. reg = <3>;
  139. qcom,freq = <0>;
  140. qcom,voltage = <0>;
  141. qcom,is_trans_level = <0>;
  142. qcom,active-energy-offset = <844545>;
  143. qcom,leakage-energy-offset = <0>;
  144. };
  145. };
  146. };
  147. };