|
47 | 47 | enable-method = "psci";
|
48 | 48 | next-level-cache = <&L2_0>;
|
49 | 49 | qcom,freq-domain = <&cpufreq_hw 0>;
|
| 50 | + power-domains = <&CPU_PD0>; |
| 51 | + power-domain-names = "psci"; |
50 | 52 | #cooling-cells = <2>;
|
51 | 53 | L2_0: l2-cache {
|
52 | 54 | compatible = "cache";
|
|
64 | 66 | enable-method = "psci";
|
65 | 67 | next-level-cache = <&L2_100>;
|
66 | 68 | qcom,freq-domain = <&cpufreq_hw 0>;
|
| 69 | + power-domains = <&CPU_PD1>; |
| 70 | + power-domain-names = "psci"; |
67 | 71 | #cooling-cells = <2>;
|
68 | 72 | L2_100: l2-cache {
|
69 | 73 | compatible = "cache";
|
|
78 | 82 | enable-method = "psci";
|
79 | 83 | next-level-cache = <&L2_200>;
|
80 | 84 | qcom,freq-domain = <&cpufreq_hw 0>;
|
| 85 | + power-domains = <&CPU_PD2>; |
| 86 | + power-domain-names = "psci"; |
81 | 87 | #cooling-cells = <2>;
|
82 | 88 | L2_200: l2-cache {
|
83 | 89 | compatible = "cache";
|
|
92 | 98 | enable-method = "psci";
|
93 | 99 | next-level-cache = <&L2_300>;
|
94 | 100 | qcom,freq-domain = <&cpufreq_hw 0>;
|
| 101 | + power-domains = <&CPU_PD3>; |
| 102 | + power-domain-names = "psci"; |
95 | 103 | #cooling-cells = <2>;
|
96 | 104 | L2_300: l2-cache {
|
97 | 105 | compatible = "cache";
|
|
106 | 114 | enable-method = "psci";
|
107 | 115 | next-level-cache = <&L2_400>;
|
108 | 116 | qcom,freq-domain = <&cpufreq_hw 1>;
|
| 117 | + power-domains = <&CPU_PD4>; |
| 118 | + power-domain-names = "psci"; |
109 | 119 | #cooling-cells = <2>;
|
110 | 120 | L2_400: l2-cache {
|
111 | 121 | compatible = "cache";
|
|
120 | 130 | enable-method = "psci";
|
121 | 131 | next-level-cache = <&L2_500>;
|
122 | 132 | qcom,freq-domain = <&cpufreq_hw 1>;
|
| 133 | + power-domains = <&CPU_PD5>; |
| 134 | + power-domain-names = "psci"; |
123 | 135 | #cooling-cells = <2>;
|
124 | 136 | L2_500: l2-cache {
|
125 | 137 | compatible = "cache";
|
|
135 | 147 | enable-method = "psci";
|
136 | 148 | next-level-cache = <&L2_600>;
|
137 | 149 | qcom,freq-domain = <&cpufreq_hw 1>;
|
| 150 | + power-domains = <&CPU_PD6>; |
| 151 | + power-domain-names = "psci"; |
138 | 152 | #cooling-cells = <2>;
|
139 | 153 | L2_600: l2-cache {
|
140 | 154 | compatible = "cache";
|
|
149 | 163 | enable-method = "psci";
|
150 | 164 | next-level-cache = <&L2_700>;
|
151 | 165 | qcom,freq-domain = <&cpufreq_hw 2>;
|
| 166 | + power-domains = <&CPU_PD7>; |
| 167 | + power-domain-names = "psci"; |
152 | 168 | #cooling-cells = <2>;
|
153 | 169 | L2_700: l2-cache {
|
154 | 170 | compatible = "cache";
|
155 | 171 | next-level-cache = <&L3_0>;
|
156 | 172 | };
|
157 | 173 | };
|
| 174 | + |
| 175 | + cpu-map { |
| 176 | + cluster0 { |
| 177 | + core0 { |
| 178 | + cpu = <&CPU0>; |
| 179 | + }; |
| 180 | + |
| 181 | + core1 { |
| 182 | + cpu = <&CPU1>; |
| 183 | + }; |
| 184 | + |
| 185 | + core2 { |
| 186 | + cpu = <&CPU2>; |
| 187 | + }; |
| 188 | + |
| 189 | + core3 { |
| 190 | + cpu = <&CPU3>; |
| 191 | + }; |
| 192 | + |
| 193 | + core4 { |
| 194 | + cpu = <&CPU4>; |
| 195 | + }; |
| 196 | + |
| 197 | + core5 { |
| 198 | + cpu = <&CPU5>; |
| 199 | + }; |
| 200 | + |
| 201 | + core6 { |
| 202 | + cpu = <&CPU6>; |
| 203 | + }; |
| 204 | + |
| 205 | + core7 { |
| 206 | + cpu = <&CPU7>; |
| 207 | + }; |
| 208 | + }; |
| 209 | + }; |
| 210 | + |
| 211 | + idle-states { |
| 212 | + entry-method = "psci"; |
| 213 | + |
| 214 | + LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { |
| 215 | + compatible = "arm,idle-state"; |
| 216 | + idle-state-name = "silver-rail-power-collapse"; |
| 217 | + arm,psci-suspend-param = <0x40000004>; |
| 218 | + entry-latency-us = <355>; |
| 219 | + exit-latency-us = <909>; |
| 220 | + min-residency-us = <3934>; |
| 221 | + local-timer-stop; |
| 222 | + }; |
| 223 | + |
| 224 | + BIG_CPU_SLEEP_0: cpu-sleep-1-0 { |
| 225 | + compatible = "arm,idle-state"; |
| 226 | + idle-state-name = "gold-rail-power-collapse"; |
| 227 | + arm,psci-suspend-param = <0x40000004>; |
| 228 | + entry-latency-us = <241>; |
| 229 | + exit-latency-us = <1461>; |
| 230 | + min-residency-us = <4488>; |
| 231 | + local-timer-stop; |
| 232 | + }; |
| 233 | + }; |
| 234 | + |
| 235 | + domain-idle-states { |
| 236 | + CLUSTER_SLEEP_0: cluster-sleep-0 { |
| 237 | + compatible = "domain-idle-state"; |
| 238 | + idle-state-name = "cluster-power-collapse"; |
| 239 | + arm,psci-suspend-param = <0x4100c344>; |
| 240 | + entry-latency-us = <3263>; |
| 241 | + exit-latency-us = <6562>; |
| 242 | + min-residency-us = <9987>; |
| 243 | + local-timer-stop; |
| 244 | + }; |
| 245 | + }; |
158 | 246 | };
|
159 | 247 |
|
160 | 248 | firmware {
|
|
178 | 266 | psci {
|
179 | 267 | compatible = "arm,psci-1.0";
|
180 | 268 | method = "smc";
|
| 269 | + |
| 270 | + CPU_PD0: cpu0 { |
| 271 | + #power-domain-cells = <0>; |
| 272 | + power-domains = <&CLUSTER_PD>; |
| 273 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0>; |
| 274 | + }; |
| 275 | + |
| 276 | + CPU_PD1: cpu1 { |
| 277 | + #power-domain-cells = <0>; |
| 278 | + power-domains = <&CLUSTER_PD>; |
| 279 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0>; |
| 280 | + }; |
| 281 | + |
| 282 | + CPU_PD2: cpu2 { |
| 283 | + #power-domain-cells = <0>; |
| 284 | + power-domains = <&CLUSTER_PD>; |
| 285 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0>; |
| 286 | + }; |
| 287 | + |
| 288 | + CPU_PD3: cpu3 { |
| 289 | + #power-domain-cells = <0>; |
| 290 | + power-domains = <&CLUSTER_PD>; |
| 291 | + domain-idle-states = <&LITTLE_CPU_SLEEP_0>; |
| 292 | + }; |
| 293 | + |
| 294 | + CPU_PD4: cpu4 { |
| 295 | + #power-domain-cells = <0>; |
| 296 | + power-domains = <&CLUSTER_PD>; |
| 297 | + domain-idle-states = <&BIG_CPU_SLEEP_0>; |
| 298 | + }; |
| 299 | + |
| 300 | + CPU_PD5: cpu5 { |
| 301 | + #power-domain-cells = <0>; |
| 302 | + power-domains = <&CLUSTER_PD>; |
| 303 | + domain-idle-states = <&BIG_CPU_SLEEP_0>; |
| 304 | + }; |
| 305 | + |
| 306 | + CPU_PD6: cpu6 { |
| 307 | + #power-domain-cells = <0>; |
| 308 | + power-domains = <&CLUSTER_PD>; |
| 309 | + domain-idle-states = <&BIG_CPU_SLEEP_0>; |
| 310 | + }; |
| 311 | + |
| 312 | + CPU_PD7: cpu7 { |
| 313 | + #power-domain-cells = <0>; |
| 314 | + power-domains = <&CLUSTER_PD>; |
| 315 | + domain-idle-states = <&BIG_CPU_SLEEP_0>; |
| 316 | + }; |
| 317 | + |
| 318 | + CLUSTER_PD: cpu-cluster0 { |
| 319 | + #power-domain-cells = <0>; |
| 320 | + domain-idle-states = <&CLUSTER_SLEEP_0>; |
| 321 | + }; |
181 | 322 | };
|
182 | 323 |
|
183 | 324 | reserved_memory: reserved-memory {
|
|
0 commit comments