Advertisement
Guest User

Untitled

a guest
Sep 12th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. --- linux-stable/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi 2018-09-12 15:48:45.771415473 +0000
  2. +++ /tmp/sun50i-a64.dtsi 2018-09-12 15:50:33.029155085 +0000
  3. @@ -88,6 +88,18 @@
  4. device_type = "cpu";
  5. reg = <0>;
  6. enable-method = "psci";
  7. + cpufreq_tbl = < 480000
  8. + 600000
  9. + 720000
  10. + 816000
  11. + 1008000
  12. + 1104000
  13. + 1152000
  14. + 1200000
  15. + 1344000>;
  16. + clock-latency = <2000000>;
  17. + clock-frequency = <1008000000>;
  18. + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
  19. };
  20.  
  21. cpu1: cpu@1 {
  22. @@ -95,6 +107,8 @@
  23. device_type = "cpu";
  24. reg = <1>;
  25. enable-method = "psci";
  26. + clock-frequency = <1008000000>;
  27. + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
  28. };
  29.  
  30. cpu2: cpu@2 {
  31. @@ -102,6 +116,8 @@
  32. device_type = "cpu";
  33. reg = <2>;
  34. enable-method = "psci";
  35. + clock-frequency = <1008000000>;
  36. + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
  37. };
  38.  
  39. cpu3: cpu@3 {
  40. @@ -109,6 +125,35 @@
  41. device_type = "cpu";
  42. reg = <3>;
  43. enable-method = "psci";
  44. + clock-frequency = <1008000000>;
  45. + cpu-idle-states = <&CPU_SLEEP_0 &CLUSTER_SLEEP_0 &SYS_SLEEP_0>;
  46. + };
  47. + idle-states {
  48. + entry-method = "arm,psci";
  49. +
  50. + CPU_SLEEP_0: cpu-sleep-0 {
  51. + compatible = "arm,idle-state";
  52. + arm,psci-suspend-param = <0x0010000>;
  53. + entry-latency-us = <40>;
  54. + exit-latency-us = <100>;
  55. + min-residency-us = <150>;
  56. + };
  57. +
  58. + CLUSTER_SLEEP_0: cluster-sleep-0 {
  59. + compatible = "arm,idle-state";
  60. + arm,psci-suspend-param = <0x1010000>;
  61. + entry-latency-us = <500>;
  62. + exit-latency-us = <1000>;
  63. + min-residency-us = <2500>;
  64. + };
  65. +
  66. + SYS_SLEEP_0: sys-sleep-0 {
  67. + compatible = "arm,idle-state";
  68. + arm,psci-suspend-param = <0x2010000>;
  69. + entry-latency-us = <1000>;
  70. + exit-latency-us = <2000>;
  71. + min-residency-us = <4500>;
  72. + };
  73. };
  74. };
  75.  
  76. @@ -137,6 +182,16 @@
  77. psci {
  78. compatible = "arm,psci-0.2";
  79. method = "smc";
  80. + psci_version = <0x84000000>;
  81. + cpu_suspend = <0xc4000001>;
  82. + cpu_off = <0x84000002>;
  83. + cpu_on = <0xc4000003>;
  84. + affinity_info = <0xc4000004>;
  85. + migrate = <0xc4000005>;
  86. + migrate_info_type = <0x84000006>;
  87. + migrate_info_up_cpu = <0xc4000007>;
  88. + system_off = <0x84000008>;
  89. + system_reset = <0x84000009>;
  90. };
  91.  
  92. sound_spdif {
  93. @@ -169,6 +224,29 @@
  94. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  95. };
  96.  
  97. + dvfs_table: dvfs_table {
  98. + compatible = "allwinner,dvfs_table";
  99. + max_freq = <1200000000>;
  100. + min_freq = <480000000>;
  101. + lv_count = <8>;
  102. + lv1_freq = <1200000000>;
  103. + lv1_volt = <1300>;
  104. + lv2_freq = <1008000000>;
  105. + lv2_volt = <1200>;
  106. + lv3_freq = <816000000>;
  107. + lv3_volt = <1100>;
  108. + lv4_freq = <648000000>;
  109. + lv4_volt = <1040>;
  110. + lv5_freq = <0>;
  111. + lv5_volt = <1040>;
  112. + lv6_freq = <0>;
  113. + lv6_volt = <1040>;
  114. + lv7_freq = <0>;
  115. + lv7_volt = <1040>;
  116. + lv8_freq = <0>;
  117. + lv8_volt = <1040>;
  118. + };
  119. +
  120. soc {
  121. compatible = "simple-bus";
  122. #address-cells = <1>;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement