|
79 | 79 | reg = <0x0 0x0>; |
80 | 80 | clocks = <&cpufreq_hw 0>; |
81 | 81 | enable-method = "psci"; |
82 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
83 | | - &LITTLE_CPU_SLEEP_1 |
84 | | - &CLUSTER_SLEEP_0>; |
| 82 | + power-domains = <&CPU_PD0>; |
| 83 | + power-domain-names = "psci"; |
85 | 84 | capacity-dmips-mhz = <415>; |
86 | 85 | dynamic-power-coefficient = <137>; |
87 | 86 | operating-points-v2 = <&cpu0_opp_table>; |
|
109 | 108 | reg = <0x0 0x100>; |
110 | 109 | clocks = <&cpufreq_hw 0>; |
111 | 110 | enable-method = "psci"; |
112 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
113 | | - &LITTLE_CPU_SLEEP_1 |
114 | | - &CLUSTER_SLEEP_0>; |
| 111 | + power-domains = <&CPU_PD1>; |
| 112 | + power-domain-names = "psci"; |
115 | 113 | capacity-dmips-mhz = <415>; |
116 | 114 | dynamic-power-coefficient = <137>; |
117 | 115 | next-level-cache = <&L2_100>; |
|
134 | 132 | reg = <0x0 0x200>; |
135 | 133 | clocks = <&cpufreq_hw 0>; |
136 | 134 | enable-method = "psci"; |
137 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
138 | | - &LITTLE_CPU_SLEEP_1 |
139 | | - &CLUSTER_SLEEP_0>; |
| 135 | + power-domains = <&CPU_PD2>; |
| 136 | + power-domain-names = "psci"; |
140 | 137 | capacity-dmips-mhz = <415>; |
141 | 138 | dynamic-power-coefficient = <137>; |
142 | 139 | next-level-cache = <&L2_200>; |
|
159 | 156 | reg = <0x0 0x300>; |
160 | 157 | clocks = <&cpufreq_hw 0>; |
161 | 158 | enable-method = "psci"; |
162 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
163 | | - &LITTLE_CPU_SLEEP_1 |
164 | | - &CLUSTER_SLEEP_0>; |
| 159 | + power-domains = <&CPU_PD3>; |
| 160 | + power-domain-names = "psci"; |
165 | 161 | capacity-dmips-mhz = <415>; |
166 | 162 | dynamic-power-coefficient = <137>; |
167 | 163 | next-level-cache = <&L2_300>; |
|
184 | 180 | reg = <0x0 0x400>; |
185 | 181 | clocks = <&cpufreq_hw 0>; |
186 | 182 | enable-method = "psci"; |
187 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
188 | | - &LITTLE_CPU_SLEEP_1 |
189 | | - &CLUSTER_SLEEP_0>; |
| 183 | + power-domains = <&CPU_PD4>; |
| 184 | + power-domain-names = "psci"; |
190 | 185 | capacity-dmips-mhz = <415>; |
191 | 186 | dynamic-power-coefficient = <137>; |
192 | 187 | next-level-cache = <&L2_400>; |
|
209 | 204 | reg = <0x0 0x500>; |
210 | 205 | clocks = <&cpufreq_hw 0>; |
211 | 206 | enable-method = "psci"; |
212 | | - cpu-idle-states = <&LITTLE_CPU_SLEEP_0 |
213 | | - &LITTLE_CPU_SLEEP_1 |
214 | | - &CLUSTER_SLEEP_0>; |
| 207 | + power-domains = <&CPU_PD5>; |
| 208 | + power-domain-names = "psci"; |
215 | 209 | capacity-dmips-mhz = <415>; |
216 | 210 | dynamic-power-coefficient = <137>; |
217 | 211 | next-level-cache = <&L2_500>; |
|
234 | 228 | reg = <0x0 0x600>; |
235 | 229 | clocks = <&cpufreq_hw 1>; |
236 | 230 | enable-method = "psci"; |
237 | | - cpu-idle-states = <&BIG_CPU_SLEEP_0 |
238 | | - &BIG_CPU_SLEEP_1 |
239 | | - &CLUSTER_SLEEP_0>; |
| 231 | + power-domains = <&CPU_PD6>; |
| 232 | + power-domain-names = "psci"; |
240 | 233 | capacity-dmips-mhz = <1024>; |
241 | 234 | dynamic-power-coefficient = <480>; |
242 | 235 | next-level-cache = <&L2_600>; |
|
259 | 252 | reg = <0x0 0x700>; |
260 | 253 | clocks = <&cpufreq_hw 1>; |
261 | 254 | enable-method = "psci"; |
262 | | - cpu-idle-states = <&BIG_CPU_SLEEP_0 |
263 | | - &BIG_CPU_SLEEP_1 |
264 | | - &CLUSTER_SLEEP_0>; |
| 255 | + power-domains = <&CPU_PD7>; |
| 256 | + power-domain-names = "psci"; |
265 | 257 | capacity-dmips-mhz = <1024>; |
266 | 258 | dynamic-power-coefficient = <480>; |
267 | 259 | next-level-cache = <&L2_700>; |
|
314 | 306 | }; |
315 | 307 | }; |
316 | 308 |
|
317 | | - idle-states { |
| 309 | + idle_states: idle-states { |
318 | 310 | entry-method = "psci"; |
319 | 311 |
|
320 | 312 | LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { |
|
356 | 348 | min-residency-us = <5555>; |
357 | 349 | local-timer-stop; |
358 | 350 | }; |
| 351 | + }; |
359 | 352 |
|
360 | | - CLUSTER_SLEEP_0: cluster-sleep-0 { |
361 | | - compatible = "arm,idle-state"; |
| 353 | + domain_idle_states: domain-idle-states { |
| 354 | + CLUSTER_SLEEP_PC: cluster-sleep-0 { |
| 355 | + compatible = "domain-idle-state"; |
| 356 | + idle-state-name = "cluster-l3-power-collapse"; |
| 357 | + arm,psci-suspend-param = <0x41000044>; |
| 358 | + entry-latency-us = <2752>; |
| 359 | + exit-latency-us = <3048>; |
| 360 | + min-residency-us = <6118>; |
| 361 | + }; |
| 362 | + |
| 363 | + CLUSTER_SLEEP_CX_RET: cluster-sleep-1 { |
| 364 | + compatible = "domain-idle-state"; |
| 365 | + idle-state-name = "cluster-cx-retention"; |
| 366 | + arm,psci-suspend-param = <0x41001244>; |
| 367 | + entry-latency-us = <3638>; |
| 368 | + exit-latency-us = <4562>; |
| 369 | + min-residency-us = <8467>; |
| 370 | + }; |
| 371 | + |
| 372 | + CLUSTER_AOSS_SLEEP: cluster-sleep-2 { |
| 373 | + compatible = "domain-idle-state"; |
362 | 374 | idle-state-name = "cluster-power-down"; |
363 | | - arm,psci-suspend-param = <0x40003444>; |
| 375 | + arm,psci-suspend-param = <0x4100b244>; |
364 | 376 | entry-latency-us = <3263>; |
365 | 377 | exit-latency-us = <6562>; |
366 | | - min-residency-us = <9926>; |
367 | | - local-timer-stop; |
| 378 | + min-residency-us = <9826>; |
368 | 379 | }; |
369 | 380 | }; |
370 | 381 | }; |
|
567 | 578 | psci { |
568 | 579 | compatible = "arm,psci-1.0"; |
569 | 580 | method = "smc"; |
| 581 | + |
| 582 | + CPU_PD0: cpu0 { |
| 583 | + #power-domain-cells = <0>; |
| 584 | + power-domains = <&CLUSTER_PD>; |
| 585 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 586 | + }; |
| 587 | + |
| 588 | + CPU_PD1: cpu1 { |
| 589 | + #power-domain-cells = <0>; |
| 590 | + power-domains = <&CLUSTER_PD>; |
| 591 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 592 | + }; |
| 593 | + |
| 594 | + CPU_PD2: cpu2 { |
| 595 | + #power-domain-cells = <0>; |
| 596 | + power-domains = <&CLUSTER_PD>; |
| 597 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 598 | + }; |
| 599 | + |
| 600 | + CPU_PD3: cpu3 { |
| 601 | + #power-domain-cells = <0>; |
| 602 | + power-domains = <&CLUSTER_PD>; |
| 603 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 604 | + }; |
| 605 | + |
| 606 | + CPU_PD4: cpu4 { |
| 607 | + #power-domain-cells = <0>; |
| 608 | + power-domains = <&CLUSTER_PD>; |
| 609 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 610 | + }; |
| 611 | + |
| 612 | + CPU_PD5: cpu5 { |
| 613 | + #power-domain-cells = <0>; |
| 614 | + power-domains = <&CLUSTER_PD>; |
| 615 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0 &LITTLE_CPU_SLEEP_1>; |
| 616 | + }; |
| 617 | + |
| 618 | + CPU_PD6: cpu6 { |
| 619 | + #power-domain-cells = <0>; |
| 620 | + power-domains = <&CLUSTER_PD>; |
| 621 | + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; |
| 622 | + }; |
| 623 | + |
| 624 | + CPU_PD7: cpu7 { |
| 625 | + #power-domain-cells = <0>; |
| 626 | + power-domains = <&CLUSTER_PD>; |
| 627 | + domain-idle-states = <&BIG_CPU_SLEEP_0 &BIG_CPU_SLEEP_1>; |
| 628 | + }; |
| 629 | + |
| 630 | + CLUSTER_PD: cpu-cluster0 { |
| 631 | + #power-domain-cells = <0>; |
| 632 | + domain-idle-states = <&CLUSTER_SLEEP_PC |
| 633 | + &CLUSTER_SLEEP_CX_RET |
| 634 | + &CLUSTER_AOSS_SLEEP>; |
| 635 | + }; |
570 | 636 | }; |
571 | 637 |
|
572 | 638 | reserved_memory: reserved-memory { |
|
3597 | 3663 | <SLEEP_TCS 3>, |
3598 | 3664 | <WAKE_TCS 3>, |
3599 | 3665 | <CONTROL_TCS 1>; |
| 3666 | + power-domains = <&CLUSTER_PD>; |
3600 | 3667 |
|
3601 | 3668 | rpmhcc: clock-controller { |
3602 | 3669 | compatible = "qcom,sc7180-rpmh-clk"; |
|
0 commit comments