rk3399-t-opp.dtsi 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2. /*
  3. * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd
  4. * Copyright (c) 2022 Radxa Limited
  5. */
  6. / {
  7. cluster0_opp: opp-table-0 {
  8. compatible = "operating-points-v2";
  9. opp-shared;
  10. opp00 {
  11. opp-hz = /bits/ 64 <408000000>;
  12. opp-microvolt = <875000 875000 1250000>;
  13. clock-latency-ns = <40000>;
  14. };
  15. opp01 {
  16. opp-hz = /bits/ 64 <600000000>;
  17. opp-microvolt = <875000 875000 1250000>;
  18. };
  19. opp02 {
  20. opp-hz = /bits/ 64 <816000000>;
  21. opp-microvolt = <900000 900000 1250000>;
  22. };
  23. opp03 {
  24. opp-hz = /bits/ 64 <1008000000>;
  25. opp-microvolt = <975000 975000 1250000>;
  26. };
  27. };
  28. cluster1_opp: opp-table-1 {
  29. compatible = "operating-points-v2";
  30. opp-shared;
  31. opp00 {
  32. opp-hz = /bits/ 64 <408000000>;
  33. opp-microvolt = <875000 875000 1250000>;
  34. clock-latency-ns = <40000>;
  35. };
  36. opp01 {
  37. opp-hz = /bits/ 64 <600000000>;
  38. opp-microvolt = <875000 875000 1250000>;
  39. };
  40. opp02 {
  41. opp-hz = /bits/ 64 <816000000>;
  42. opp-microvolt = <875000 875000 1250000>;
  43. };
  44. opp03 {
  45. opp-hz = /bits/ 64 <1008000000>;
  46. opp-microvolt = <925000 925000 1250000>;
  47. };
  48. opp04 {
  49. opp-hz = /bits/ 64 <1200000000>;
  50. opp-microvolt = <1000000 1000000 1250000>;
  51. };
  52. opp05 {
  53. opp-hz = /bits/ 64 <1416000000>;
  54. opp-microvolt = <1075000 1075000 1250000>;
  55. };
  56. opp06 {
  57. opp-hz = /bits/ 64 <1512000000>;
  58. opp-microvolt = <1150000 1150000 1250000>;
  59. };
  60. };
  61. gpu_opp_table: opp-table-2 {
  62. compatible = "operating-points-v2";
  63. opp00 {
  64. opp-hz = /bits/ 64 <200000000>;
  65. opp-microvolt = <875000 875000 1150000>;
  66. };
  67. opp01 {
  68. opp-hz = /bits/ 64 <300000000>;
  69. opp-microvolt = <875000 875000 1150000>;
  70. };
  71. opp02 {
  72. opp-hz = /bits/ 64 <400000000>;
  73. opp-microvolt = <875000 875000 1150000>;
  74. };
  75. opp03 {
  76. opp-hz = /bits/ 64 <600000000>;
  77. opp-microvolt = <975000 975000 1150000>;
  78. };
  79. };
  80. };
  81. &cpu_l0 {
  82. operating-points-v2 = <&cluster0_opp>;
  83. };
  84. &cpu_l1 {
  85. operating-points-v2 = <&cluster0_opp>;
  86. };
  87. &cpu_l2 {
  88. operating-points-v2 = <&cluster0_opp>;
  89. };
  90. &cpu_l3 {
  91. operating-points-v2 = <&cluster0_opp>;
  92. };
  93. &cpu_b0 {
  94. operating-points-v2 = <&cluster1_opp>;
  95. };
  96. &cpu_b1 {
  97. operating-points-v2 = <&cluster1_opp>;
  98. };
  99. &gpu {
  100. operating-points-v2 = <&gpu_opp_table>;
  101. };