apq8084-gpu.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. &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 0x20000>;
  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 = <0x04020000>;
  23. qcom,initial-pwrlevel = <2>;
  24. qcom,idle-timeout = <8>; //<HZ/12>
  25. qcom,strtstp-sleepwake;
  26. qcom,clk-map = <0x00000016>; //KGSL_CLK_CORE | KGSL_CLK_IFACE | KGSL_CLK_MEM_IFACE
  27. /* Bus Scale Settings */
  28. qcom,msm-bus,name = "grp3d";
  29. qcom,msm-bus,num-cases = <5>;
  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 3144000>, <89 604 0 3200000>,
  34. <26 512 0 4800000>, <89 604 0 4800000>,
  35. <26 512 0 6400000>, <89 604 0 6400000>,
  36. <26 512 0 8528000>, <89 604 0 9600000>;
  37. /* GDSC oxili regulators */
  38. vddcx-supply = <&gdsc_oxili_cx>;
  39. vdd-supply = <&gdsc_oxili_gx>;
  40. /* IOMMU Data */
  41. iommu = <&kgsl_iommu>;
  42. /* Power levels */
  43. qcom,gpu-pwrlevels {
  44. #address-cells = <1>;
  45. #size-cells = <0>;
  46. compatible = "qcom,gpu-pwrlevels";
  47. qcom,gpu-pwrlevel@0 {
  48. reg = <0>;
  49. qcom,gpu-freq = <600000000>;
  50. qcom,bus-freq = <4>;
  51. qcom,io-fraction = <33>;
  52. };
  53. qcom,gpu-pwrlevel@1 {
  54. reg = <1>;
  55. qcom,gpu-freq = <400000000>;
  56. qcom,bus-freq = <3>;
  57. qcom,io-fraction = <66>;
  58. };
  59. qcom,gpu-pwrlevel@2 {
  60. reg = <2>;
  61. qcom,gpu-freq = <300000000>;
  62. qcom,bus-freq = <2>;
  63. qcom,io-fraction = <100>;
  64. };
  65. qcom,gpu-pwrlevel@3 {
  66. reg = <3>;
  67. qcom,gpu-freq = <200000000>;
  68. qcom,bus-freq = <1>;
  69. qcom,io-fraction = <100>;
  70. };
  71. qcom,gpu-pwrlevel@4 {
  72. reg = <4>;
  73. qcom,gpu-freq = <27000000>;
  74. qcom,bus-freq = <0>;
  75. qcom,io-fraction = <0>;
  76. };
  77. };
  78. };
  79. };