1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2017-2019, The Linux Foundati 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2019, Linaro Limited 4 * Copyright (c) 2019, Linaro Limited 5 */ 5 */ 6 6 7 #include <dt-bindings/dma/qcom-gpi.h> 7 #include <dt-bindings/dma/qcom-gpi.h> 8 #include <dt-bindings/firmware/qcom,scm.h> << 9 #include <dt-bindings/interrupt-controller/arm 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/phy/phy-qcom-qmp.h> !! 9 #include <dt-bindings/power/qcom-aoss-qmp.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 10 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 11 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,dispcc-sm8150 << 15 #include <dt-bindings/clock/qcom,gcc-sm8150.h> 13 #include <dt-bindings/clock/qcom,gcc-sm8150.h> 16 #include <dt-bindings/clock/qcom,gpucc-sm8150. 14 #include <dt-bindings/clock/qcom,gpucc-sm8150.h> 17 #include <dt-bindings/clock/qcom,videocc-sm815 << 18 #include <dt-bindings/interconnect/qcom,osm-l3 15 #include <dt-bindings/interconnect/qcom,osm-l3.h> 19 #include <dt-bindings/interconnect/qcom,sm8150 << 20 #include <dt-bindings/clock/qcom,sm8150-camcc. << 21 #include <dt-bindings/thermal/thermal.h> 16 #include <dt-bindings/thermal/thermal.h> 22 17 23 / { 18 / { 24 interrupt-parent = <&intc>; 19 interrupt-parent = <&intc>; 25 20 26 #address-cells = <2>; 21 #address-cells = <2>; 27 #size-cells = <2>; 22 #size-cells = <2>; 28 23 29 chosen { }; 24 chosen { }; 30 25 31 clocks { 26 clocks { 32 xo_board: xo-board { 27 xo_board: xo-board { 33 compatible = "fixed-cl 28 compatible = "fixed-clock"; 34 #clock-cells = <0>; 29 #clock-cells = <0>; 35 clock-frequency = <384 30 clock-frequency = <38400000>; 36 clock-output-names = " 31 clock-output-names = "xo_board"; 37 }; 32 }; 38 33 39 sleep_clk: sleep-clk { 34 sleep_clk: sleep-clk { 40 compatible = "fixed-cl 35 compatible = "fixed-clock"; 41 #clock-cells = <0>; 36 #clock-cells = <0>; 42 clock-frequency = <327 37 clock-frequency = <32764>; 43 clock-output-names = " 38 clock-output-names = "sleep_clk"; 44 }; 39 }; 45 }; 40 }; 46 41 47 cpus { 42 cpus { 48 #address-cells = <2>; 43 #address-cells = <2>; 49 #size-cells = <0>; 44 #size-cells = <0>; 50 45 51 CPU0: cpu@0 { 46 CPU0: cpu@0 { 52 device_type = "cpu"; 47 device_type = "cpu"; 53 compatible = "qcom,kry 48 compatible = "qcom,kryo485"; 54 reg = <0x0 0x0>; 49 reg = <0x0 0x0>; 55 clocks = <&cpufreq_hw << 56 enable-method = "psci" 50 enable-method = "psci"; 57 capacity-dmips-mhz = < 51 capacity-dmips-mhz = <488>; 58 dynamic-power-coeffici 52 dynamic-power-coefficient = <232>; 59 next-level-cache = <&L 53 next-level-cache = <&L2_0>; 60 qcom,freq-domain = <&c 54 qcom,freq-domain = <&cpufreq_hw 0>; 61 operating-points-v2 = << 62 interconnects = <&gem_ << 63 <&osm_ << 64 power-domains = <&CPU_ 55 power-domains = <&CPU_PD0>; 65 power-domain-names = " 56 power-domain-names = "psci"; 66 #cooling-cells = <2>; 57 #cooling-cells = <2>; 67 L2_0: l2-cache { 58 L2_0: l2-cache { 68 compatible = " 59 compatible = "cache"; 69 cache-level = << 70 cache-unified; << 71 next-level-cac 60 next-level-cache = <&L3_0>; 72 L3_0: l3-cache 61 L3_0: l3-cache { 73 compat !! 62 compatible = "cache"; 74 cache- << 75 cache- << 76 }; 63 }; 77 }; 64 }; 78 }; 65 }; 79 66 80 CPU1: cpu@100 { 67 CPU1: cpu@100 { 81 device_type = "cpu"; 68 device_type = "cpu"; 82 compatible = "qcom,kry 69 compatible = "qcom,kryo485"; 83 reg = <0x0 0x100>; 70 reg = <0x0 0x100>; 84 clocks = <&cpufreq_hw << 85 enable-method = "psci" 71 enable-method = "psci"; 86 capacity-dmips-mhz = < 72 capacity-dmips-mhz = <488>; 87 dynamic-power-coeffici 73 dynamic-power-coefficient = <232>; 88 next-level-cache = <&L 74 next-level-cache = <&L2_100>; 89 qcom,freq-domain = <&c 75 qcom,freq-domain = <&cpufreq_hw 0>; 90 operating-points-v2 = << 91 interconnects = <&gem_ << 92 <&osm_ << 93 power-domains = <&CPU_ 76 power-domains = <&CPU_PD1>; 94 power-domain-names = " 77 power-domain-names = "psci"; 95 #cooling-cells = <2>; 78 #cooling-cells = <2>; 96 L2_100: l2-cache { 79 L2_100: l2-cache { 97 compatible = " 80 compatible = "cache"; 98 cache-level = << 99 cache-unified; << 100 next-level-cac 81 next-level-cache = <&L3_0>; 101 }; 82 }; >> 83 102 }; 84 }; 103 85 104 CPU2: cpu@200 { 86 CPU2: cpu@200 { 105 device_type = "cpu"; 87 device_type = "cpu"; 106 compatible = "qcom,kry 88 compatible = "qcom,kryo485"; 107 reg = <0x0 0x200>; 89 reg = <0x0 0x200>; 108 clocks = <&cpufreq_hw << 109 enable-method = "psci" 90 enable-method = "psci"; 110 capacity-dmips-mhz = < 91 capacity-dmips-mhz = <488>; 111 dynamic-power-coeffici 92 dynamic-power-coefficient = <232>; 112 next-level-cache = <&L 93 next-level-cache = <&L2_200>; 113 qcom,freq-domain = <&c 94 qcom,freq-domain = <&cpufreq_hw 0>; 114 operating-points-v2 = << 115 interconnects = <&gem_ << 116 <&osm_ << 117 power-domains = <&CPU_ 95 power-domains = <&CPU_PD2>; 118 power-domain-names = " 96 power-domain-names = "psci"; 119 #cooling-cells = <2>; 97 #cooling-cells = <2>; 120 L2_200: l2-cache { 98 L2_200: l2-cache { 121 compatible = " 99 compatible = "cache"; 122 cache-level = << 123 cache-unified; << 124 next-level-cac 100 next-level-cache = <&L3_0>; 125 }; 101 }; 126 }; 102 }; 127 103 128 CPU3: cpu@300 { 104 CPU3: cpu@300 { 129 device_type = "cpu"; 105 device_type = "cpu"; 130 compatible = "qcom,kry 106 compatible = "qcom,kryo485"; 131 reg = <0x0 0x300>; 107 reg = <0x0 0x300>; 132 clocks = <&cpufreq_hw << 133 enable-method = "psci" 108 enable-method = "psci"; 134 capacity-dmips-mhz = < 109 capacity-dmips-mhz = <488>; 135 dynamic-power-coeffici 110 dynamic-power-coefficient = <232>; 136 next-level-cache = <&L 111 next-level-cache = <&L2_300>; 137 qcom,freq-domain = <&c 112 qcom,freq-domain = <&cpufreq_hw 0>; 138 operating-points-v2 = << 139 interconnects = <&gem_ << 140 <&osm_ << 141 power-domains = <&CPU_ 113 power-domains = <&CPU_PD3>; 142 power-domain-names = " 114 power-domain-names = "psci"; 143 #cooling-cells = <2>; 115 #cooling-cells = <2>; 144 L2_300: l2-cache { 116 L2_300: l2-cache { 145 compatible = " 117 compatible = "cache"; 146 cache-level = << 147 cache-unified; << 148 next-level-cac 118 next-level-cache = <&L3_0>; 149 }; 119 }; 150 }; 120 }; 151 121 152 CPU4: cpu@400 { 122 CPU4: cpu@400 { 153 device_type = "cpu"; 123 device_type = "cpu"; 154 compatible = "qcom,kry 124 compatible = "qcom,kryo485"; 155 reg = <0x0 0x400>; 125 reg = <0x0 0x400>; 156 clocks = <&cpufreq_hw << 157 enable-method = "psci" 126 enable-method = "psci"; 158 capacity-dmips-mhz = < 127 capacity-dmips-mhz = <1024>; 159 dynamic-power-coeffici 128 dynamic-power-coefficient = <369>; 160 next-level-cache = <&L 129 next-level-cache = <&L2_400>; 161 qcom,freq-domain = <&c 130 qcom,freq-domain = <&cpufreq_hw 1>; 162 operating-points-v2 = << 163 interconnects = <&gem_ << 164 <&osm_ << 165 power-domains = <&CPU_ 131 power-domains = <&CPU_PD4>; 166 power-domain-names = " 132 power-domain-names = "psci"; 167 #cooling-cells = <2>; 133 #cooling-cells = <2>; 168 L2_400: l2-cache { 134 L2_400: l2-cache { 169 compatible = " 135 compatible = "cache"; 170 cache-level = << 171 cache-unified; << 172 next-level-cac 136 next-level-cache = <&L3_0>; 173 }; 137 }; 174 }; 138 }; 175 139 176 CPU5: cpu@500 { 140 CPU5: cpu@500 { 177 device_type = "cpu"; 141 device_type = "cpu"; 178 compatible = "qcom,kry 142 compatible = "qcom,kryo485"; 179 reg = <0x0 0x500>; 143 reg = <0x0 0x500>; 180 clocks = <&cpufreq_hw << 181 enable-method = "psci" 144 enable-method = "psci"; 182 capacity-dmips-mhz = < 145 capacity-dmips-mhz = <1024>; 183 dynamic-power-coeffici 146 dynamic-power-coefficient = <369>; 184 next-level-cache = <&L 147 next-level-cache = <&L2_500>; 185 qcom,freq-domain = <&c 148 qcom,freq-domain = <&cpufreq_hw 1>; 186 operating-points-v2 = << 187 interconnects = <&gem_ << 188 <&osm_ << 189 power-domains = <&CPU_ 149 power-domains = <&CPU_PD5>; 190 power-domain-names = " 150 power-domain-names = "psci"; 191 #cooling-cells = <2>; 151 #cooling-cells = <2>; 192 L2_500: l2-cache { 152 L2_500: l2-cache { 193 compatible = " 153 compatible = "cache"; 194 cache-level = << 195 cache-unified; << 196 next-level-cac 154 next-level-cache = <&L3_0>; 197 }; 155 }; 198 }; 156 }; 199 157 200 CPU6: cpu@600 { 158 CPU6: cpu@600 { 201 device_type = "cpu"; 159 device_type = "cpu"; 202 compatible = "qcom,kry 160 compatible = "qcom,kryo485"; 203 reg = <0x0 0x600>; 161 reg = <0x0 0x600>; 204 clocks = <&cpufreq_hw << 205 enable-method = "psci" 162 enable-method = "psci"; 206 capacity-dmips-mhz = < 163 capacity-dmips-mhz = <1024>; 207 dynamic-power-coeffici 164 dynamic-power-coefficient = <369>; 208 next-level-cache = <&L 165 next-level-cache = <&L2_600>; 209 qcom,freq-domain = <&c 166 qcom,freq-domain = <&cpufreq_hw 1>; 210 operating-points-v2 = << 211 interconnects = <&gem_ << 212 <&osm_ << 213 power-domains = <&CPU_ 167 power-domains = <&CPU_PD6>; 214 power-domain-names = " 168 power-domain-names = "psci"; 215 #cooling-cells = <2>; 169 #cooling-cells = <2>; 216 L2_600: l2-cache { 170 L2_600: l2-cache { 217 compatible = " 171 compatible = "cache"; 218 cache-level = << 219 cache-unified; << 220 next-level-cac 172 next-level-cache = <&L3_0>; 221 }; 173 }; 222 }; 174 }; 223 175 224 CPU7: cpu@700 { 176 CPU7: cpu@700 { 225 device_type = "cpu"; 177 device_type = "cpu"; 226 compatible = "qcom,kry 178 compatible = "qcom,kryo485"; 227 reg = <0x0 0x700>; 179 reg = <0x0 0x700>; 228 clocks = <&cpufreq_hw << 229 enable-method = "psci" 180 enable-method = "psci"; 230 capacity-dmips-mhz = < 181 capacity-dmips-mhz = <1024>; 231 dynamic-power-coeffici 182 dynamic-power-coefficient = <421>; 232 next-level-cache = <&L 183 next-level-cache = <&L2_700>; 233 qcom,freq-domain = <&c 184 qcom,freq-domain = <&cpufreq_hw 2>; 234 operating-points-v2 = << 235 interconnects = <&gem_ << 236 <&osm_ << 237 power-domains = <&CPU_ 185 power-domains = <&CPU_PD7>; 238 power-domain-names = " 186 power-domain-names = "psci"; 239 #cooling-cells = <2>; 187 #cooling-cells = <2>; 240 L2_700: l2-cache { 188 L2_700: l2-cache { 241 compatible = " 189 compatible = "cache"; 242 cache-level = << 243 cache-unified; << 244 next-level-cac 190 next-level-cache = <&L3_0>; 245 }; 191 }; 246 }; 192 }; 247 193 248 cpu-map { 194 cpu-map { 249 cluster0 { 195 cluster0 { 250 core0 { 196 core0 { 251 cpu = 197 cpu = <&CPU0>; 252 }; 198 }; 253 199 254 core1 { 200 core1 { 255 cpu = 201 cpu = <&CPU1>; 256 }; 202 }; 257 203 258 core2 { 204 core2 { 259 cpu = 205 cpu = <&CPU2>; 260 }; 206 }; 261 207 262 core3 { 208 core3 { 263 cpu = 209 cpu = <&CPU3>; 264 }; 210 }; 265 211 266 core4 { 212 core4 { 267 cpu = 213 cpu = <&CPU4>; 268 }; 214 }; 269 215 270 core5 { 216 core5 { 271 cpu = 217 cpu = <&CPU5>; 272 }; 218 }; 273 219 274 core6 { 220 core6 { 275 cpu = 221 cpu = <&CPU6>; 276 }; 222 }; 277 223 278 core7 { 224 core7 { 279 cpu = 225 cpu = <&CPU7>; 280 }; 226 }; 281 }; 227 }; 282 }; 228 }; 283 229 284 idle-states { 230 idle-states { 285 entry-method = "psci"; 231 entry-method = "psci"; 286 232 287 LITTLE_CPU_SLEEP_0: cp 233 LITTLE_CPU_SLEEP_0: cpu-sleep-0-0 { 288 compatible = " 234 compatible = "arm,idle-state"; 289 idle-state-nam 235 idle-state-name = "little-rail-power-collapse"; 290 arm,psci-suspe 236 arm,psci-suspend-param = <0x40000004>; 291 entry-latency- 237 entry-latency-us = <355>; 292 exit-latency-u 238 exit-latency-us = <909>; 293 min-residency- 239 min-residency-us = <3934>; 294 local-timer-st 240 local-timer-stop; 295 }; 241 }; 296 242 297 BIG_CPU_SLEEP_0: cpu-s 243 BIG_CPU_SLEEP_0: cpu-sleep-1-0 { 298 compatible = " 244 compatible = "arm,idle-state"; 299 idle-state-nam 245 idle-state-name = "big-rail-power-collapse"; 300 arm,psci-suspe 246 arm,psci-suspend-param = <0x40000004>; 301 entry-latency- 247 entry-latency-us = <241>; 302 exit-latency-u 248 exit-latency-us = <1461>; 303 min-residency- 249 min-residency-us = <4488>; 304 local-timer-st 250 local-timer-stop; 305 }; 251 }; 306 }; 252 }; 307 253 308 domain-idle-states { 254 domain-idle-states { 309 CLUSTER_SLEEP_0: clust 255 CLUSTER_SLEEP_0: cluster-sleep-0 { 310 compatible = " 256 compatible = "domain-idle-state"; >> 257 idle-state-name = "cluster-power-collapse"; 311 arm,psci-suspe 258 arm,psci-suspend-param = <0x4100c244>; 312 entry-latency- 259 entry-latency-us = <3263>; 313 exit-latency-u 260 exit-latency-us = <6562>; 314 min-residency- 261 min-residency-us = <9987>; >> 262 local-timer-stop; 315 }; 263 }; 316 }; 264 }; 317 }; 265 }; 318 266 319 cpu0_opp_table: opp-table-cpu0 { << 320 compatible = "operating-points << 321 opp-shared; << 322 << 323 cpu0_opp1: opp-300000000 { << 324 opp-hz = /bits/ 64 <30 << 325 opp-peak-kBps = <80000 << 326 }; << 327 << 328 cpu0_opp2: opp-403200000 { << 329 opp-hz = /bits/ 64 <40 << 330 opp-peak-kBps = <80000 << 331 }; << 332 << 333 cpu0_opp3: opp-499200000 { << 334 opp-hz = /bits/ 64 <49 << 335 opp-peak-kBps = <80000 << 336 }; << 337 << 338 cpu0_opp4: opp-576000000 { << 339 opp-hz = /bits/ 64 <57 << 340 opp-peak-kBps = <80000 << 341 }; << 342 << 343 cpu0_opp5: opp-672000000 { << 344 opp-hz = /bits/ 64 <67 << 345 opp-peak-kBps = <80000 << 346 }; << 347 << 348 cpu0_opp6: opp-768000000 { << 349 opp-hz = /bits/ 64 <76 << 350 opp-peak-kBps = <18040 << 351 }; << 352 << 353 cpu0_opp7: opp-844800000 { << 354 opp-hz = /bits/ 64 <84 << 355 opp-peak-kBps = <18040 << 356 }; << 357 << 358 cpu0_opp8: opp-940800000 { << 359 opp-hz = /bits/ 64 <94 << 360 opp-peak-kBps = <18040 << 361 }; << 362 << 363 cpu0_opp9: opp-1036800000 { << 364 opp-hz = /bits/ 64 <10 << 365 opp-peak-kBps = <18040 << 366 }; << 367 << 368 cpu0_opp10: opp-1113600000 { << 369 opp-hz = /bits/ 64 <11 << 370 opp-peak-kBps = <21880 << 371 }; << 372 << 373 cpu0_opp11: opp-1209600000 { << 374 opp-hz = /bits/ 64 <12 << 375 opp-peak-kBps = <21880 << 376 }; << 377 << 378 cpu0_opp12: opp-1305600000 { << 379 opp-hz = /bits/ 64 <13 << 380 opp-peak-kBps = <30720 << 381 }; << 382 << 383 cpu0_opp13: opp-1382400000 { << 384 opp-hz = /bits/ 64 <13 << 385 opp-peak-kBps = <30720 << 386 }; << 387 << 388 cpu0_opp14: opp-1478400000 { << 389 opp-hz = /bits/ 64 <14 << 390 opp-peak-kBps = <30720 << 391 }; << 392 << 393 cpu0_opp15: opp-1555200000 { << 394 opp-hz = /bits/ 64 <15 << 395 opp-peak-kBps = <30720 << 396 }; << 397 << 398 cpu0_opp16: opp-1632000000 { << 399 opp-hz = /bits/ 64 <16 << 400 opp-peak-kBps = <30720 << 401 }; << 402 << 403 cpu0_opp17: opp-1708800000 { << 404 opp-hz = /bits/ 64 <17 << 405 opp-peak-kBps = <30720 << 406 }; << 407 << 408 cpu0_opp18: opp-1785600000 { << 409 opp-hz = /bits/ 64 <17 << 410 opp-peak-kBps = <30720 << 411 }; << 412 }; << 413 << 414 cpu4_opp_table: opp-table-cpu4 { << 415 compatible = "operating-points << 416 opp-shared; << 417 << 418 cpu4_opp1: opp-710400000 { << 419 opp-hz = /bits/ 64 <71 << 420 opp-peak-kBps = <18040 << 421 }; << 422 << 423 cpu4_opp2: opp-825600000 { << 424 opp-hz = /bits/ 64 <82 << 425 opp-peak-kBps = <21880 << 426 }; << 427 << 428 cpu4_opp3: opp-940800000 { << 429 opp-hz = /bits/ 64 <94 << 430 opp-peak-kBps = <21880 << 431 }; << 432 << 433 cpu4_opp4: opp-1056000000 { << 434 opp-hz = /bits/ 64 <10 << 435 opp-peak-kBps = <30720 << 436 }; << 437 << 438 cpu4_opp5: opp-1171200000 { << 439 opp-hz = /bits/ 64 <11 << 440 opp-peak-kBps = <30720 << 441 }; << 442 << 443 cpu4_opp6: opp-1286400000 { << 444 opp-hz = /bits/ 64 <12 << 445 opp-peak-kBps = <40680 << 446 }; << 447 << 448 cpu4_opp7: opp-1401600000 { << 449 opp-hz = /bits/ 64 <14 << 450 opp-peak-kBps = <40680 << 451 }; << 452 << 453 cpu4_opp8: opp-1497600000 { << 454 opp-hz = /bits/ 64 <14 << 455 opp-peak-kBps = <40680 << 456 }; << 457 << 458 cpu4_opp9: opp-1612800000 { << 459 opp-hz = /bits/ 64 <16 << 460 opp-peak-kBps = <40680 << 461 }; << 462 << 463 cpu4_opp10: opp-1708800000 { << 464 opp-hz = /bits/ 64 <17 << 465 opp-peak-kBps = <40680 << 466 }; << 467 << 468 cpu4_opp11: opp-1804800000 { << 469 opp-hz = /bits/ 64 <18 << 470 opp-peak-kBps = <62200 << 471 }; << 472 << 473 cpu4_opp12: opp-1920000000 { << 474 opp-hz = /bits/ 64 <19 << 475 opp-peak-kBps = <62200 << 476 }; << 477 << 478 cpu4_opp13: opp-2016000000 { << 479 opp-hz = /bits/ 64 <20 << 480 opp-peak-kBps = <72160 << 481 }; << 482 << 483 cpu4_opp14: opp-2131200000 { << 484 opp-hz = /bits/ 64 <21 << 485 opp-peak-kBps = <83680 << 486 }; << 487 << 488 cpu4_opp15: opp-2227200000 { << 489 opp-hz = /bits/ 64 <22 << 490 opp-peak-kBps = <83680 << 491 }; << 492 << 493 cpu4_opp16: opp-2323200000 { << 494 opp-hz = /bits/ 64 <23 << 495 opp-peak-kBps = <83680 << 496 }; << 497 << 498 cpu4_opp17: opp-2419200000 { << 499 opp-hz = /bits/ 64 <24 << 500 opp-peak-kBps = <83680 << 501 }; << 502 }; << 503 << 504 cpu7_opp_table: opp-table-cpu7 { << 505 compatible = "operating-points << 506 opp-shared; << 507 << 508 cpu7_opp1: opp-825600000 { << 509 opp-hz = /bits/ 64 <82 << 510 opp-peak-kBps = <21880 << 511 }; << 512 << 513 cpu7_opp2: opp-940800000 { << 514 opp-hz = /bits/ 64 <94 << 515 opp-peak-kBps = <21880 << 516 }; << 517 << 518 cpu7_opp3: opp-1056000000 { << 519 opp-hz = /bits/ 64 <10 << 520 opp-peak-kBps = <30720 << 521 }; << 522 << 523 cpu7_opp4: opp-1171200000 { << 524 opp-hz = /bits/ 64 <11 << 525 opp-peak-kBps = <30720 << 526 }; << 527 << 528 cpu7_opp5: opp-1286400000 { << 529 opp-hz = /bits/ 64 <12 << 530 opp-peak-kBps = <40680 << 531 }; << 532 << 533 cpu7_opp6: opp-1401600000 { << 534 opp-hz = /bits/ 64 <14 << 535 opp-peak-kBps = <40680 << 536 }; << 537 << 538 cpu7_opp7: opp-1497600000 { << 539 opp-hz = /bits/ 64 <14 << 540 opp-peak-kBps = <40680 << 541 }; << 542 << 543 cpu7_opp8: opp-1612800000 { << 544 opp-hz = /bits/ 64 <16 << 545 opp-peak-kBps = <40680 << 546 }; << 547 << 548 cpu7_opp9: opp-1708800000 { << 549 opp-hz = /bits/ 64 <17 << 550 opp-peak-kBps = <40680 << 551 }; << 552 << 553 cpu7_opp10: opp-1804800000 { << 554 opp-hz = /bits/ 64 <18 << 555 opp-peak-kBps = <62200 << 556 }; << 557 << 558 cpu7_opp11: opp-1920000000 { << 559 opp-hz = /bits/ 64 <19 << 560 opp-peak-kBps = <62200 << 561 }; << 562 << 563 cpu7_opp12: opp-2016000000 { << 564 opp-hz = /bits/ 64 <20 << 565 opp-peak-kBps = <72160 << 566 }; << 567 << 568 cpu7_opp13: opp-2131200000 { << 569 opp-hz = /bits/ 64 <21 << 570 opp-peak-kBps = <83680 << 571 }; << 572 << 573 cpu7_opp14: opp-2227200000 { << 574 opp-hz = /bits/ 64 <22 << 575 opp-peak-kBps = <83680 << 576 }; << 577 << 578 cpu7_opp15: opp-2323200000 { << 579 opp-hz = /bits/ 64 <23 << 580 opp-peak-kBps = <83680 << 581 }; << 582 << 583 cpu7_opp16: opp-2419200000 { << 584 opp-hz = /bits/ 64 <24 << 585 opp-peak-kBps = <83680 << 586 }; << 587 << 588 cpu7_opp17: opp-2534400000 { << 589 opp-hz = /bits/ 64 <25 << 590 opp-peak-kBps = <83680 << 591 }; << 592 << 593 cpu7_opp18: opp-2649600000 { << 594 opp-hz = /bits/ 64 <26 << 595 opp-peak-kBps = <83680 << 596 }; << 597 << 598 cpu7_opp19: opp-2745600000 { << 599 opp-hz = /bits/ 64 <27 << 600 opp-peak-kBps = <83680 << 601 }; << 602 << 603 cpu7_opp20: opp-2841600000 { << 604 opp-hz = /bits/ 64 <28 << 605 opp-peak-kBps = <83680 << 606 }; << 607 }; << 608 << 609 firmware { 267 firmware { 610 scm: scm { 268 scm: scm { 611 compatible = "qcom,scm 269 compatible = "qcom,scm-sm8150", "qcom,scm"; 612 #reset-cells = <1>; 270 #reset-cells = <1>; 613 }; 271 }; 614 }; 272 }; 615 273 >> 274 tcsr_mutex: hwlock { >> 275 compatible = "qcom,tcsr-mutex"; >> 276 syscon = <&tcsr_mutex_regs 0 0x1000>; >> 277 #hwlock-cells = <1>; >> 278 }; >> 279 616 memory@80000000 { 280 memory@80000000 { 617 device_type = "memory"; 281 device_type = "memory"; 618 /* We expect the bootloader to 282 /* We expect the bootloader to fill in the size */ 619 reg = <0x0 0x80000000 0x0 0x0> 283 reg = <0x0 0x80000000 0x0 0x0>; 620 }; 284 }; 621 285 622 pmu { 286 pmu { 623 compatible = "arm,armv8-pmuv3" 287 compatible = "arm,armv8-pmuv3"; 624 interrupts = <GIC_PPI 5 IRQ_TY 288 interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_HIGH>; 625 }; 289 }; 626 290 627 psci { 291 psci { 628 compatible = "arm,psci-1.0"; 292 compatible = "arm,psci-1.0"; 629 method = "smc"; 293 method = "smc"; 630 294 631 CPU_PD0: power-domain-cpu0 { !! 295 CPU_PD0: cpu0 { 632 #power-domain-cells = 296 #power-domain-cells = <0>; 633 power-domains = <&CLUS 297 power-domains = <&CLUSTER_PD>; 634 domain-idle-states = < 298 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 635 }; 299 }; 636 300 637 CPU_PD1: power-domain-cpu1 { !! 301 CPU_PD1: cpu1 { 638 #power-domain-cells = 302 #power-domain-cells = <0>; 639 power-domains = <&CLUS 303 power-domains = <&CLUSTER_PD>; 640 domain-idle-states = < 304 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 641 }; 305 }; 642 306 643 CPU_PD2: power-domain-cpu2 { !! 307 CPU_PD2: cpu2 { 644 #power-domain-cells = 308 #power-domain-cells = <0>; 645 power-domains = <&CLUS 309 power-domains = <&CLUSTER_PD>; 646 domain-idle-states = < 310 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 647 }; 311 }; 648 312 649 CPU_PD3: power-domain-cpu3 { !! 313 CPU_PD3: cpu3 { 650 #power-domain-cells = 314 #power-domain-cells = <0>; 651 power-domains = <&CLUS 315 power-domains = <&CLUSTER_PD>; 652 domain-idle-states = < 316 domain-idle-states = <&LITTLE_CPU_SLEEP_0>; 653 }; 317 }; 654 318 655 CPU_PD4: power-domain-cpu4 { !! 319 CPU_PD4: cpu4 { 656 #power-domain-cells = 320 #power-domain-cells = <0>; 657 power-domains = <&CLUS 321 power-domains = <&CLUSTER_PD>; 658 domain-idle-states = < 322 domain-idle-states = <&BIG_CPU_SLEEP_0>; 659 }; 323 }; 660 324 661 CPU_PD5: power-domain-cpu5 { !! 325 CPU_PD5: cpu5 { 662 #power-domain-cells = 326 #power-domain-cells = <0>; 663 power-domains = <&CLUS 327 power-domains = <&CLUSTER_PD>; 664 domain-idle-states = < 328 domain-idle-states = <&BIG_CPU_SLEEP_0>; 665 }; 329 }; 666 330 667 CPU_PD6: power-domain-cpu6 { !! 331 CPU_PD6: cpu6 { 668 #power-domain-cells = 332 #power-domain-cells = <0>; 669 power-domains = <&CLUS 333 power-domains = <&CLUSTER_PD>; 670 domain-idle-states = < 334 domain-idle-states = <&BIG_CPU_SLEEP_0>; 671 }; 335 }; 672 336 673 CPU_PD7: power-domain-cpu7 { !! 337 CPU_PD7: cpu7 { 674 #power-domain-cells = 338 #power-domain-cells = <0>; 675 power-domains = <&CLUS 339 power-domains = <&CLUSTER_PD>; 676 domain-idle-states = < 340 domain-idle-states = <&BIG_CPU_SLEEP_0>; 677 }; 341 }; 678 342 679 CLUSTER_PD: power-domain-cpu-c !! 343 CLUSTER_PD: cpu-cluster0 { 680 #power-domain-cells = 344 #power-domain-cells = <0>; 681 domain-idle-states = < 345 domain-idle-states = <&CLUSTER_SLEEP_0>; 682 }; 346 }; 683 }; 347 }; 684 348 685 reserved-memory { 349 reserved-memory { 686 #address-cells = <2>; 350 #address-cells = <2>; 687 #size-cells = <2>; 351 #size-cells = <2>; 688 ranges; 352 ranges; 689 353 690 hyp_mem: memory@85700000 { 354 hyp_mem: memory@85700000 { 691 reg = <0x0 0x85700000 355 reg = <0x0 0x85700000 0x0 0x600000>; 692 no-map; 356 no-map; 693 }; 357 }; 694 358 695 xbl_mem: memory@85d00000 { 359 xbl_mem: memory@85d00000 { 696 reg = <0x0 0x85d00000 360 reg = <0x0 0x85d00000 0x0 0x140000>; 697 no-map; 361 no-map; 698 }; 362 }; 699 363 700 aop_mem: memory@85f00000 { 364 aop_mem: memory@85f00000 { 701 reg = <0x0 0x85f00000 365 reg = <0x0 0x85f00000 0x0 0x20000>; 702 no-map; 366 no-map; 703 }; 367 }; 704 368 705 aop_cmd_db: memory@85f20000 { 369 aop_cmd_db: memory@85f20000 { 706 compatible = "qcom,cmd 370 compatible = "qcom,cmd-db"; 707 reg = <0x0 0x85f20000 371 reg = <0x0 0x85f20000 0x0 0x20000>; 708 no-map; 372 no-map; 709 }; 373 }; 710 374 711 smem_mem: memory@86000000 { 375 smem_mem: memory@86000000 { 712 reg = <0x0 0x86000000 376 reg = <0x0 0x86000000 0x0 0x200000>; 713 no-map; 377 no-map; 714 }; 378 }; 715 379 716 tz_mem: memory@86200000 { 380 tz_mem: memory@86200000 { 717 reg = <0x0 0x86200000 381 reg = <0x0 0x86200000 0x0 0x3900000>; 718 no-map; 382 no-map; 719 }; 383 }; 720 384 721 rmtfs_mem: memory@89b00000 { 385 rmtfs_mem: memory@89b00000 { 722 compatible = "qcom,rmt 386 compatible = "qcom,rmtfs-mem"; 723 reg = <0x0 0x89b00000 387 reg = <0x0 0x89b00000 0x0 0x200000>; 724 no-map; 388 no-map; 725 389 726 qcom,client-id = <1>; 390 qcom,client-id = <1>; 727 qcom,vmid = <QCOM_SCM_ !! 391 qcom,vmid = <15>; 728 }; 392 }; 729 393 730 camera_mem: memory@8b700000 { 394 camera_mem: memory@8b700000 { 731 reg = <0x0 0x8b700000 395 reg = <0x0 0x8b700000 0x0 0x500000>; 732 no-map; 396 no-map; 733 }; 397 }; 734 398 735 wlan_mem: memory@8bc00000 { 399 wlan_mem: memory@8bc00000 { 736 reg = <0x0 0x8bc00000 400 reg = <0x0 0x8bc00000 0x0 0x180000>; 737 no-map; 401 no-map; 738 }; 402 }; 739 403 740 npu_mem: memory@8bd80000 { 404 npu_mem: memory@8bd80000 { 741 reg = <0x0 0x8bd80000 405 reg = <0x0 0x8bd80000 0x0 0x80000>; 742 no-map; 406 no-map; 743 }; 407 }; 744 408 745 adsp_mem: memory@8be00000 { 409 adsp_mem: memory@8be00000 { 746 reg = <0x0 0x8be00000 410 reg = <0x0 0x8be00000 0x0 0x1a00000>; 747 no-map; 411 no-map; 748 }; 412 }; 749 413 750 mpss_mem: memory@8d800000 { 414 mpss_mem: memory@8d800000 { 751 reg = <0x0 0x8d800000 415 reg = <0x0 0x8d800000 0x0 0x9600000>; 752 no-map; 416 no-map; 753 }; 417 }; 754 418 755 venus_mem: memory@96e00000 { 419 venus_mem: memory@96e00000 { 756 reg = <0x0 0x96e00000 420 reg = <0x0 0x96e00000 0x0 0x500000>; 757 no-map; 421 no-map; 758 }; 422 }; 759 423 760 slpi_mem: memory@97300000 { 424 slpi_mem: memory@97300000 { 761 reg = <0x0 0x97300000 425 reg = <0x0 0x97300000 0x0 0x1400000>; 762 no-map; 426 no-map; 763 }; 427 }; 764 428 765 ipa_fw_mem: memory@98700000 { 429 ipa_fw_mem: memory@98700000 { 766 reg = <0x0 0x98700000 430 reg = <0x0 0x98700000 0x0 0x10000>; 767 no-map; 431 no-map; 768 }; 432 }; 769 433 770 ipa_gsi_mem: memory@98710000 { 434 ipa_gsi_mem: memory@98710000 { 771 reg = <0x0 0x98710000 435 reg = <0x0 0x98710000 0x0 0x5000>; 772 no-map; 436 no-map; 773 }; 437 }; 774 438 775 gpu_mem: memory@98715000 { 439 gpu_mem: memory@98715000 { 776 reg = <0x0 0x98715000 440 reg = <0x0 0x98715000 0x0 0x2000>; 777 no-map; 441 no-map; 778 }; 442 }; 779 443 780 spss_mem: memory@98800000 { 444 spss_mem: memory@98800000 { 781 reg = <0x0 0x98800000 445 reg = <0x0 0x98800000 0x0 0x100000>; 782 no-map; 446 no-map; 783 }; 447 }; 784 448 785 cdsp_mem: memory@98900000 { 449 cdsp_mem: memory@98900000 { 786 reg = <0x0 0x98900000 450 reg = <0x0 0x98900000 0x0 0x1400000>; 787 no-map; 451 no-map; 788 }; 452 }; 789 453 790 qseecom_mem: memory@9e400000 { 454 qseecom_mem: memory@9e400000 { 791 reg = <0x0 0x9e400000 455 reg = <0x0 0x9e400000 0x0 0x1400000>; 792 no-map; 456 no-map; 793 }; 457 }; 794 }; 458 }; 795 459 796 smem { 460 smem { 797 compatible = "qcom,smem"; 461 compatible = "qcom,smem"; 798 memory-region = <&smem_mem>; 462 memory-region = <&smem_mem>; 799 hwlocks = <&tcsr_mutex 3>; 463 hwlocks = <&tcsr_mutex 3>; 800 }; 464 }; 801 465 802 smp2p-cdsp { 466 smp2p-cdsp { 803 compatible = "qcom,smp2p"; 467 compatible = "qcom,smp2p"; 804 qcom,smem = <94>, <432>; 468 qcom,smem = <94>, <432>; 805 469 806 interrupts = <GIC_SPI 576 IRQ_ 470 interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>; 807 471 808 mboxes = <&apss_shared 6>; 472 mboxes = <&apss_shared 6>; 809 473 810 qcom,local-pid = <0>; 474 qcom,local-pid = <0>; 811 qcom,remote-pid = <5>; 475 qcom,remote-pid = <5>; 812 476 813 cdsp_smp2p_out: master-kernel 477 cdsp_smp2p_out: master-kernel { 814 qcom,entry-name = "mas 478 qcom,entry-name = "master-kernel"; 815 #qcom,smem-state-cells 479 #qcom,smem-state-cells = <1>; 816 }; 480 }; 817 481 818 cdsp_smp2p_in: slave-kernel { 482 cdsp_smp2p_in: slave-kernel { 819 qcom,entry-name = "sla 483 qcom,entry-name = "slave-kernel"; 820 484 821 interrupt-controller; 485 interrupt-controller; 822 #interrupt-cells = <2> 486 #interrupt-cells = <2>; 823 }; 487 }; 824 }; 488 }; 825 489 826 smp2p-lpass { 490 smp2p-lpass { 827 compatible = "qcom,smp2p"; 491 compatible = "qcom,smp2p"; 828 qcom,smem = <443>, <429>; 492 qcom,smem = <443>, <429>; 829 493 830 interrupts = <GIC_SPI 158 IRQ_ 494 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; 831 495 832 mboxes = <&apss_shared 10>; 496 mboxes = <&apss_shared 10>; 833 497 834 qcom,local-pid = <0>; 498 qcom,local-pid = <0>; 835 qcom,remote-pid = <2>; 499 qcom,remote-pid = <2>; 836 500 837 adsp_smp2p_out: master-kernel 501 adsp_smp2p_out: master-kernel { 838 qcom,entry-name = "mas 502 qcom,entry-name = "master-kernel"; 839 #qcom,smem-state-cells 503 #qcom,smem-state-cells = <1>; 840 }; 504 }; 841 505 842 adsp_smp2p_in: slave-kernel { 506 adsp_smp2p_in: slave-kernel { 843 qcom,entry-name = "sla 507 qcom,entry-name = "slave-kernel"; 844 508 845 interrupt-controller; 509 interrupt-controller; 846 #interrupt-cells = <2> 510 #interrupt-cells = <2>; 847 }; 511 }; 848 }; 512 }; 849 513 850 smp2p-mpss { 514 smp2p-mpss { 851 compatible = "qcom,smp2p"; 515 compatible = "qcom,smp2p"; 852 qcom,smem = <435>, <428>; 516 qcom,smem = <435>, <428>; 853 517 854 interrupts = <GIC_SPI 451 IRQ_ 518 interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>; 855 519 856 mboxes = <&apss_shared 14>; 520 mboxes = <&apss_shared 14>; 857 521 858 qcom,local-pid = <0>; 522 qcom,local-pid = <0>; 859 qcom,remote-pid = <1>; 523 qcom,remote-pid = <1>; 860 524 861 modem_smp2p_out: master-kernel 525 modem_smp2p_out: master-kernel { 862 qcom,entry-name = "mas 526 qcom,entry-name = "master-kernel"; 863 #qcom,smem-state-cells 527 #qcom,smem-state-cells = <1>; 864 }; 528 }; 865 529 866 modem_smp2p_in: slave-kernel { 530 modem_smp2p_in: slave-kernel { 867 qcom,entry-name = "sla 531 qcom,entry-name = "slave-kernel"; 868 532 869 interrupt-controller; 533 interrupt-controller; 870 #interrupt-cells = <2> 534 #interrupt-cells = <2>; 871 }; 535 }; 872 }; 536 }; 873 537 874 smp2p-slpi { 538 smp2p-slpi { 875 compatible = "qcom,smp2p"; 539 compatible = "qcom,smp2p"; 876 qcom,smem = <481>, <430>; 540 qcom,smem = <481>, <430>; 877 541 878 interrupts = <GIC_SPI 172 IRQ_ 542 interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>; 879 543 880 mboxes = <&apss_shared 26>; 544 mboxes = <&apss_shared 26>; 881 545 882 qcom,local-pid = <0>; 546 qcom,local-pid = <0>; 883 qcom,remote-pid = <3>; 547 qcom,remote-pid = <3>; 884 548 885 slpi_smp2p_out: master-kernel 549 slpi_smp2p_out: master-kernel { 886 qcom,entry-name = "mas 550 qcom,entry-name = "master-kernel"; 887 #qcom,smem-state-cells 551 #qcom,smem-state-cells = <1>; 888 }; 552 }; 889 553 890 slpi_smp2p_in: slave-kernel { 554 slpi_smp2p_in: slave-kernel { 891 qcom,entry-name = "sla 555 qcom,entry-name = "slave-kernel"; 892 556 893 interrupt-controller; 557 interrupt-controller; 894 #interrupt-cells = <2> 558 #interrupt-cells = <2>; 895 }; 559 }; 896 }; 560 }; 897 561 898 soc: soc@0 { 562 soc: soc@0 { 899 #address-cells = <2>; 563 #address-cells = <2>; 900 #size-cells = <2>; 564 #size-cells = <2>; 901 ranges = <0 0 0 0 0x10 0>; 565 ranges = <0 0 0 0 0x10 0>; 902 dma-ranges = <0 0 0 0 0x10 0>; 566 dma-ranges = <0 0 0 0 0x10 0>; 903 compatible = "simple-bus"; 567 compatible = "simple-bus"; 904 568 905 gcc: clock-controller@100000 { 569 gcc: clock-controller@100000 { 906 compatible = "qcom,gcc 570 compatible = "qcom,gcc-sm8150"; 907 reg = <0x0 0x00100000 571 reg = <0x0 0x00100000 0x0 0x1f0000>; 908 #clock-cells = <1>; 572 #clock-cells = <1>; 909 #reset-cells = <1>; 573 #reset-cells = <1>; 910 #power-domain-cells = 574 #power-domain-cells = <1>; 911 clock-names = "bi_tcxo 575 clock-names = "bi_tcxo", 912 "sleep_c 576 "sleep_clk"; 913 clocks = <&rpmhcc RPMH 577 clocks = <&rpmhcc RPMH_CXO_CLK>, 914 <&sleep_clk>; 578 <&sleep_clk>; 915 }; 579 }; 916 580 917 gpi_dma0: dma-controller@80000 581 gpi_dma0: dma-controller@800000 { 918 compatible = "qcom,sm8 !! 582 compatible = "qcom,sm8150-gpi-dma"; 919 reg = <0 0x00800000 0 !! 583 reg = <0 0x800000 0 0x60000>; 920 interrupts = <GIC_SPI 584 interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 921 <GIC_SPI 585 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 922 <GIC_SPI 586 <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 923 <GIC_SPI 587 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 924 <GIC_SPI 588 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 925 <GIC_SPI 589 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 926 <GIC_SPI 590 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 927 <GIC_SPI 591 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 928 <GIC_SPI 592 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 929 <GIC_SPI 593 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 930 <GIC_SPI 594 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 931 <GIC_SPI 595 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 932 <GIC_SPI 596 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>; 933 dma-channels = <13>; 597 dma-channels = <13>; 934 dma-channel-mask = <0x 598 dma-channel-mask = <0xfa>; 935 iommus = <&apps_smmu 0 599 iommus = <&apps_smmu 0x00d6 0x0>; 936 #dma-cells = <3>; 600 #dma-cells = <3>; 937 status = "disabled"; 601 status = "disabled"; 938 }; 602 }; 939 603 940 ethernet: ethernet@20000 { << 941 compatible = "qcom,sm8 << 942 reg = <0x0 0x00020000 << 943 <0x0 0x00036000 << 944 reg-names = "stmmaceth << 945 clock-names = "stmmace << 946 clocks = <&gcc GCC_EMA << 947 <&gcc GCC_EMAC << 948 <&gcc GCC_EMAC << 949 <&gcc GCC_EMAC << 950 interrupts = <GIC_SPI << 951 <GIC_SPI << 952 interrupt-names = "mac << 953 << 954 power-domains = <&gcc << 955 resets = <&gcc GCC_EMA << 956 << 957 iommus = <&apps_smmu 0 << 958 << 959 snps,tso; << 960 rx-fifo-depth = <4096> << 961 tx-fifo-depth = <4096> << 962 << 963 status = "disabled"; << 964 }; << 965 << 966 qfprom: efuse@784000 { << 967 compatible = "qcom,sm8 << 968 reg = <0 0x00784000 0 << 969 #address-cells = <1>; << 970 #size-cells = <1>; << 971 << 972 gpu_speed_bin: gpu-spe << 973 reg = <0x133 0 << 974 bits = <5 3>; << 975 }; << 976 }; << 977 << 978 qupv3_id_0: geniqup@8c0000 { 604 qupv3_id_0: geniqup@8c0000 { 979 compatible = "qcom,gen 605 compatible = "qcom,geni-se-qup"; 980 reg = <0x0 0x008c0000 606 reg = <0x0 0x008c0000 0x0 0x6000>; 981 clock-names = "m-ahb", 607 clock-names = "m-ahb", "s-ahb"; 982 clocks = <&gcc GCC_QUP 608 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 983 <&gcc GCC_QUP 609 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 984 iommus = <&apps_smmu 0 610 iommus = <&apps_smmu 0xc3 0x0>; 985 #address-cells = <2>; 611 #address-cells = <2>; 986 #size-cells = <2>; 612 #size-cells = <2>; 987 ranges; 613 ranges; 988 status = "disabled"; 614 status = "disabled"; 989 615 990 i2c0: i2c@880000 { 616 i2c0: i2c@880000 { 991 compatible = " 617 compatible = "qcom,geni-i2c"; 992 reg = <0 0x008 618 reg = <0 0x00880000 0 0x4000>; 993 clock-names = 619 clock-names = "se"; 994 clocks = <&gcc 620 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 995 dmas = <&gpi_d << 996 <&gpi_d << 997 dma-names = "t << 998 pinctrl-names 621 pinctrl-names = "default"; 999 pinctrl-0 = <& 622 pinctrl-0 = <&qup_i2c0_default>; 1000 interrupts = 623 interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; 1001 #address-cell 624 #address-cells = <1>; 1002 #size-cells = 625 #size-cells = <0>; 1003 status = "dis 626 status = "disabled"; 1004 }; 627 }; 1005 628 1006 spi0: spi@880000 { << 1007 compatible = << 1008 reg = <0 0x00 << 1009 reg-names = " << 1010 clock-names = << 1011 clocks = <&gc << 1012 dmas = <&gpi_ << 1013 <&gpi_ << 1014 dma-names = " << 1015 pinctrl-names << 1016 pinctrl-0 = < << 1017 interrupts = << 1018 spi-max-frequ << 1019 #address-cell << 1020 #size-cells = << 1021 status = "dis << 1022 }; << 1023 << 1024 i2c1: i2c@884000 { 629 i2c1: i2c@884000 { 1025 compatible = 630 compatible = "qcom,geni-i2c"; 1026 reg = <0 0x00 631 reg = <0 0x00884000 0 0x4000>; 1027 clock-names = 632 clock-names = "se"; 1028 clocks = <&gc 633 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1029 dmas = <&gpi_ << 1030 <&gpi_ << 1031 dma-names = " << 1032 pinctrl-names 634 pinctrl-names = "default"; 1033 pinctrl-0 = < 635 pinctrl-0 = <&qup_i2c1_default>; 1034 interrupts = 636 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; 1035 #address-cell 637 #address-cells = <1>; 1036 #size-cells = 638 #size-cells = <0>; 1037 status = "dis 639 status = "disabled"; 1038 }; 640 }; 1039 641 1040 spi1: spi@884000 { << 1041 compatible = << 1042 reg = <0 0x00 << 1043 reg-names = " << 1044 clock-names = << 1045 clocks = <&gc << 1046 dmas = <&gpi_ << 1047 <&gpi_ << 1048 dma-names = " << 1049 pinctrl-names << 1050 pinctrl-0 = < << 1051 interrupts = << 1052 spi-max-frequ << 1053 #address-cell << 1054 #size-cells = << 1055 status = "dis << 1056 }; << 1057 << 1058 i2c2: i2c@888000 { 642 i2c2: i2c@888000 { 1059 compatible = 643 compatible = "qcom,geni-i2c"; 1060 reg = <0 0x00 644 reg = <0 0x00888000 0 0x4000>; 1061 clock-names = 645 clock-names = "se"; 1062 clocks = <&gc 646 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1063 dmas = <&gpi_ << 1064 <&gpi_ << 1065 dma-names = " << 1066 pinctrl-names 647 pinctrl-names = "default"; 1067 pinctrl-0 = < 648 pinctrl-0 = <&qup_i2c2_default>; 1068 interrupts = 649 interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; 1069 #address-cell 650 #address-cells = <1>; 1070 #size-cells = 651 #size-cells = <0>; 1071 status = "dis 652 status = "disabled"; 1072 }; 653 }; 1073 654 1074 spi2: spi@888000 { << 1075 compatible = << 1076 reg = <0 0x00 << 1077 reg-names = " << 1078 clock-names = << 1079 clocks = <&gc << 1080 dmas = <&gpi_ << 1081 <&gpi_ << 1082 dma-names = " << 1083 pinctrl-names << 1084 pinctrl-0 = < << 1085 interrupts = << 1086 spi-max-frequ << 1087 #address-cell << 1088 #size-cells = << 1089 status = "dis << 1090 }; << 1091 << 1092 i2c3: i2c@88c000 { 655 i2c3: i2c@88c000 { 1093 compatible = 656 compatible = "qcom,geni-i2c"; 1094 reg = <0 0x00 657 reg = <0 0x0088c000 0 0x4000>; 1095 clock-names = 658 clock-names = "se"; 1096 clocks = <&gc 659 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1097 dmas = <&gpi_ << 1098 <&gpi_ << 1099 dma-names = " << 1100 pinctrl-names 660 pinctrl-names = "default"; 1101 pinctrl-0 = < 661 pinctrl-0 = <&qup_i2c3_default>; 1102 interrupts = 662 interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>; 1103 #address-cell 663 #address-cells = <1>; 1104 #size-cells = 664 #size-cells = <0>; 1105 status = "dis 665 status = "disabled"; 1106 }; 666 }; 1107 667 1108 spi3: spi@88c000 { << 1109 compatible = << 1110 reg = <0 0x00 << 1111 reg-names = " << 1112 clock-names = << 1113 clocks = <&gc << 1114 dmas = <&gpi_ << 1115 <&gpi_ << 1116 dma-names = " << 1117 pinctrl-names << 1118 pinctrl-0 = < << 1119 interrupts = << 1120 spi-max-frequ << 1121 #address-cell << 1122 #size-cells = << 1123 status = "dis << 1124 }; << 1125 << 1126 i2c4: i2c@890000 { 668 i2c4: i2c@890000 { 1127 compatible = 669 compatible = "qcom,geni-i2c"; 1128 reg = <0 0x00 670 reg = <0 0x00890000 0 0x4000>; 1129 clock-names = 671 clock-names = "se"; 1130 clocks = <&gc 672 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1131 dmas = <&gpi_ << 1132 <&gpi_ << 1133 dma-names = " << 1134 pinctrl-names 673 pinctrl-names = "default"; 1135 pinctrl-0 = < 674 pinctrl-0 = <&qup_i2c4_default>; 1136 interrupts = 675 interrupts = <GIC_SPI 605 IRQ_TYPE_LEVEL_HIGH>; 1137 #address-cell 676 #address-cells = <1>; 1138 #size-cells = 677 #size-cells = <0>; 1139 status = "dis 678 status = "disabled"; 1140 }; 679 }; 1141 680 1142 spi4: spi@890000 { << 1143 compatible = << 1144 reg = <0 0x00 << 1145 reg-names = " << 1146 clock-names = << 1147 clocks = <&gc << 1148 dmas = <&gpi_ << 1149 <&gpi_ << 1150 dma-names = " << 1151 pinctrl-names << 1152 pinctrl-0 = < << 1153 interrupts = << 1154 spi-max-frequ << 1155 #address-cell << 1156 #size-cells = << 1157 status = "dis << 1158 }; << 1159 << 1160 i2c5: i2c@894000 { 681 i2c5: i2c@894000 { 1161 compatible = 682 compatible = "qcom,geni-i2c"; 1162 reg = <0 0x00 683 reg = <0 0x00894000 0 0x4000>; 1163 clock-names = 684 clock-names = "se"; 1164 clocks = <&gc 685 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1165 dmas = <&gpi_ << 1166 <&gpi_ << 1167 dma-names = " << 1168 pinctrl-names 686 pinctrl-names = "default"; 1169 pinctrl-0 = < 687 pinctrl-0 = <&qup_i2c5_default>; 1170 interrupts = 688 interrupts = <GIC_SPI 606 IRQ_TYPE_LEVEL_HIGH>; 1171 #address-cell 689 #address-cells = <1>; 1172 #size-cells = 690 #size-cells = <0>; 1173 status = "dis 691 status = "disabled"; 1174 }; 692 }; 1175 693 1176 spi5: spi@894000 { << 1177 compatible = << 1178 reg = <0 0x00 << 1179 reg-names = " << 1180 clock-names = << 1181 clocks = <&gc << 1182 dmas = <&gpi_ << 1183 <&gpi_ << 1184 dma-names = " << 1185 pinctrl-names << 1186 pinctrl-0 = < << 1187 interrupts = << 1188 spi-max-frequ << 1189 #address-cell << 1190 #size-cells = << 1191 status = "dis << 1192 }; << 1193 << 1194 i2c6: i2c@898000 { 694 i2c6: i2c@898000 { 1195 compatible = 695 compatible = "qcom,geni-i2c"; 1196 reg = <0 0x00 696 reg = <0 0x00898000 0 0x4000>; 1197 clock-names = 697 clock-names = "se"; 1198 clocks = <&gc 698 clocks = <&gcc GCC_QUPV3_WRAP0_S6_CLK>; 1199 dmas = <&gpi_ << 1200 <&gpi_ << 1201 dma-names = " << 1202 pinctrl-names 699 pinctrl-names = "default"; 1203 pinctrl-0 = < 700 pinctrl-0 = <&qup_i2c6_default>; 1204 interrupts = 701 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1205 #address-cell 702 #address-cells = <1>; 1206 #size-cells = 703 #size-cells = <0>; 1207 status = "dis 704 status = "disabled"; 1208 }; 705 }; 1209 706 1210 spi6: spi@898000 { << 1211 compatible = << 1212 reg = <0 0x00 << 1213 reg-names = " << 1214 clock-names = << 1215 clocks = <&gc << 1216 dmas = <&gpi_ << 1217 <&gpi_ << 1218 dma-names = " << 1219 pinctrl-names << 1220 pinctrl-0 = < << 1221 interrupts = << 1222 spi-max-frequ << 1223 #address-cell << 1224 #size-cells = << 1225 status = "dis << 1226 }; << 1227 << 1228 i2c7: i2c@89c000 { 707 i2c7: i2c@89c000 { 1229 compatible = 708 compatible = "qcom,geni-i2c"; 1230 reg = <0 0x00 709 reg = <0 0x0089c000 0 0x4000>; 1231 clock-names = 710 clock-names = "se"; 1232 clocks = <&gc 711 clocks = <&gcc GCC_QUPV3_WRAP0_S7_CLK>; 1233 dmas = <&gpi_ << 1234 <&gpi_ << 1235 dma-names = " << 1236 pinctrl-names 712 pinctrl-names = "default"; 1237 pinctrl-0 = < 713 pinctrl-0 = <&qup_i2c7_default>; 1238 interrupts = !! 714 interrupts = <GIC_SPI 607 IRQ_TYPE_LEVEL_HIGH>; 1239 #address-cell 715 #address-cells = <1>; 1240 #size-cells = 716 #size-cells = <0>; 1241 status = "dis 717 status = "disabled"; 1242 }; 718 }; 1243 719 1244 spi7: spi@89c000 { << 1245 compatible = << 1246 reg = <0 0x00 << 1247 reg-names = " << 1248 clock-names = << 1249 clocks = <&gc << 1250 dmas = <&gpi_ << 1251 <&gpi_ << 1252 dma-names = " << 1253 pinctrl-names << 1254 pinctrl-0 = < << 1255 interrupts = << 1256 spi-max-frequ << 1257 #address-cell << 1258 #size-cells = << 1259 status = "dis << 1260 }; << 1261 }; 720 }; 1262 721 1263 gpi_dma1: dma-controller@a000 722 gpi_dma1: dma-controller@a00000 { 1264 compatible = "qcom,sm !! 723 compatible = "qcom,sm8150-gpi-dma"; 1265 reg = <0 0x00a00000 0 !! 724 reg = <0 0xa00000 0 0x60000>; 1266 interrupts = <GIC_SPI 725 interrupts = <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 1267 <GIC_SPI 726 <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 1268 <GIC_SPI 727 <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 1269 <GIC_SPI 728 <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 1270 <GIC_SPI 729 <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 1271 <GIC_SPI 730 <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 1272 <GIC_SPI 731 <GIC_SPI 293 IRQ_TYPE_LEVEL_HIGH>, 1273 <GIC_SPI 732 <GIC_SPI 294 IRQ_TYPE_LEVEL_HIGH>, 1274 <GIC_SPI 733 <GIC_SPI 295 IRQ_TYPE_LEVEL_HIGH>, 1275 <GIC_SPI 734 <GIC_SPI 296 IRQ_TYPE_LEVEL_HIGH>, 1276 <GIC_SPI 735 <GIC_SPI 297 IRQ_TYPE_LEVEL_HIGH>, 1277 <GIC_SPI 736 <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>, 1278 <GIC_SPI 737 <GIC_SPI 299 IRQ_TYPE_LEVEL_HIGH>; 1279 dma-channels = <13>; 738 dma-channels = <13>; 1280 dma-channel-mask = <0 739 dma-channel-mask = <0xfa>; 1281 iommus = <&apps_smmu 740 iommus = <&apps_smmu 0x0616 0x0>; 1282 #dma-cells = <3>; 741 #dma-cells = <3>; 1283 status = "disabled"; 742 status = "disabled"; 1284 }; 743 }; 1285 744 1286 qupv3_id_1: geniqup@ac0000 { 745 qupv3_id_1: geniqup@ac0000 { 1287 compatible = "qcom,ge 746 compatible = "qcom,geni-se-qup"; 1288 reg = <0x0 0x00ac0000 747 reg = <0x0 0x00ac0000 0x0 0x6000>; 1289 clock-names = "m-ahb" 748 clock-names = "m-ahb", "s-ahb"; 1290 clocks = <&gcc GCC_QU 749 clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, 1291 <&gcc GCC_QU 750 <&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; 1292 iommus = <&apps_smmu 751 iommus = <&apps_smmu 0x603 0x0>; 1293 #address-cells = <2>; 752 #address-cells = <2>; 1294 #size-cells = <2>; 753 #size-cells = <2>; 1295 ranges; 754 ranges; 1296 status = "disabled"; 755 status = "disabled"; 1297 756 1298 i2c8: i2c@a80000 { 757 i2c8: i2c@a80000 { 1299 compatible = 758 compatible = "qcom,geni-i2c"; 1300 reg = <0 0x00 759 reg = <0 0x00a80000 0 0x4000>; 1301 clock-names = 760 clock-names = "se"; 1302 clocks = <&gc 761 clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; 1303 dmas = <&gpi_ << 1304 <&gpi_ << 1305 dma-names = " << 1306 pinctrl-names 762 pinctrl-names = "default"; 1307 pinctrl-0 = < 763 pinctrl-0 = <&qup_i2c8_default>; 1308 interrupts = 764 interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 1309 #address-cell 765 #address-cells = <1>; 1310 #size-cells = 766 #size-cells = <0>; 1311 status = "dis 767 status = "disabled"; 1312 }; 768 }; 1313 769 1314 spi8: spi@a80000 { << 1315 compatible = << 1316 reg = <0 0x00 << 1317 reg-names = " << 1318 clock-names = << 1319 clocks = <&gc << 1320 dmas = <&gpi_ << 1321 <&gpi_ << 1322 dma-names = " << 1323 pinctrl-names << 1324 pinctrl-0 = < << 1325 interrupts = << 1326 spi-max-frequ << 1327 #address-cell << 1328 #size-cells = << 1329 status = "dis << 1330 }; << 1331 << 1332 i2c9: i2c@a84000 { 770 i2c9: i2c@a84000 { 1333 compatible = 771 compatible = "qcom,geni-i2c"; 1334 reg = <0 0x00 772 reg = <0 0x00a84000 0 0x4000>; 1335 clock-names = 773 clock-names = "se"; 1336 clocks = <&gc 774 clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; 1337 dmas = <&gpi_ << 1338 <&gpi_ << 1339 dma-names = " << 1340 pinctrl-names 775 pinctrl-names = "default"; 1341 pinctrl-0 = < 776 pinctrl-0 = <&qup_i2c9_default>; 1342 interrupts = 777 interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; 1343 #address-cell 778 #address-cells = <1>; 1344 #size-cells = 779 #size-cells = <0>; 1345 status = "dis 780 status = "disabled"; 1346 }; 781 }; 1347 782 1348 spi9: spi@a84000 { << 1349 compatible = << 1350 reg = <0 0x00 << 1351 reg-names = " << 1352 clock-names = << 1353 clocks = <&gc << 1354 dmas = <&gpi_ << 1355 <&gpi_ << 1356 dma-names = " << 1357 pinctrl-names << 1358 pinctrl-0 = < << 1359 interrupts = << 1360 spi-max-frequ << 1361 #address-cell << 1362 #size-cells = << 1363 status = "dis << 1364 }; << 1365 << 1366 uart9: serial@a84000 << 1367 compatible = << 1368 reg = <0x0 0x << 1369 clocks = <&gc << 1370 clock-names = << 1371 pinctrl-0 = < << 1372 pinctrl-names << 1373 interrupts = << 1374 status = "dis << 1375 }; << 1376 << 1377 i2c10: i2c@a88000 { 783 i2c10: i2c@a88000 { 1378 compatible = 784 compatible = "qcom,geni-i2c"; 1379 reg = <0 0x00 785 reg = <0 0x00a88000 0 0x4000>; 1380 clock-names = 786 clock-names = "se"; 1381 clocks = <&gc 787 clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; 1382 dmas = <&gpi_ << 1383 <&gpi_ << 1384 dma-names = " << 1385 pinctrl-names 788 pinctrl-names = "default"; 1386 pinctrl-0 = < 789 pinctrl-0 = <&qup_i2c10_default>; 1387 interrupts = 790 interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 1388 #address-cell 791 #address-cells = <1>; 1389 #size-cells = 792 #size-cells = <0>; 1390 status = "dis 793 status = "disabled"; 1391 }; 794 }; 1392 795 1393 spi10: spi@a88000 { << 1394 compatible = << 1395 reg = <0 0x00 << 1396 reg-names = " << 1397 clock-names = << 1398 clocks = <&gc << 1399 dmas = <&gpi_ << 1400 <&gpi_ << 1401 dma-names = " << 1402 pinctrl-names << 1403 pinctrl-0 = < << 1404 interrupts = << 1405 spi-max-frequ << 1406 #address-cell << 1407 #size-cells = << 1408 status = "dis << 1409 }; << 1410 << 1411 i2c11: i2c@a8c000 { 796 i2c11: i2c@a8c000 { 1412 compatible = 797 compatible = "qcom,geni-i2c"; 1413 reg = <0 0x00 798 reg = <0 0x00a8c000 0 0x4000>; 1414 clock-names = 799 clock-names = "se"; 1415 clocks = <&gc 800 clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; 1416 dmas = <&gpi_ << 1417 <&gpi_ << 1418 dma-names = " << 1419 pinctrl-names 801 pinctrl-names = "default"; 1420 pinctrl-0 = < 802 pinctrl-0 = <&qup_i2c11_default>; 1421 interrupts = 803 interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; 1422 #address-cell 804 #address-cells = <1>; 1423 #size-cells = 805 #size-cells = <0>; 1424 status = "dis 806 status = "disabled"; 1425 }; 807 }; 1426 808 1427 spi11: spi@a8c000 { << 1428 compatible = << 1429 reg = <0 0x00 << 1430 reg-names = " << 1431 clock-names = << 1432 clocks = <&gc << 1433 dmas = <&gpi_ << 1434 <&gpi_ << 1435 dma-names = " << 1436 pinctrl-names << 1437 pinctrl-0 = < << 1438 interrupts = << 1439 spi-max-frequ << 1440 #address-cell << 1441 #size-cells = << 1442 status = "dis << 1443 }; << 1444 << 1445 uart2: serial@a90000 809 uart2: serial@a90000 { 1446 compatible = 810 compatible = "qcom,geni-debug-uart"; 1447 reg = <0x0 0x 811 reg = <0x0 0x00a90000 0x0 0x4000>; 1448 clock-names = 812 clock-names = "se"; 1449 clocks = <&gc 813 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1450 interrupts = 814 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1451 status = "dis 815 status = "disabled"; 1452 }; 816 }; 1453 817 1454 i2c12: i2c@a90000 { 818 i2c12: i2c@a90000 { 1455 compatible = 819 compatible = "qcom,geni-i2c"; 1456 reg = <0 0x00 820 reg = <0 0x00a90000 0 0x4000>; 1457 clock-names = 821 clock-names = "se"; 1458 clocks = <&gc 822 clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; 1459 dmas = <&gpi_ << 1460 <&gpi_ << 1461 dma-names = " << 1462 pinctrl-names 823 pinctrl-names = "default"; 1463 pinctrl-0 = < 824 pinctrl-0 = <&qup_i2c12_default>; 1464 interrupts = 825 interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; 1465 #address-cell 826 #address-cells = <1>; 1466 #size-cells = 827 #size-cells = <0>; 1467 status = "dis 828 status = "disabled"; 1468 }; 829 }; 1469 830 1470 spi12: spi@a90000 { << 1471 compatible = << 1472 reg = <0 0x00 << 1473 reg-names = " << 1474 clock-names = << 1475 clocks = <&gc << 1476 dmas = <&gpi_ << 1477 <&gpi_ << 1478 dma-names = " << 1479 pinctrl-names << 1480 pinctrl-0 = < << 1481 interrupts = << 1482 spi-max-frequ << 1483 #address-cell << 1484 #size-cells = << 1485 status = "dis << 1486 }; << 1487 << 1488 i2c16: i2c@94000 { 831 i2c16: i2c@94000 { 1489 compatible = 832 compatible = "qcom,geni-i2c"; 1490 reg = <0 0x00 !! 833 reg = <0 0x0094000 0 0x4000>; 1491 clock-names = 834 clock-names = "se"; 1492 clocks = <&gc 835 clocks = <&gcc GCC_QUPV3_WRAP1_S5_CLK>; 1493 dmas = <&gpi_ << 1494 <&gpi_ << 1495 dma-names = " << 1496 pinctrl-names 836 pinctrl-names = "default"; 1497 pinctrl-0 = < 837 pinctrl-0 = <&qup_i2c16_default>; 1498 interrupts = 838 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>; 1499 #address-cell 839 #address-cells = <1>; 1500 #size-cells = 840 #size-cells = <0>; 1501 status = "dis 841 status = "disabled"; 1502 }; 842 }; 1503 << 1504 spi16: spi@a94000 { << 1505 compatible = << 1506 reg = <0 0x00 << 1507 reg-names = " << 1508 clock-names = << 1509 clocks = <&gc << 1510 dmas = <&gpi_ << 1511 <&gpi_ << 1512 dma-names = " << 1513 pinctrl-names << 1514 pinctrl-0 = < << 1515 interrupts = << 1516 spi-max-frequ << 1517 #address-cell << 1518 #size-cells = << 1519 status = "dis << 1520 }; << 1521 }; 843 }; 1522 844 1523 gpi_dma2: dma-controller@c000 845 gpi_dma2: dma-controller@c00000 { 1524 compatible = "qcom,sm !! 846 compatible = "qcom,sm8150-gpi-dma"; 1525 reg = <0 0x00c00000 0 !! 847 reg = <0 0xc00000 0 0x60000>; 1526 interrupts = <GIC_SPI 848 interrupts = <GIC_SPI 588 IRQ_TYPE_LEVEL_HIGH>, 1527 <GIC_SPI 849 <GIC_SPI 589 IRQ_TYPE_LEVEL_HIGH>, 1528 <GIC_SPI 850 <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>, 1529 <GIC_SPI 851 <GIC_SPI 591 IRQ_TYPE_LEVEL_HIGH>, 1530 <GIC_SPI 852 <GIC_SPI 592 IRQ_TYPE_LEVEL_HIGH>, 1531 <GIC_SPI 853 <GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>, 1532 <GIC_SPI 854 <GIC_SPI 594 IRQ_TYPE_LEVEL_HIGH>, 1533 <GIC_SPI 855 <GIC_SPI 595 IRQ_TYPE_LEVEL_HIGH>, 1534 <GIC_SPI 856 <GIC_SPI 596 IRQ_TYPE_LEVEL_HIGH>, 1535 <GIC_SPI 857 <GIC_SPI 597 IRQ_TYPE_LEVEL_HIGH>, 1536 <GIC_SPI 858 <GIC_SPI 598 IRQ_TYPE_LEVEL_HIGH>, 1537 <GIC_SPI 859 <GIC_SPI 599 IRQ_TYPE_LEVEL_HIGH>, 1538 <GIC_SPI 860 <GIC_SPI 600 IRQ_TYPE_LEVEL_HIGH>; 1539 dma-channels = <13>; 861 dma-channels = <13>; 1540 dma-channel-mask = <0 862 dma-channel-mask = <0xfa>; 1541 iommus = <&apps_smmu 863 iommus = <&apps_smmu 0x07b6 0x0>; 1542 #dma-cells = <3>; 864 #dma-cells = <3>; 1543 status = "disabled"; 865 status = "disabled"; 1544 }; 866 }; 1545 867 1546 qupv3_id_2: geniqup@cc0000 { 868 qupv3_id_2: geniqup@cc0000 { 1547 compatible = "qcom,ge 869 compatible = "qcom,geni-se-qup"; 1548 reg = <0x0 0x00cc0000 870 reg = <0x0 0x00cc0000 0x0 0x6000>; 1549 871 1550 clock-names = "m-ahb" 872 clock-names = "m-ahb", "s-ahb"; 1551 clocks = <&gcc GCC_QU 873 clocks = <&gcc GCC_QUPV3_WRAP_2_M_AHB_CLK>, 1552 <&gcc GCC_QU 874 <&gcc GCC_QUPV3_WRAP_2_S_AHB_CLK>; 1553 iommus = <&apps_smmu 875 iommus = <&apps_smmu 0x7a3 0x0>; 1554 #address-cells = <2>; 876 #address-cells = <2>; 1555 #size-cells = <2>; 877 #size-cells = <2>; 1556 ranges; 878 ranges; 1557 status = "disabled"; 879 status = "disabled"; 1558 880 1559 i2c17: i2c@c80000 { 881 i2c17: i2c@c80000 { 1560 compatible = 882 compatible = "qcom,geni-i2c"; 1561 reg = <0 0x00 883 reg = <0 0x00c80000 0 0x4000>; 1562 clock-names = 884 clock-names = "se"; 1563 clocks = <&gc 885 clocks = <&gcc GCC_QUPV3_WRAP2_S0_CLK>; 1564 dmas = <&gpi_ << 1565 <&gpi_ << 1566 dma-names = " << 1567 pinctrl-names 886 pinctrl-names = "default"; 1568 pinctrl-0 = < 887 pinctrl-0 = <&qup_i2c17_default>; 1569 interrupts = 888 interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>; 1570 #address-cell 889 #address-cells = <1>; 1571 #size-cells = 890 #size-cells = <0>; 1572 status = "dis 891 status = "disabled"; 1573 }; 892 }; 1574 893 1575 spi17: spi@c80000 { << 1576 compatible = << 1577 reg = <0 0x00 << 1578 reg-names = " << 1579 clock-names = << 1580 clocks = <&gc << 1581 dmas = <&gpi_ << 1582 <&gpi_ << 1583 dma-names = " << 1584 pinctrl-names << 1585 pinctrl-0 = < << 1586 interrupts = << 1587 spi-max-frequ << 1588 #address-cell << 1589 #size-cells = << 1590 status = "dis << 1591 }; << 1592 << 1593 i2c18: i2c@c84000 { 894 i2c18: i2c@c84000 { 1594 compatible = 895 compatible = "qcom,geni-i2c"; 1595 reg = <0 0x00 896 reg = <0 0x00c84000 0 0x4000>; 1596 clock-names = 897 clock-names = "se"; 1597 clocks = <&gc 898 clocks = <&gcc GCC_QUPV3_WRAP2_S1_CLK>; 1598 dmas = <&gpi_ << 1599 <&gpi_ << 1600 dma-names = " << 1601 pinctrl-names 899 pinctrl-names = "default"; 1602 pinctrl-0 = < 900 pinctrl-0 = <&qup_i2c18_default>; 1603 interrupts = 901 interrupts = <GIC_SPI 583 IRQ_TYPE_LEVEL_HIGH>; 1604 #address-cell 902 #address-cells = <1>; 1605 #size-cells = 903 #size-cells = <0>; 1606 status = "dis 904 status = "disabled"; 1607 }; 905 }; 1608 906 1609 spi18: spi@c84000 { << 1610 compatible = << 1611 reg = <0 0x00 << 1612 reg-names = " << 1613 clock-names = << 1614 clocks = <&gc << 1615 dmas = <&gpi_ << 1616 <&gpi_ << 1617 dma-names = " << 1618 pinctrl-names << 1619 pinctrl-0 = < << 1620 interrupts = << 1621 spi-max-frequ << 1622 #address-cell << 1623 #size-cells = << 1624 status = "dis << 1625 }; << 1626 << 1627 i2c19: i2c@c88000 { 907 i2c19: i2c@c88000 { 1628 compatible = 908 compatible = "qcom,geni-i2c"; 1629 reg = <0 0x00 909 reg = <0 0x00c88000 0 0x4000>; 1630 clock-names = 910 clock-names = "se"; 1631 clocks = <&gc 911 clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>; 1632 dmas = <&gpi_ << 1633 <&gpi_ << 1634 dma-names = " << 1635 pinctrl-names 912 pinctrl-names = "default"; 1636 pinctrl-0 = < 913 pinctrl-0 = <&qup_i2c19_default>; 1637 interrupts = 914 interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>; 1638 #address-cell 915 #address-cells = <1>; 1639 #size-cells = 916 #size-cells = <0>; 1640 status = "dis 917 status = "disabled"; 1641 }; 918 }; 1642 919 1643 spi19: spi@c88000 { << 1644 compatible = << 1645 reg = <0 0x00 << 1646 reg-names = " << 1647 clock-names = << 1648 clocks = <&gc << 1649 dmas = <&gpi_ << 1650 <&gpi_ << 1651 dma-names = " << 1652 pinctrl-names << 1653 pinctrl-0 = < << 1654 interrupts = << 1655 spi-max-frequ << 1656 #address-cell << 1657 #size-cells = << 1658 status = "dis << 1659 }; << 1660 << 1661 i2c13: i2c@c8c000 { 920 i2c13: i2c@c8c000 { 1662 compatible = 921 compatible = "qcom,geni-i2c"; 1663 reg = <0 0x00 922 reg = <0 0x00c8c000 0 0x4000>; 1664 clock-names = 923 clock-names = "se"; 1665 clocks = <&gc 924 clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>; 1666 dmas = <&gpi_ << 1667 <&gpi_ << 1668 dma-names = " << 1669 pinctrl-names 925 pinctrl-names = "default"; 1670 pinctrl-0 = < 926 pinctrl-0 = <&qup_i2c13_default>; 1671 interrupts = 927 interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>; 1672 #address-cell 928 #address-cells = <1>; 1673 #size-cells = 929 #size-cells = <0>; 1674 status = "dis 930 status = "disabled"; 1675 }; 931 }; 1676 932 1677 spi13: spi@c8c000 { << 1678 compatible = << 1679 reg = <0 0x00 << 1680 reg-names = " << 1681 clock-names = << 1682 clocks = <&gc << 1683 dmas = <&gpi_ << 1684 <&gpi_ << 1685 dma-names = " << 1686 pinctrl-names << 1687 pinctrl-0 = < << 1688 interrupts = << 1689 spi-max-frequ << 1690 #address-cell << 1691 #size-cells = << 1692 status = "dis << 1693 }; << 1694 << 1695 i2c14: i2c@c90000 { 933 i2c14: i2c@c90000 { 1696 compatible = 934 compatible = "qcom,geni-i2c"; 1697 reg = <0 0x00 935 reg = <0 0x00c90000 0 0x4000>; 1698 clock-names = 936 clock-names = "se"; 1699 clocks = <&gc 937 clocks = <&gcc GCC_QUPV3_WRAP2_S4_CLK>; 1700 dmas = <&gpi_ << 1701 <&gpi_ << 1702 dma-names = " << 1703 pinctrl-names 938 pinctrl-names = "default"; 1704 pinctrl-0 = < 939 pinctrl-0 = <&qup_i2c14_default>; 1705 interrupts = 940 interrupts = <GIC_SPI 586 IRQ_TYPE_LEVEL_HIGH>; 1706 #address-cell 941 #address-cells = <1>; 1707 #size-cells = 942 #size-cells = <0>; 1708 status = "dis 943 status = "disabled"; 1709 }; 944 }; 1710 945 1711 spi14: spi@c90000 { << 1712 compatible = << 1713 reg = <0 0x00 << 1714 reg-names = " << 1715 clock-names = << 1716 clocks = <&gc << 1717 dmas = <&gpi_ << 1718 <&gpi_ << 1719 dma-names = " << 1720 pinctrl-names << 1721 pinctrl-0 = < << 1722 interrupts = << 1723 spi-max-frequ << 1724 #address-cell << 1725 #size-cells = << 1726 status = "dis << 1727 }; << 1728 << 1729 i2c15: i2c@c94000 { 946 i2c15: i2c@c94000 { 1730 compatible = 947 compatible = "qcom,geni-i2c"; 1731 reg = <0 0x00 948 reg = <0 0x00c94000 0 0x4000>; 1732 clock-names = 949 clock-names = "se"; 1733 clocks = <&gc 950 clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>; 1734 dmas = <&gpi_ << 1735 <&gpi_ << 1736 dma-names = " << 1737 pinctrl-names 951 pinctrl-names = "default"; 1738 pinctrl-0 = < 952 pinctrl-0 = <&qup_i2c15_default>; 1739 interrupts = 953 interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>; 1740 #address-cell 954 #address-cells = <1>; 1741 #size-cells = 955 #size-cells = <0>; 1742 status = "dis 956 status = "disabled"; 1743 }; 957 }; 1744 << 1745 spi15: spi@c94000 { << 1746 compatible = << 1747 reg = <0 0x00 << 1748 reg-names = " << 1749 clock-names = << 1750 clocks = <&gc << 1751 dmas = <&gpi_ << 1752 <&gpi_ << 1753 dma-names = " << 1754 pinctrl-names << 1755 pinctrl-0 = < << 1756 interrupts = << 1757 spi-max-frequ << 1758 #address-cell << 1759 #size-cells = << 1760 status = "dis << 1761 }; << 1762 }; 958 }; 1763 959 1764 config_noc: interconnect@1500 960 config_noc: interconnect@1500000 { 1765 compatible = "qcom,sm 961 compatible = "qcom,sm8150-config-noc"; 1766 reg = <0 0x01500000 0 962 reg = <0 0x01500000 0 0x7400>; 1767 #interconnect-cells = !! 963 #interconnect-cells = <1>; 1768 qcom,bcm-voters = <&a 964 qcom,bcm-voters = <&apps_bcm_voter>; 1769 }; 965 }; 1770 966 1771 system_noc: interconnect@1620 967 system_noc: interconnect@1620000 { 1772 compatible = "qcom,sm 968 compatible = "qcom,sm8150-system-noc"; 1773 reg = <0 0x01620000 0 969 reg = <0 0x01620000 0 0x19400>; 1774 #interconnect-cells = !! 970 #interconnect-cells = <1>; 1775 qcom,bcm-voters = <&a 971 qcom,bcm-voters = <&apps_bcm_voter>; 1776 }; 972 }; 1777 973 1778 mc_virt: interconnect@163a000 974 mc_virt: interconnect@163a000 { 1779 compatible = "qcom,sm 975 compatible = "qcom,sm8150-mc-virt"; 1780 reg = <0 0x0163a000 0 976 reg = <0 0x0163a000 0 0x1000>; 1781 #interconnect-cells = !! 977 #interconnect-cells = <1>; 1782 qcom,bcm-voters = <&a 978 qcom,bcm-voters = <&apps_bcm_voter>; 1783 }; 979 }; 1784 980 1785 aggre1_noc: interconnect@16e0 981 aggre1_noc: interconnect@16e0000 { 1786 compatible = "qcom,sm 982 compatible = "qcom,sm8150-aggre1-noc"; 1787 reg = <0 0x016e0000 0 983 reg = <0 0x016e0000 0 0xd080>; 1788 #interconnect-cells = !! 984 #interconnect-cells = <1>; 1789 qcom,bcm-voters = <&a 985 qcom,bcm-voters = <&apps_bcm_voter>; 1790 }; 986 }; 1791 987 1792 aggre2_noc: interconnect@1700 988 aggre2_noc: interconnect@1700000 { 1793 compatible = "qcom,sm 989 compatible = "qcom,sm8150-aggre2-noc"; 1794 reg = <0 0x01700000 0 990 reg = <0 0x01700000 0 0x20000>; 1795 #interconnect-cells = !! 991 #interconnect-cells = <1>; 1796 qcom,bcm-voters = <&a 992 qcom,bcm-voters = <&apps_bcm_voter>; 1797 }; 993 }; 1798 994 1799 compute_noc: interconnect@172 995 compute_noc: interconnect@1720000 { 1800 compatible = "qcom,sm 996 compatible = "qcom,sm8150-compute-noc"; 1801 reg = <0 0x01720000 0 997 reg = <0 0x01720000 0 0x7000>; 1802 #interconnect-cells = !! 998 #interconnect-cells = <1>; 1803 qcom,bcm-voters = <&a 999 qcom,bcm-voters = <&apps_bcm_voter>; 1804 }; 1000 }; 1805 1001 1806 mmss_noc: interconnect@174000 1002 mmss_noc: interconnect@1740000 { 1807 compatible = "qcom,sm 1003 compatible = "qcom,sm8150-mmss-noc"; 1808 reg = <0 0x01740000 0 1004 reg = <0 0x01740000 0 0x1c100>; 1809 #interconnect-cells = !! 1005 #interconnect-cells = <1>; 1810 qcom,bcm-voters = <&a 1006 qcom,bcm-voters = <&apps_bcm_voter>; 1811 }; 1007 }; 1812 1008 1813 system-cache-controller@92000 1009 system-cache-controller@9200000 { 1814 compatible = "qcom,sm 1010 compatible = "qcom,sm8150-llcc"; 1815 reg = <0 0x09200000 0 !! 1011 reg = <0 0x09200000 0 0x200000>, <0 0x09600000 0 0x50000>; 1816 <0 0x09300000 0 !! 1012 reg-names = "llcc_base", "llcc_broadcast_base"; 1817 <0 0x09600000 0 << 1818 reg-names = "llcc0_ba << 1819 "llcc3_ba << 1820 interrupts = <GIC_SPI 1013 interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>; 1821 }; 1014 }; 1822 1015 1823 dma@10a2000 { << 1824 compatible = "qcom,sm << 1825 reg = <0x0 0x010a2000 << 1826 <0x0 0x010ad000 << 1827 }; << 1828 << 1829 pcie0: pcie@1c00000 { << 1830 compatible = "qcom,pc << 1831 reg = <0 0x01c00000 0 << 1832 <0 0x60000000 0 << 1833 <0 0x60000f20 0 << 1834 <0 0x60001000 0 << 1835 <0 0x60100000 0 << 1836 reg-names = "parf", " << 1837 device_type = "pci"; << 1838 linux,pci-domain = <0 << 1839 bus-range = <0x00 0xf << 1840 num-lanes = <1>; << 1841 << 1842 #address-cells = <3>; << 1843 #size-cells = <2>; << 1844 << 1845 ranges = <0x01000000 << 1846 <0x02000000 << 1847 << 1848 interrupts = <GIC_SPI << 1849 <GIC_SPI << 1850 <GIC_SPI << 1851 <GIC_SPI << 1852 <GIC_SPI << 1853 <GIC_SPI << 1854 <GIC_SPI << 1855 <GIC_SPI << 1856 interrupt-names = "ms << 1857 "ms << 1858 "ms << 1859 "ms << 1860 "ms << 1861 "ms << 1862 "ms << 1863 "ms << 1864 #interrupt-cells = <1 << 1865 interrupt-map-mask = << 1866 interrupt-map = <0 0 << 1867 <0 0 << 1868 <0 0 << 1869 <0 0 << 1870 << 1871 clocks = <&gcc GCC_PC << 1872 <&gcc GCC_PC << 1873 <&gcc GCC_PC << 1874 <&gcc GCC_PC << 1875 <&gcc GCC_PC << 1876 <&gcc GCC_PC << 1877 <&gcc GCC_AG << 1878 <&rpmhcc RPM << 1879 clock-names = "pipe", << 1880 "aux", << 1881 "cfg", << 1882 "bus_ma << 1883 "bus_sl << 1884 "slave_ << 1885 "tbu", << 1886 "ref"; << 1887 << 1888 iommu-map = <0x0 &a << 1889 <0x100 &a << 1890 << 1891 resets = <&gcc GCC_PC << 1892 reset-names = "pci"; << 1893 << 1894 power-domains = <&gcc << 1895 << 1896 phys = <&pcie0_phy>; << 1897 phy-names = "pciephy" << 1898 << 1899 perst-gpios = <&tlmm << 1900 wake-gpios = <&tlmm 3 << 1901 << 1902 pinctrl-names = "defa << 1903 pinctrl-0 = <&pcie0_d << 1904 << 1905 status = "disabled"; << 1906 << 1907 pcie@0 { << 1908 device_type = << 1909 reg = <0x0 0x << 1910 bus-range = < << 1911 << 1912 #address-cell << 1913 #size-cells = << 1914 ranges; << 1915 }; << 1916 }; << 1917 << 1918 pcie0_phy: phy@1c06000 { << 1919 compatible = "qcom,sm << 1920 reg = <0 0x01c06000 0 << 1921 clocks = <&gcc GCC_PC << 1922 <&gcc GCC_PC << 1923 <&gcc GCC_PC << 1924 <&gcc GCC_PC << 1925 <&gcc GCC_PC << 1926 clock-names = "aux", << 1927 "cfg_ah << 1928 "ref", << 1929 "refgen << 1930 "pipe"; << 1931 << 1932 clock-output-names = << 1933 #clock-cells = <0>; << 1934 << 1935 #phy-cells = <0>; << 1936 << 1937 resets = <&gcc GCC_PC << 1938 reset-names = "phy"; << 1939 << 1940 assigned-clocks = <&g << 1941 assigned-clock-rates << 1942 << 1943 status = "disabled"; << 1944 }; << 1945 << 1946 pcie1: pcie@1c08000 { << 1947 compatible = "qcom,pc << 1948 reg = <0 0x01c08000 0 << 1949 <0 0x40000000 0 << 1950 <0 0x40000f20 0 << 1951 <0 0x40001000 0 << 1952 <0 0x40100000 0 << 1953 reg-names = "parf", " << 1954 device_type = "pci"; << 1955 linux,pci-domain = <1 << 1956 bus-range = <0x00 0xf << 1957 num-lanes = <2>; << 1958 << 1959 #address-cells = <3>; << 1960 #size-cells = <2>; << 1961 << 1962 ranges = <0x01000000 << 1963 <0x02000000 << 1964 << 1965 interrupts = <GIC_SPI << 1966 <GIC_SPI << 1967 <GIC_SPI << 1968 <GIC_SPI << 1969 <GIC_SPI << 1970 <GIC_SPI << 1971 <GIC_SPI << 1972 <GIC_SPI << 1973 interrupt-names = "ms << 1974 "ms << 1975 "ms << 1976 "ms << 1977 "ms << 1978 "ms << 1979 "ms << 1980 "ms << 1981 #interrupt-cells = <1 << 1982 interrupt-map-mask = << 1983 interrupt-map = <0 0 << 1984 <0 0 << 1985 <0 0 << 1986 <0 0 << 1987 << 1988 clocks = <&gcc GCC_PC << 1989 <&gcc GCC_PC << 1990 <&gcc GCC_PC << 1991 <&gcc GCC_PC << 1992 <&gcc GCC_PC << 1993 <&gcc GCC_PC << 1994 <&gcc GCC_AG << 1995 <&rpmhcc RPM << 1996 clock-names = "pipe", << 1997 "aux", << 1998 "cfg", << 1999 "bus_ma << 2000 "bus_sl << 2001 "slave_ << 2002 "tbu", << 2003 "ref"; << 2004 << 2005 assigned-clocks = <&g << 2006 assigned-clock-rates << 2007 << 2008 iommu-map = <0x0 &a << 2009 <0x100 &a << 2010 << 2011 resets = <&gcc GCC_PC << 2012 reset-names = "pci"; << 2013 << 2014 power-domains = <&gcc << 2015 << 2016 phys = <&pcie1_phy>; << 2017 phy-names = "pciephy" << 2018 << 2019 perst-gpios = <&tlmm << 2020 enable-gpio = <&tlmm << 2021 << 2022 pinctrl-names = "defa << 2023 pinctrl-0 = <&pcie1_d << 2024 << 2025 status = "disabled"; << 2026 << 2027 pcie@0 { << 2028 device_type = << 2029 reg = <0x0 0x << 2030 bus-range = < << 2031 << 2032 #address-cell << 2033 #size-cells = << 2034 ranges; << 2035 }; << 2036 }; << 2037 << 2038 pcie1_phy: phy@1c0e000 { << 2039 compatible = "qcom,sm << 2040 reg = <0 0x01c0e000 0 << 2041 clocks = <&gcc GCC_PC << 2042 <&gcc GCC_PC << 2043 <&gcc GCC_PC << 2044 <&gcc GCC_PC << 2045 <&gcc GCC_PC << 2046 clock-names = "aux", << 2047 "cfg_ah << 2048 "ref", << 2049 "refgen << 2050 "pipe"; << 2051 << 2052 clock-output-names = << 2053 #clock-cells = <0>; << 2054 << 2055 #phy-cells = <0>; << 2056 << 2057 resets = <&gcc GCC_PC << 2058 reset-names = "phy"; << 2059 << 2060 assigned-clocks = <&g << 2061 assigned-clock-rates << 2062 << 2063 status = "disabled"; << 2064 }; << 2065 << 2066 ufs_mem_hc: ufshc@1d84000 { 1016 ufs_mem_hc: ufshc@1d84000 { 2067 compatible = "qcom,sm 1017 compatible = "qcom,sm8150-ufshc", "qcom,ufshc", 2068 "jedec,u 1018 "jedec,ufs-2.0"; 2069 reg = <0 0x01d84000 0 !! 1019 reg = <0 0x01d84000 0 0x2500>; 2070 <0 0x01d90000 0 << 2071 reg-names = "std", "i << 2072 interrupts = <GIC_SPI 1020 interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; 2073 phys = <&ufs_mem_phy> !! 1021 phys = <&ufs_mem_phy_lanes>; 2074 phy-names = "ufsphy"; 1022 phy-names = "ufsphy"; 2075 lanes-per-direction = 1023 lanes-per-direction = <2>; 2076 #reset-cells = <1>; 1024 #reset-cells = <1>; 2077 resets = <&gcc GCC_UF 1025 resets = <&gcc GCC_UFS_PHY_BCR>; 2078 reset-names = "rst"; 1026 reset-names = "rst"; 2079 1027 2080 iommus = <&apps_smmu 1028 iommus = <&apps_smmu 0x300 0>; 2081 1029 2082 clock-names = 1030 clock-names = 2083 "core_clk", 1031 "core_clk", 2084 "bus_aggr_clk 1032 "bus_aggr_clk", 2085 "iface_clk", 1033 "iface_clk", 2086 "core_clk_uni 1034 "core_clk_unipro", 2087 "ref_clk", 1035 "ref_clk", 2088 "tx_lane0_syn 1036 "tx_lane0_sync_clk", 2089 "rx_lane0_syn 1037 "rx_lane0_sync_clk", 2090 "rx_lane1_syn !! 1038 "rx_lane1_sync_clk"; 2091 "ice_core_clk << 2092 clocks = 1039 clocks = 2093 <&gcc GCC_UFS 1040 <&gcc GCC_UFS_PHY_AXI_CLK>, 2094 <&gcc GCC_AGG 1041 <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, 2095 <&gcc GCC_UFS 1042 <&gcc GCC_UFS_PHY_AHB_CLK>, 2096 <&gcc GCC_UFS 1043 <&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, 2097 <&rpmhcc RPMH 1044 <&rpmhcc RPMH_CXO_CLK>, 2098 <&gcc GCC_UFS 1045 <&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, 2099 <&gcc GCC_UFS 1046 <&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, 2100 <&gcc GCC_UFS !! 1047 <&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>; 2101 <&gcc GCC_UFS << 2102 freq-table-hz = 1048 freq-table-hz = 2103 <37500000 300 1049 <37500000 300000000>, 2104 <0 0>, 1050 <0 0>, 2105 <0 0>, 1051 <0 0>, 2106 <37500000 300 1052 <37500000 300000000>, 2107 <0 0>, 1053 <0 0>, 2108 <0 0>, 1054 <0 0>, 2109 <0 0>, 1055 <0 0>, 2110 <0 0>, !! 1056 <0 0>; 2111 <0 300000000> << 2112 1057 2113 status = "disabled"; 1058 status = "disabled"; 2114 }; 1059 }; 2115 1060 2116 ufs_mem_phy: phy@1d87000 { 1061 ufs_mem_phy: phy@1d87000 { 2117 compatible = "qcom,sm 1062 compatible = "qcom,sm8150-qmp-ufs-phy"; 2118 reg = <0 0x01d87000 0 !! 1063 reg = <0 0x01d87000 0 0x1c0>; 2119 !! 1064 #address-cells = <2>; 2120 clocks = <&rpmhcc RPM !! 1065 #size-cells = <2>; 2121 <&gcc GCC_UF !! 1066 ranges; 2122 <&gcc GCC_UF << 2123 clock-names = "ref", 1067 clock-names = "ref", 2124 "ref_au !! 1068 "ref_aux"; 2125 "qref"; !! 1069 clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, 2126 !! 1070 <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; 2127 power-domains = <&gcc << 2128 1071 2129 resets = <&ufs_mem_hc 1072 resets = <&ufs_mem_hc 0>; 2130 reset-names = "ufsphy 1073 reset-names = "ufsphy"; >> 1074 status = "disabled"; 2131 1075 2132 #phy-cells = <0>; !! 1076 ufs_mem_phy_lanes: lanes@1d87400 { >> 1077 reg = <0 0x01d87400 0 0x108>, >> 1078 <0 0x01d87600 0 0x1e0>, >> 1079 <0 0x01d87c00 0 0x1dc>, >> 1080 <0 0x01d87800 0 0x108>, >> 1081 <0 0x01d87a00 0 0x1e0>; >> 1082 #phy-cells = <0>; >> 1083 }; >> 1084 }; 2133 1085 2134 status = "disabled"; !! 1086 ipa_virt: interconnect@1e00000 { >> 1087 compatible = "qcom,sm8150-ipa-virt"; >> 1088 reg = <0 0x01e00000 0 0x1000>; >> 1089 #interconnect-cells = <1>; >> 1090 qcom,bcm-voters = <&apps_bcm_voter>; 2135 }; 1091 }; 2136 1092 2137 cryptobam: dma-controller@1dc !! 1093 tcsr_mutex_regs: syscon@1f40000 { 2138 compatible = "qcom,ba !! 1094 compatible = "syscon"; 2139 reg = <0 0x01dc4000 0 !! 1095 reg = <0x0 0x01f40000 0x0 0x40000>; 2140 interrupts = <GIC_SPI << 2141 #dma-cells = <1>; << 2142 qcom,ee = <0>; << 2143 qcom,controlled-remot << 2144 num-channels = <8>; << 2145 qcom,num-ees = <2>; << 2146 iommus = <&apps_smmu << 2147 <&apps_smmu << 2148 <&apps_smmu << 2149 <&apps_smmu << 2150 <&apps_smmu << 2151 }; << 2152 << 2153 crypto: crypto@1dfa000 { << 2154 compatible = "qcom,sm << 2155 reg = <0 0x01dfa000 0 << 2156 dmas = <&cryptobam 4> << 2157 dma-names = "rx", "tx << 2158 iommus = <&apps_smmu << 2159 <&apps_smmu << 2160 <&apps_smmu << 2161 <&apps_smmu << 2162 <&apps_smmu << 2163 interconnects = <&agg << 2164 interconnect-names = << 2165 }; << 2166 << 2167 tcsr_mutex: hwlock@1f40000 { << 2168 compatible = "qcom,tc << 2169 reg = <0x0 0x01f40000 << 2170 #hwlock-cells = <1>; << 2171 }; << 2172 << 2173 tcsr_regs_1: syscon@1f60000 { << 2174 compatible = "qcom,sm << 2175 reg = <0x0 0x01f60000 << 2176 }; 1096 }; 2177 1097 2178 remoteproc_slpi: remoteproc@2 1098 remoteproc_slpi: remoteproc@2400000 { 2179 compatible = "qcom,sm 1099 compatible = "qcom,sm8150-slpi-pas"; 2180 reg = <0x0 0x02400000 1100 reg = <0x0 0x02400000 0x0 0x4040>; 2181 1101 2182 interrupts-extended = 1102 interrupts-extended = <&intc GIC_SPI 494 IRQ_TYPE_EDGE_RISING>, 2183 1103 <&slpi_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 2184 1104 <&slpi_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 2185 1105 <&slpi_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 2186 1106 <&slpi_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 2187 interrupt-names = "wd 1107 interrupt-names = "wdog", "fatal", "ready", 2188 "ha 1108 "handover", "stop-ack"; 2189 1109 2190 clocks = <&rpmhcc RPM 1110 clocks = <&rpmhcc RPMH_CXO_CLK>; 2191 clock-names = "xo"; 1111 clock-names = "xo"; 2192 1112 2193 power-domains = <&rpm !! 1113 power-domains = <&aoss_qmp AOSS_QMP_LS_SLPI>, 2194 <&rpm !! 1114 <&rpmhpd 3>, 2195 power-domain-names = !! 1115 <&rpmhpd 2>; >> 1116 power-domain-names = "load_state", "lcx", "lmx"; 2196 1117 2197 memory-region = <&slp 1118 memory-region = <&slpi_mem>; 2198 1119 2199 qcom,qmp = <&aoss_qmp << 2200 << 2201 qcom,smem-states = <& 1120 qcom,smem-states = <&slpi_smp2p_out 0>; 2202 qcom,smem-state-names 1121 qcom,smem-state-names = "stop"; 2203 1122 2204 status = "disabled"; 1123 status = "disabled"; 2205 1124 2206 glink-edge { 1125 glink-edge { 2207 interrupts = 1126 interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>; 2208 label = "dsps 1127 label = "dsps"; 2209 qcom,remote-p 1128 qcom,remote-pid = <3>; 2210 mboxes = <&ap 1129 mboxes = <&apss_shared 24>; 2211 << 2212 fastrpc { << 2213 compa << 2214 qcom, << 2215 label << 2216 qcom, << 2217 #addr << 2218 #size << 2219 << 2220 compu << 2221 << 2222 << 2223 << 2224 }; << 2225 << 2226 compu << 2227 << 2228 << 2229 << 2230 }; << 2231 << 2232 compu << 2233 << 2234 << 2235 << 2236 << 2237 }; << 2238 }; << 2239 }; 1130 }; 2240 }; 1131 }; 2241 1132 2242 gpu: gpu@2c00000 { 1133 gpu: gpu@2c00000 { 2243 compatible = "qcom,ad !! 1134 /* >> 1135 * note: the amd,imageon compatible makes it possible >> 1136 * to use the drm/msm driver without the display node, >> 1137 * make sure to remove it when display node is added >> 1138 */ >> 1139 compatible = "qcom,adreno-640.1", >> 1140 "qcom,adreno", >> 1141 "amd,imageon"; >> 1142 #stream-id-cells = <16>; >> 1143 2244 reg = <0 0x02c00000 0 1144 reg = <0 0x02c00000 0 0x40000>; 2245 reg-names = "kgsl_3d0 1145 reg-names = "kgsl_3d0_reg_memory"; 2246 1146 2247 interrupts = <GIC_SPI 1147 interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; 2248 1148 2249 iommus = <&adreno_smm 1149 iommus = <&adreno_smmu 0 0x401>; 2250 1150 2251 operating-points-v2 = 1151 operating-points-v2 = <&gpu_opp_table>; 2252 1152 2253 qcom,gmu = <&gmu>; 1153 qcom,gmu = <&gmu>; 2254 1154 2255 nvmem-cells = <&gpu_s << 2256 nvmem-cell-names = "s << 2257 #cooling-cells = <2>; << 2258 << 2259 status = "disabled"; 1155 status = "disabled"; 2260 1156 2261 zap-shader { 1157 zap-shader { 2262 memory-region 1158 memory-region = <&gpu_mem>; 2263 }; 1159 }; 2264 1160 >> 1161 /* note: downstream checks gpu binning for 675 Mhz */ 2265 gpu_opp_table: opp-ta 1162 gpu_opp_table: opp-table { 2266 compatible = 1163 compatible = "operating-points-v2"; 2267 1164 2268 opp-675000000 1165 opp-675000000 { 2269 opp-h 1166 opp-hz = /bits/ 64 <675000000>; 2270 opp-l 1167 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 2271 opp-s << 2272 }; 1168 }; 2273 1169 2274 opp-585000000 1170 opp-585000000 { 2275 opp-h 1171 opp-hz = /bits/ 64 <585000000>; 2276 opp-l 1172 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 2277 opp-s << 2278 }; 1173 }; 2279 1174 2280 opp-499200000 1175 opp-499200000 { 2281 opp-h 1176 opp-hz = /bits/ 64 <499200000>; 2282 opp-l 1177 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L2>; 2283 opp-s << 2284 }; 1178 }; 2285 1179 2286 opp-427000000 1180 opp-427000000 { 2287 opp-h 1181 opp-hz = /bits/ 64 <427000000>; 2288 opp-l 1182 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 2289 opp-s << 2290 }; 1183 }; 2291 1184 2292 opp-345000000 1185 opp-345000000 { 2293 opp-h 1186 opp-hz = /bits/ 64 <345000000>; 2294 opp-l 1187 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 2295 opp-s << 2296 }; 1188 }; 2297 1189 2298 opp-257000000 1190 opp-257000000 { 2299 opp-h 1191 opp-hz = /bits/ 64 <257000000>; 2300 opp-l 1192 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 2301 opp-s << 2302 }; 1193 }; 2303 }; 1194 }; 2304 }; 1195 }; 2305 1196 2306 gmu: gmu@2c6a000 { 1197 gmu: gmu@2c6a000 { 2307 compatible = "qcom,ad !! 1198 compatible="qcom,adreno-gmu-640.1", "qcom,adreno-gmu"; 2308 1199 2309 reg = <0 0x02c6a000 0 1200 reg = <0 0x02c6a000 0 0x30000>, 2310 <0 0x0b290000 0 1201 <0 0x0b290000 0 0x10000>, 2311 <0 0x0b490000 0 1202 <0 0x0b490000 0 0x10000>; 2312 reg-names = "gmu", "g 1203 reg-names = "gmu", "gmu_pdc", "gmu_pdc_seq"; 2313 1204 2314 interrupts = <GIC_SPI 1205 interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, 2315 <GIC_SPI 1206 <GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; 2316 interrupt-names = "hf 1207 interrupt-names = "hfi", "gmu"; 2317 1208 2318 clocks = <&gpucc GPU_ 1209 clocks = <&gpucc GPU_CC_AHB_CLK>, 2319 <&gpucc GPU_ 1210 <&gpucc GPU_CC_CX_GMU_CLK>, 2320 <&gpucc GPU_ 1211 <&gpucc GPU_CC_CXO_CLK>, 2321 <&gcc GCC_DD 1212 <&gcc GCC_DDRSS_GPU_AXI_CLK>, 2322 <&gcc GCC_GP 1213 <&gcc GCC_GPU_MEMNOC_GFX_CLK>; 2323 clock-names = "ahb", 1214 clock-names = "ahb", "gmu", "cxo", "axi", "memnoc"; 2324 1215 2325 power-domains = <&gpu 1216 power-domains = <&gpucc GPU_CX_GDSC>, 2326 <&gpu 1217 <&gpucc GPU_GX_GDSC>; 2327 power-domain-names = 1218 power-domain-names = "cx", "gx"; 2328 1219 2329 iommus = <&adreno_smm 1220 iommus = <&adreno_smmu 5 0x400>; 2330 1221 2331 operating-points-v2 = 1222 operating-points-v2 = <&gmu_opp_table>; 2332 1223 2333 status = "disabled"; 1224 status = "disabled"; 2334 1225 2335 gmu_opp_table: opp-ta 1226 gmu_opp_table: opp-table { 2336 compatible = 1227 compatible = "operating-points-v2"; 2337 1228 2338 opp-200000000 1229 opp-200000000 { 2339 opp-h 1230 opp-hz = /bits/ 64 <200000000>; 2340 opp-l 1231 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 2341 }; 1232 }; 2342 }; 1233 }; 2343 }; 1234 }; 2344 1235 2345 gpucc: clock-controller@2c900 1236 gpucc: clock-controller@2c90000 { 2346 compatible = "qcom,sm 1237 compatible = "qcom,sm8150-gpucc"; 2347 reg = <0 0x02c90000 0 1238 reg = <0 0x02c90000 0 0x9000>; 2348 clocks = <&rpmhcc RPM 1239 clocks = <&rpmhcc RPMH_CXO_CLK>, 2349 <&gcc GCC_GP 1240 <&gcc GCC_GPU_GPLL0_CLK_SRC>, 2350 <&gcc GCC_GP 1241 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>; 2351 clock-names = "bi_tcx 1242 clock-names = "bi_tcxo", 2352 "gcc_gp 1243 "gcc_gpu_gpll0_clk_src", 2353 "gcc_gp 1244 "gcc_gpu_gpll0_div_clk_src"; 2354 #clock-cells = <1>; 1245 #clock-cells = <1>; 2355 #reset-cells = <1>; 1246 #reset-cells = <1>; 2356 #power-domain-cells = 1247 #power-domain-cells = <1>; 2357 }; 1248 }; 2358 1249 2359 adreno_smmu: iommu@2ca0000 { 1250 adreno_smmu: iommu@2ca0000 { 2360 compatible = "qcom,sm !! 1251 compatible = "qcom,sm8150-smmu-500", "arm,mmu-500"; 2361 "qcom,sm << 2362 reg = <0 0x02ca0000 0 1252 reg = <0 0x02ca0000 0 0x10000>; 2363 #iommu-cells = <2>; 1253 #iommu-cells = <2>; 2364 #global-interrupts = 1254 #global-interrupts = <1>; 2365 interrupts = <GIC_SPI 1255 interrupts = <GIC_SPI 674 IRQ_TYPE_LEVEL_HIGH>, 2366 <GIC_SPI 681 1256 <GIC_SPI 681 IRQ_TYPE_LEVEL_HIGH>, 2367 <GIC_SPI 682 1257 <GIC_SPI 682 IRQ_TYPE_LEVEL_HIGH>, 2368 <GIC_SPI 683 1258 <GIC_SPI 683 IRQ_TYPE_LEVEL_HIGH>, 2369 <GIC_SPI 684 1259 <GIC_SPI 684 IRQ_TYPE_LEVEL_HIGH>, 2370 <GIC_SPI 685 1260 <GIC_SPI 685 IRQ_TYPE_LEVEL_HIGH>, 2371 <GIC_SPI 686 1261 <GIC_SPI 686 IRQ_TYPE_LEVEL_HIGH>, 2372 <GIC_SPI 687 1262 <GIC_SPI 687 IRQ_TYPE_LEVEL_HIGH>, 2373 <GIC_SPI 688 1263 <GIC_SPI 688 IRQ_TYPE_LEVEL_HIGH>; 2374 clocks = <&gpucc GPU_ 1264 clocks = <&gpucc GPU_CC_AHB_CLK>, 2375 <&gcc GCC_GP 1265 <&gcc GCC_GPU_MEMNOC_GFX_CLK>, 2376 <&gcc GCC_GP 1266 <&gcc GCC_GPU_SNOC_DVM_GFX_CLK>; 2377 clock-names = "ahb", 1267 clock-names = "ahb", "bus", "iface"; 2378 1268 2379 power-domains = <&gpu 1269 power-domains = <&gpucc GPU_CX_GDSC>; 2380 }; 1270 }; 2381 1271 2382 tlmm: pinctrl@3100000 { 1272 tlmm: pinctrl@3100000 { 2383 compatible = "qcom,sm 1273 compatible = "qcom,sm8150-pinctrl"; 2384 reg = <0x0 0x03100000 1274 reg = <0x0 0x03100000 0x0 0x300000>, 2385 <0x0 0x03500000 1275 <0x0 0x03500000 0x0 0x300000>, 2386 <0x0 0x03900000 1276 <0x0 0x03900000 0x0 0x300000>, 2387 <0x0 0x03D00000 1277 <0x0 0x03D00000 0x0 0x300000>; 2388 reg-names = "west", " 1278 reg-names = "west", "east", "north", "south"; 2389 interrupts = <GIC_SPI 1279 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 2390 gpio-ranges = <&tlmm 1280 gpio-ranges = <&tlmm 0 0 176>; 2391 gpio-controller; 1281 gpio-controller; 2392 #gpio-cells = <2>; 1282 #gpio-cells = <2>; 2393 interrupt-controller; 1283 interrupt-controller; 2394 #interrupt-cells = <2 1284 #interrupt-cells = <2>; 2395 wakeup-parent = <&pdc << 2396 << 2397 qup_i2c0_default: qup << 2398 pins = "gpio0 << 2399 function = "q << 2400 drive-strengt << 2401 bias-disable; << 2402 }; << 2403 << 2404 qup_spi0_default: qup << 2405 pins = "gpio0 << 2406 function = "q << 2407 drive-strengt << 2408 bias-disable; << 2409 }; << 2410 << 2411 qup_i2c1_default: qup << 2412 pins = "gpio1 << 2413 function = "q << 2414 drive-strengt << 2415 bias-disable; << 2416 }; << 2417 1285 2418 qup_spi1_default: qup !! 1286 qup_i2c0_default: qup-i2c0-default { 2419 pins = "gpio1 !! 1287 mux { 2420 function = "q !! 1288 pins = "gpio0", "gpio1"; 2421 drive-strengt !! 1289 function = "qup0"; 2422 bias-disable; !! 1290 }; 2423 }; << 2424 << 2425 qup_i2c2_default: qup << 2426 pins = "gpio1 << 2427 function = "q << 2428 drive-strengt << 2429 bias-disable; << 2430 }; << 2431 << 2432 qup_spi2_default: qup << 2433 pins = "gpio1 << 2434 function = "q << 2435 drive-strengt << 2436 bias-disable; << 2437 }; << 2438 << 2439 qup_i2c3_default: qup << 2440 pins = "gpio1 << 2441 function = "q << 2442 drive-strengt << 2443 bias-disable; << 2444 }; << 2445 << 2446 qup_spi3_default: qup << 2447 pins = "gpio1 << 2448 function = "q << 2449 drive-strengt << 2450 bias-disable; << 2451 }; << 2452 1291 2453 qup_i2c4_default: qup !! 1292 config { 2454 pins = "gpio5 !! 1293 pins = "gpio0", "gpio1"; 2455 function = "q !! 1294 drive-strength = <0x02>; 2456 drive-strengt !! 1295 bias-disable; 2457 bias-disable; !! 1296 }; 2458 }; 1297 }; 2459 1298 2460 qup_spi4_default: qup !! 1299 qup_i2c1_default: qup-i2c1-default { 2461 pins = "gpio5 !! 1300 mux { 2462 function = "q !! 1301 pins = "gpio114", "gpio115"; 2463 drive-strengt !! 1302 function = "qup1"; 2464 bias-disable; !! 1303 }; 2465 }; << 2466 1304 2467 qup_i2c5_default: qup !! 1305 config { 2468 pins = "gpio1 !! 1306 pins = "gpio114", "gpio115"; 2469 function = "q !! 1307 drive-strength = <0x02>; 2470 drive-strengt !! 1308 bias-disable; 2471 bias-disable; !! 1309 }; 2472 }; 1310 }; 2473 1311 2474 qup_spi5_default: qup !! 1312 qup_i2c2_default: qup-i2c2-default { 2475 pins = "gpio1 !! 1313 mux { 2476 function = "q !! 1314 pins = "gpio126", "gpio127"; 2477 drive-strengt !! 1315 function = "qup2"; 2478 bias-disable; !! 1316 }; 2479 }; << 2480 1317 2481 qup_i2c6_default: qup !! 1318 config { 2482 pins = "gpio6 !! 1319 pins = "gpio126", "gpio127"; 2483 function = "q !! 1320 drive-strength = <0x02>; 2484 drive-strengt !! 1321 bias-disable; 2485 bias-disable; !! 1322 }; 2486 }; 1323 }; 2487 1324 2488 qup_spi6_default: qup !! 1325 qup_i2c3_default: qup-i2c3-default { 2489 pins = "gpio4 !! 1326 mux { 2490 function = "q !! 1327 pins = "gpio144", "gpio145"; 2491 drive-strengt !! 1328 function = "qup3"; 2492 bias-disable; !! 1329 }; 2493 }; << 2494 1330 2495 qup_i2c7_default: qup !! 1331 config { 2496 pins = "gpio9 !! 1332 pins = "gpio144", "gpio145"; 2497 function = "q !! 1333 drive-strength = <0x02>; 2498 drive-strengt !! 1334 bias-disable; 2499 bias-disable; !! 1335 }; 2500 }; 1336 }; 2501 1337 2502 qup_spi7_default: qup !! 1338 qup_i2c4_default: qup-i2c4-default { 2503 pins = "gpio9 !! 1339 mux { 2504 function = "q !! 1340 pins = "gpio51", "gpio52"; 2505 drive-strengt !! 1341 function = "qup4"; 2506 bias-disable; !! 1342 }; 2507 }; << 2508 1343 2509 qup_i2c8_default: qup !! 1344 config { 2510 pins = "gpio8 !! 1345 pins = "gpio51", "gpio52"; 2511 function = "q !! 1346 drive-strength = <0x02>; 2512 drive-strengt !! 1347 bias-disable; 2513 bias-disable; !! 1348 }; 2514 }; 1349 }; 2515 1350 2516 qup_spi8_default: qup !! 1351 qup_i2c5_default: qup-i2c5-default { 2517 pins = "gpio8 !! 1352 mux { 2518 function = "q !! 1353 pins = "gpio121", "gpio122"; 2519 drive-strengt !! 1354 function = "qup5"; 2520 bias-disable; !! 1355 }; 2521 }; << 2522 1356 2523 qup_i2c9_default: qup !! 1357 config { 2524 pins = "gpio3 !! 1358 pins = "gpio121", "gpio122"; 2525 function = "q !! 1359 drive-strength = <0x02>; 2526 drive-strengt !! 1360 bias-disable; 2527 bias-disable; !! 1361 }; 2528 }; 1362 }; 2529 1363 2530 qup_spi9_default: qup !! 1364 qup_i2c6_default: qup-i2c6-default { 2531 pins = "gpio3 !! 1365 mux { 2532 function = "q !! 1366 pins = "gpio6", "gpio7"; 2533 drive-strengt !! 1367 function = "qup6"; 2534 bias-disable; !! 1368 }; 2535 }; << 2536 1369 2537 qup_uart9_default: qu !! 1370 config { 2538 pins = "gpio4 !! 1371 pins = "gpio6", "gpio7"; 2539 function = "q !! 1372 drive-strength = <0x02>; 2540 drive-strengt !! 1373 bias-disable; 2541 bias-disable; !! 1374 }; 2542 }; 1375 }; 2543 1376 2544 qup_i2c10_default: qu !! 1377 qup_i2c7_default: qup-i2c7-default { 2545 pins = "gpio9 !! 1378 mux { 2546 function = "q !! 1379 pins = "gpio98", "gpio99"; 2547 drive-strengt !! 1380 function = "qup7"; 2548 bias-disable; !! 1381 }; 2549 }; << 2550 1382 2551 qup_spi10_default: qu !! 1383 config { 2552 pins = "gpio9 !! 1384 pins = "gpio98", "gpio99"; 2553 function = "q !! 1385 drive-strength = <0x02>; 2554 drive-strengt !! 1386 bias-disable; 2555 bias-disable; !! 1387 }; 2556 }; 1388 }; 2557 1389 2558 qup_i2c11_default: qu !! 1390 qup_i2c8_default: qup-i2c8-default { 2559 pins = "gpio9 !! 1391 mux { 2560 function = "q !! 1392 pins = "gpio88", "gpio89"; 2561 drive-strengt !! 1393 function = "qup8"; 2562 bias-disable; !! 1394 }; 2563 }; << 2564 1395 2565 qup_spi11_default: qu !! 1396 config { 2566 pins = "gpio9 !! 1397 pins = "gpio88", "gpio89"; 2567 function = "q !! 1398 drive-strength = <0x02>; 2568 drive-strengt !! 1399 bias-disable; 2569 bias-disable; !! 1400 }; 2570 }; 1401 }; 2571 1402 2572 qup_i2c12_default: qu !! 1403 qup_i2c9_default: qup-i2c9-default { 2573 pins = "gpio8 !! 1404 mux { 2574 function = "q !! 1405 pins = "gpio39", "gpio40"; 2575 drive-strengt !! 1406 function = "qup9"; 2576 bias-disable; !! 1407 }; 2577 }; << 2578 1408 2579 qup_spi12_default: qu !! 1409 config { 2580 pins = "gpio8 !! 1410 pins = "gpio39", "gpio40"; 2581 function = "q !! 1411 drive-strength = <0x02>; 2582 drive-strengt !! 1412 bias-disable; 2583 bias-disable; !! 1413 }; 2584 }; 1414 }; 2585 1415 2586 qup_i2c13_default: qu !! 1416 qup_i2c10_default: qup-i2c10-default { 2587 pins = "gpio4 !! 1417 mux { 2588 function = "q !! 1418 pins = "gpio9", "gpio10"; 2589 drive-strengt !! 1419 function = "qup10"; 2590 bias-disable; !! 1420 }; 2591 }; << 2592 1421 2593 qup_spi13_default: qu !! 1422 config { 2594 pins = "gpio4 !! 1423 pins = "gpio9", "gpio10"; 2595 function = "q !! 1424 drive-strength = <0x02>; 2596 drive-strengt !! 1425 bias-disable; 2597 bias-disable; !! 1426 }; 2598 }; 1427 }; 2599 1428 2600 qup_i2c14_default: qu !! 1429 qup_i2c11_default: qup-i2c11-default { 2601 pins = "gpio4 !! 1430 mux { 2602 function = "q !! 1431 pins = "gpio94", "gpio95"; 2603 drive-strengt !! 1432 function = "qup11"; 2604 bias-disable; !! 1433 }; 2605 }; << 2606 1434 2607 qup_spi14_default: qu !! 1435 config { 2608 pins = "gpio4 !! 1436 pins = "gpio94", "gpio95"; 2609 function = "q !! 1437 drive-strength = <0x02>; 2610 drive-strengt !! 1438 bias-disable; 2611 bias-disable; !! 1439 }; 2612 }; 1440 }; 2613 1441 2614 qup_i2c15_default: qu !! 1442 qup_i2c12_default: qup-i2c12-default { 2615 pins = "gpio2 !! 1443 mux { 2616 function = "q !! 1444 pins = "gpio83", "gpio84"; 2617 drive-strengt !! 1445 function = "qup12"; 2618 bias-disable; !! 1446 }; 2619 }; << 2620 1447 2621 qup_spi15_default: qu !! 1448 config { 2622 pins = "gpio2 !! 1449 pins = "gpio83", "gpio84"; 2623 function = "q !! 1450 drive-strength = <0x02>; 2624 drive-strengt !! 1451 bias-disable; 2625 bias-disable; !! 1452 }; 2626 }; 1453 }; 2627 1454 2628 qup_i2c16_default: qu !! 1455 qup_i2c13_default: qup-i2c13-default { 2629 pins = "gpio8 !! 1456 mux { 2630 function = "q !! 1457 pins = "gpio43", "gpio44"; 2631 drive-strengt !! 1458 function = "qup13"; 2632 bias-disable; !! 1459 }; 2633 }; << 2634 1460 2635 qup_spi16_default: qu !! 1461 config { 2636 pins = "gpio8 !! 1462 pins = "gpio43", "gpio44"; 2637 function = "q !! 1463 drive-strength = <0x02>; 2638 drive-strengt !! 1464 bias-disable; 2639 bias-disable; !! 1465 }; 2640 }; 1466 }; 2641 1467 2642 qup_i2c17_default: qu !! 1468 qup_i2c14_default: qup-i2c14-default { 2643 pins = "gpio5 !! 1469 mux { 2644 function = "q !! 1470 pins = "gpio47", "gpio48"; 2645 drive-strengt !! 1471 function = "qup14"; 2646 bias-disable; !! 1472 }; 2647 }; << 2648 1473 2649 qup_spi17_default: qu !! 1474 config { 2650 pins = "gpio5 !! 1475 pins = "gpio47", "gpio48"; 2651 function = "q !! 1476 drive-strength = <0x02>; 2652 drive-strengt !! 1477 bias-disable; 2653 bias-disable; !! 1478 }; 2654 }; 1479 }; 2655 1480 2656 qup_i2c18_default: qu !! 1481 qup_i2c15_default: qup-i2c15-default { 2657 pins = "gpio2 !! 1482 mux { 2658 function = "q !! 1483 pins = "gpio27", "gpio28"; 2659 drive-strengt !! 1484 function = "qup15"; 2660 bias-disable; !! 1485 }; 2661 }; << 2662 1486 2663 qup_spi18_default: qu !! 1487 config { 2664 pins = "gpio2 !! 1488 pins = "gpio27", "gpio28"; 2665 function = "q !! 1489 drive-strength = <0x02>; 2666 drive-strengt !! 1490 bias-disable; 2667 bias-disable; !! 1491 }; 2668 }; 1492 }; 2669 1493 2670 qup_i2c19_default: qu !! 1494 qup_i2c16_default: qup-i2c16-default { 2671 pins = "gpio5 !! 1495 mux { 2672 function = "q !! 1496 pins = "gpio86", "gpio85"; 2673 drive-strengt !! 1497 function = "qup16"; 2674 bias-disable; !! 1498 }; 2675 }; << 2676 1499 2677 qup_spi19_default: qu !! 1500 config { 2678 pins = "gpio5 !! 1501 pins = "gpio86", "gpio85"; 2679 function = "q !! 1502 drive-strength = <0x02>; 2680 drive-strengt !! 1503 bias-disable; 2681 bias-disable; !! 1504 }; 2682 }; 1505 }; 2683 1506 2684 pcie0_default_state: !! 1507 qup_i2c17_default: qup-i2c17-default { 2685 perst-pins { !! 1508 mux { 2686 pins !! 1509 pins = "gpio55", "gpio56"; 2687 funct !! 1510 function = "qup17"; 2688 drive << 2689 bias- << 2690 }; 1511 }; 2691 1512 2692 clkreq-pins { !! 1513 config { 2693 pins !! 1514 pins = "gpio55", "gpio56"; 2694 funct !! 1515 drive-strength = <0x02>; 2695 drive !! 1516 bias-disable; 2696 bias- << 2697 }; 1517 }; >> 1518 }; 2698 1519 2699 wake-pins { !! 1520 qup_i2c18_default: qup-i2c18-default { 2700 pins !! 1521 mux { 2701 funct !! 1522 pins = "gpio23", "gpio24"; 2702 drive !! 1523 function = "qup18"; 2703 bias- << 2704 }; 1524 }; 2705 }; << 2706 1525 2707 pcie1_default_state: !! 1526 config { 2708 perst-pins { !! 1527 pins = "gpio23", "gpio24"; 2709 pins !! 1528 drive-strength = <0x02>; 2710 funct !! 1529 bias-disable; 2711 drive << 2712 bias- << 2713 }; 1530 }; >> 1531 }; 2714 1532 2715 clkreq-pins { !! 1533 qup_i2c19_default: qup-i2c19-default { 2716 pins !! 1534 mux { 2717 funct !! 1535 pins = "gpio57", "gpio58"; 2718 drive !! 1536 function = "qup19"; 2719 bias- << 2720 }; 1537 }; 2721 1538 2722 wake-pins { !! 1539 config { 2723 pins !! 1540 pins = "gpio57", "gpio58"; 2724 funct !! 1541 drive-strength = <0x02>; 2725 drive !! 1542 bias-disable; 2726 bias- << 2727 }; 1543 }; 2728 }; 1544 }; 2729 }; 1545 }; 2730 1546 2731 remoteproc_mpss: remoteproc@4 1547 remoteproc_mpss: remoteproc@4080000 { 2732 compatible = "qcom,sm 1548 compatible = "qcom,sm8150-mpss-pas"; 2733 reg = <0x0 0x04080000 1549 reg = <0x0 0x04080000 0x0 0x4040>; 2734 1550 2735 interrupts-extended = 1551 interrupts-extended = <&intc GIC_SPI 266 IRQ_TYPE_EDGE_RISING>, 2736 1552 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 2737 1553 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 2738 1554 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 2739 1555 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 2740 1556 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 2741 interrupt-names = "wd 1557 interrupt-names = "wdog", "fatal", "ready", "handover", 2742 "st 1558 "stop-ack", "shutdown-ack"; 2743 1559 2744 clocks = <&rpmhcc RPM 1560 clocks = <&rpmhcc RPMH_CXO_CLK>; 2745 clock-names = "xo"; 1561 clock-names = "xo"; 2746 1562 2747 power-domains = <&rpm !! 1563 power-domains = <&aoss_qmp AOSS_QMP_LS_MODEM>, 2748 <&rpm !! 1564 <&rpmhpd 7>, 2749 power-domain-names = !! 1565 <&rpmhpd 0>; >> 1566 power-domain-names = "load_state", "cx", "mss"; 2750 1567 2751 memory-region = <&mps 1568 memory-region = <&mpss_mem>; 2752 1569 2753 qcom,qmp = <&aoss_qmp << 2754 << 2755 qcom,smem-states = <& 1570 qcom,smem-states = <&modem_smp2p_out 0>; 2756 qcom,smem-state-names 1571 qcom,smem-state-names = "stop"; 2757 1572 2758 status = "disabled"; 1573 status = "disabled"; 2759 1574 2760 glink-edge { 1575 glink-edge { 2761 interrupts = 1576 interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>; 2762 label = "mode 1577 label = "modem"; 2763 qcom,remote-p 1578 qcom,remote-pid = <1>; 2764 mboxes = <&ap 1579 mboxes = <&apss_shared 12>; 2765 }; 1580 }; 2766 }; 1581 }; 2767 1582 2768 stm@6002000 { 1583 stm@6002000 { 2769 compatible = "arm,cor 1584 compatible = "arm,coresight-stm", "arm,primecell"; 2770 reg = <0 0x06002000 0 1585 reg = <0 0x06002000 0 0x1000>, 2771 <0 0x16280000 0 1586 <0 0x16280000 0 0x180000>; 2772 reg-names = "stm-base 1587 reg-names = "stm-base", "stm-stimulus-base"; 2773 1588 2774 clocks = <&aoss_qmp>; 1589 clocks = <&aoss_qmp>; 2775 clock-names = "apb_pc 1590 clock-names = "apb_pclk"; 2776 1591 2777 out-ports { 1592 out-ports { 2778 port { 1593 port { 2779 stm_o 1594 stm_out: endpoint { 2780 1595 remote-endpoint = <&funnel0_in7>; 2781 }; 1596 }; 2782 }; 1597 }; 2783 }; 1598 }; 2784 }; 1599 }; 2785 1600 2786 funnel@6041000 { 1601 funnel@6041000 { 2787 compatible = "arm,cor 1602 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 2788 reg = <0 0x06041000 0 1603 reg = <0 0x06041000 0 0x1000>; 2789 1604 2790 clocks = <&aoss_qmp>; 1605 clocks = <&aoss_qmp>; 2791 clock-names = "apb_pc 1606 clock-names = "apb_pclk"; 2792 1607 2793 out-ports { 1608 out-ports { 2794 port { 1609 port { 2795 funne 1610 funnel0_out: endpoint { 2796 1611 remote-endpoint = <&merge_funnel_in0>; 2797 }; 1612 }; 2798 }; 1613 }; 2799 }; 1614 }; 2800 1615 2801 in-ports { 1616 in-ports { 2802 #address-cell 1617 #address-cells = <1>; 2803 #size-cells = 1618 #size-cells = <0>; 2804 1619 2805 port@7 { 1620 port@7 { 2806 reg = 1621 reg = <7>; 2807 funne 1622 funnel0_in7: endpoint { 2808 1623 remote-endpoint = <&stm_out>; 2809 }; 1624 }; 2810 }; 1625 }; 2811 }; 1626 }; 2812 }; 1627 }; 2813 1628 2814 funnel@6042000 { 1629 funnel@6042000 { 2815 compatible = "arm,cor 1630 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 2816 reg = <0 0x06042000 0 1631 reg = <0 0x06042000 0 0x1000>; 2817 1632 2818 clocks = <&aoss_qmp>; 1633 clocks = <&aoss_qmp>; 2819 clock-names = "apb_pc 1634 clock-names = "apb_pclk"; 2820 1635 2821 out-ports { 1636 out-ports { 2822 port { 1637 port { 2823 funne 1638 funnel1_out: endpoint { 2824 1639 remote-endpoint = <&merge_funnel_in1>; 2825 }; 1640 }; 2826 }; 1641 }; 2827 }; 1642 }; 2828 1643 2829 in-ports { 1644 in-ports { 2830 #address-cell 1645 #address-cells = <1>; 2831 #size-cells = 1646 #size-cells = <0>; 2832 1647 2833 port@4 { 1648 port@4 { 2834 reg = 1649 reg = <4>; 2835 funne 1650 funnel1_in4: endpoint { 2836 1651 remote-endpoint = <&swao_replicator_out>; 2837 }; 1652 }; 2838 }; 1653 }; 2839 }; 1654 }; 2840 }; 1655 }; 2841 1656 2842 funnel@6043000 { 1657 funnel@6043000 { 2843 compatible = "arm,cor 1658 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 2844 reg = <0 0x06043000 0 1659 reg = <0 0x06043000 0 0x1000>; 2845 1660 2846 clocks = <&aoss_qmp>; 1661 clocks = <&aoss_qmp>; 2847 clock-names = "apb_pc 1662 clock-names = "apb_pclk"; 2848 1663 2849 out-ports { 1664 out-ports { 2850 port { 1665 port { 2851 funne 1666 funnel2_out: endpoint { 2852 1667 remote-endpoint = <&merge_funnel_in2>; 2853 }; 1668 }; 2854 }; 1669 }; 2855 }; 1670 }; 2856 1671 2857 in-ports { 1672 in-ports { 2858 #address-cell 1673 #address-cells = <1>; 2859 #size-cells = 1674 #size-cells = <0>; 2860 1675 2861 port@2 { 1676 port@2 { 2862 reg = 1677 reg = <2>; 2863 funne 1678 funnel2_in2: endpoint { 2864 1679 remote-endpoint = <&apss_merge_funnel_out>; 2865 }; 1680 }; 2866 }; 1681 }; 2867 }; 1682 }; 2868 }; 1683 }; 2869 1684 2870 funnel@6045000 { 1685 funnel@6045000 { 2871 compatible = "arm,cor 1686 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 2872 reg = <0 0x06045000 0 1687 reg = <0 0x06045000 0 0x1000>; 2873 1688 2874 clocks = <&aoss_qmp>; 1689 clocks = <&aoss_qmp>; 2875 clock-names = "apb_pc 1690 clock-names = "apb_pclk"; 2876 1691 2877 out-ports { 1692 out-ports { 2878 port { 1693 port { 2879 merge 1694 merge_funnel_out: endpoint { 2880 1695 remote-endpoint = <&etf_in>; 2881 }; 1696 }; 2882 }; 1697 }; 2883 }; 1698 }; 2884 1699 2885 in-ports { 1700 in-ports { 2886 #address-cell 1701 #address-cells = <1>; 2887 #size-cells = 1702 #size-cells = <0>; 2888 1703 2889 port@0 { 1704 port@0 { 2890 reg = 1705 reg = <0>; 2891 merge 1706 merge_funnel_in0: endpoint { 2892 1707 remote-endpoint = <&funnel0_out>; 2893 }; 1708 }; 2894 }; 1709 }; 2895 1710 2896 port@1 { 1711 port@1 { 2897 reg = 1712 reg = <1>; 2898 merge 1713 merge_funnel_in1: endpoint { 2899 1714 remote-endpoint = <&funnel1_out>; 2900 }; 1715 }; 2901 }; 1716 }; 2902 1717 2903 port@2 { 1718 port@2 { 2904 reg = 1719 reg = <2>; 2905 merge 1720 merge_funnel_in2: endpoint { 2906 1721 remote-endpoint = <&funnel2_out>; 2907 }; 1722 }; 2908 }; 1723 }; 2909 }; 1724 }; 2910 }; 1725 }; 2911 1726 2912 replicator@6046000 { 1727 replicator@6046000 { 2913 compatible = "arm,cor 1728 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 2914 reg = <0 0x06046000 0 1729 reg = <0 0x06046000 0 0x1000>; 2915 1730 2916 clocks = <&aoss_qmp>; 1731 clocks = <&aoss_qmp>; 2917 clock-names = "apb_pc 1732 clock-names = "apb_pclk"; 2918 1733 2919 out-ports { 1734 out-ports { 2920 #address-cell 1735 #address-cells = <1>; 2921 #size-cells = 1736 #size-cells = <0>; 2922 1737 2923 port@0 { 1738 port@0 { 2924 reg = 1739 reg = <0>; 2925 repli 1740 replicator_out0: endpoint { 2926 1741 remote-endpoint = <&etr_in>; 2927 }; 1742 }; 2928 }; 1743 }; 2929 1744 2930 port@1 { 1745 port@1 { 2931 reg = 1746 reg = <1>; 2932 repli 1747 replicator_out1: endpoint { 2933 1748 remote-endpoint = <&replicator1_in>; 2934 }; 1749 }; 2935 }; 1750 }; 2936 }; 1751 }; 2937 1752 2938 in-ports { 1753 in-ports { 2939 port { 1754 port { 2940 repli 1755 replicator_in0: endpoint { 2941 1756 remote-endpoint = <&etf_out>; 2942 }; 1757 }; 2943 }; 1758 }; 2944 }; 1759 }; 2945 }; 1760 }; 2946 1761 2947 etf@6047000 { 1762 etf@6047000 { 2948 compatible = "arm,cor 1763 compatible = "arm,coresight-tmc", "arm,primecell"; 2949 reg = <0 0x06047000 0 1764 reg = <0 0x06047000 0 0x1000>; 2950 1765 2951 clocks = <&aoss_qmp>; 1766 clocks = <&aoss_qmp>; 2952 clock-names = "apb_pc 1767 clock-names = "apb_pclk"; 2953 1768 2954 out-ports { 1769 out-ports { 2955 port { 1770 port { 2956 etf_o 1771 etf_out: endpoint { 2957 1772 remote-endpoint = <&replicator_in0>; 2958 }; 1773 }; 2959 }; 1774 }; 2960 }; 1775 }; 2961 1776 2962 in-ports { 1777 in-ports { 2963 port { 1778 port { 2964 etf_i 1779 etf_in: endpoint { 2965 1780 remote-endpoint = <&merge_funnel_out>; 2966 }; 1781 }; 2967 }; 1782 }; 2968 }; 1783 }; 2969 }; 1784 }; 2970 1785 2971 etr@6048000 { 1786 etr@6048000 { 2972 compatible = "arm,cor 1787 compatible = "arm,coresight-tmc", "arm,primecell"; 2973 reg = <0 0x06048000 0 1788 reg = <0 0x06048000 0 0x1000>; 2974 iommus = <&apps_smmu 1789 iommus = <&apps_smmu 0x05e0 0x0>; 2975 1790 2976 clocks = <&aoss_qmp>; 1791 clocks = <&aoss_qmp>; 2977 clock-names = "apb_pc 1792 clock-names = "apb_pclk"; 2978 arm,scatter-gather; 1793 arm,scatter-gather; 2979 1794 2980 in-ports { 1795 in-ports { 2981 port { 1796 port { 2982 etr_i 1797 etr_in: endpoint { 2983 1798 remote-endpoint = <&replicator_out0>; 2984 }; 1799 }; 2985 }; 1800 }; 2986 }; 1801 }; 2987 }; 1802 }; 2988 1803 2989 replicator@604a000 { 1804 replicator@604a000 { 2990 compatible = "arm,cor 1805 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 2991 reg = <0 0x0604a000 0 1806 reg = <0 0x0604a000 0 0x1000>; 2992 1807 2993 clocks = <&aoss_qmp>; 1808 clocks = <&aoss_qmp>; 2994 clock-names = "apb_pc 1809 clock-names = "apb_pclk"; 2995 1810 2996 out-ports { 1811 out-ports { 2997 #address-cell 1812 #address-cells = <1>; 2998 #size-cells = 1813 #size-cells = <0>; 2999 1814 3000 port@1 { 1815 port@1 { 3001 reg = 1816 reg = <1>; 3002 repli 1817 replicator1_out: endpoint { 3003 1818 remote-endpoint = <&swao_funnel_in>; 3004 }; 1819 }; 3005 }; 1820 }; 3006 }; 1821 }; 3007 1822 3008 in-ports { 1823 in-ports { >> 1824 #address-cells = <1>; >> 1825 #size-cells = <0>; 3009 1826 3010 port { !! 1827 port@1 { >> 1828 reg = <1>; 3011 repli 1829 replicator1_in: endpoint { 3012 1830 remote-endpoint = <&replicator_out1>; 3013 }; 1831 }; 3014 }; 1832 }; 3015 }; 1833 }; 3016 }; 1834 }; 3017 1835 3018 funnel@6b08000 { 1836 funnel@6b08000 { 3019 compatible = "arm,cor 1837 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3020 reg = <0 0x06b08000 0 1838 reg = <0 0x06b08000 0 0x1000>; 3021 1839 3022 clocks = <&aoss_qmp>; 1840 clocks = <&aoss_qmp>; 3023 clock-names = "apb_pc 1841 clock-names = "apb_pclk"; 3024 1842 3025 out-ports { 1843 out-ports { 3026 port { 1844 port { 3027 swao_ 1845 swao_funnel_out: endpoint { 3028 1846 remote-endpoint = <&swao_etf_in>; 3029 }; 1847 }; 3030 }; 1848 }; 3031 }; 1849 }; 3032 1850 3033 in-ports { 1851 in-ports { 3034 #address-cell 1852 #address-cells = <1>; 3035 #size-cells = 1853 #size-cells = <0>; 3036 1854 3037 port@6 { 1855 port@6 { 3038 reg = 1856 reg = <6>; 3039 swao_ 1857 swao_funnel_in: endpoint { 3040 1858 remote-endpoint = <&replicator1_out>; 3041 }; 1859 }; 3042 }; 1860 }; 3043 }; 1861 }; 3044 }; 1862 }; 3045 1863 3046 etf@6b09000 { 1864 etf@6b09000 { 3047 compatible = "arm,cor 1865 compatible = "arm,coresight-tmc", "arm,primecell"; 3048 reg = <0 0x06b09000 0 1866 reg = <0 0x06b09000 0 0x1000>; 3049 1867 3050 clocks = <&aoss_qmp>; 1868 clocks = <&aoss_qmp>; 3051 clock-names = "apb_pc 1869 clock-names = "apb_pclk"; 3052 1870 3053 out-ports { 1871 out-ports { 3054 port { 1872 port { 3055 swao_ 1873 swao_etf_out: endpoint { 3056 1874 remote-endpoint = <&swao_replicator_in>; 3057 }; 1875 }; 3058 }; 1876 }; 3059 }; 1877 }; 3060 1878 3061 in-ports { 1879 in-ports { 3062 port { 1880 port { 3063 swao_ 1881 swao_etf_in: endpoint { 3064 1882 remote-endpoint = <&swao_funnel_out>; 3065 }; 1883 }; 3066 }; 1884 }; 3067 }; 1885 }; 3068 }; 1886 }; 3069 1887 3070 replicator@6b0a000 { 1888 replicator@6b0a000 { 3071 compatible = "arm,cor 1889 compatible = "arm,coresight-dynamic-replicator", "arm,primecell"; 3072 reg = <0 0x06b0a000 0 1890 reg = <0 0x06b0a000 0 0x1000>; 3073 1891 3074 clocks = <&aoss_qmp>; 1892 clocks = <&aoss_qmp>; 3075 clock-names = "apb_pc 1893 clock-names = "apb_pclk"; 3076 qcom,replicator-loses 1894 qcom,replicator-loses-context; 3077 1895 3078 out-ports { 1896 out-ports { 3079 port { 1897 port { 3080 swao_ 1898 swao_replicator_out: endpoint { 3081 1899 remote-endpoint = <&funnel1_in4>; 3082 }; 1900 }; 3083 }; 1901 }; 3084 }; 1902 }; 3085 1903 3086 in-ports { 1904 in-ports { 3087 port { 1905 port { 3088 swao_ 1906 swao_replicator_in: endpoint { 3089 1907 remote-endpoint = <&swao_etf_out>; 3090 }; 1908 }; 3091 }; 1909 }; 3092 }; 1910 }; 3093 }; 1911 }; 3094 1912 3095 etm@7040000 { 1913 etm@7040000 { 3096 compatible = "arm,cor 1914 compatible = "arm,coresight-etm4x", "arm,primecell"; 3097 reg = <0 0x07040000 0 1915 reg = <0 0x07040000 0 0x1000>; 3098 1916 3099 cpu = <&CPU0>; 1917 cpu = <&CPU0>; 3100 1918 3101 clocks = <&aoss_qmp>; 1919 clocks = <&aoss_qmp>; 3102 clock-names = "apb_pc 1920 clock-names = "apb_pclk"; 3103 arm,coresight-loses-c 1921 arm,coresight-loses-context-with-cpu; 3104 qcom,skip-power-up; 1922 qcom,skip-power-up; 3105 1923 3106 out-ports { 1924 out-ports { 3107 port { 1925 port { 3108 etm0_ 1926 etm0_out: endpoint { 3109 1927 remote-endpoint = <&apss_funnel_in0>; 3110 }; 1928 }; 3111 }; 1929 }; 3112 }; 1930 }; 3113 }; 1931 }; 3114 1932 3115 etm@7140000 { 1933 etm@7140000 { 3116 compatible = "arm,cor 1934 compatible = "arm,coresight-etm4x", "arm,primecell"; 3117 reg = <0 0x07140000 0 1935 reg = <0 0x07140000 0 0x1000>; 3118 1936 3119 cpu = <&CPU1>; 1937 cpu = <&CPU1>; 3120 1938 3121 clocks = <&aoss_qmp>; 1939 clocks = <&aoss_qmp>; 3122 clock-names = "apb_pc 1940 clock-names = "apb_pclk"; 3123 arm,coresight-loses-c 1941 arm,coresight-loses-context-with-cpu; 3124 qcom,skip-power-up; 1942 qcom,skip-power-up; 3125 1943 3126 out-ports { 1944 out-ports { 3127 port { 1945 port { 3128 etm1_ 1946 etm1_out: endpoint { 3129 1947 remote-endpoint = <&apss_funnel_in1>; 3130 }; 1948 }; 3131 }; 1949 }; 3132 }; 1950 }; 3133 }; 1951 }; 3134 1952 3135 etm@7240000 { 1953 etm@7240000 { 3136 compatible = "arm,cor 1954 compatible = "arm,coresight-etm4x", "arm,primecell"; 3137 reg = <0 0x07240000 0 1955 reg = <0 0x07240000 0 0x1000>; 3138 1956 3139 cpu = <&CPU2>; 1957 cpu = <&CPU2>; 3140 1958 3141 clocks = <&aoss_qmp>; 1959 clocks = <&aoss_qmp>; 3142 clock-names = "apb_pc 1960 clock-names = "apb_pclk"; 3143 arm,coresight-loses-c 1961 arm,coresight-loses-context-with-cpu; 3144 qcom,skip-power-up; 1962 qcom,skip-power-up; 3145 1963 3146 out-ports { 1964 out-ports { 3147 port { 1965 port { 3148 etm2_ 1966 etm2_out: endpoint { 3149 1967 remote-endpoint = <&apss_funnel_in2>; 3150 }; 1968 }; 3151 }; 1969 }; 3152 }; 1970 }; 3153 }; 1971 }; 3154 1972 3155 etm@7340000 { 1973 etm@7340000 { 3156 compatible = "arm,cor 1974 compatible = "arm,coresight-etm4x", "arm,primecell"; 3157 reg = <0 0x07340000 0 1975 reg = <0 0x07340000 0 0x1000>; 3158 1976 3159 cpu = <&CPU3>; 1977 cpu = <&CPU3>; 3160 1978 3161 clocks = <&aoss_qmp>; 1979 clocks = <&aoss_qmp>; 3162 clock-names = "apb_pc 1980 clock-names = "apb_pclk"; 3163 arm,coresight-loses-c 1981 arm,coresight-loses-context-with-cpu; 3164 qcom,skip-power-up; 1982 qcom,skip-power-up; 3165 1983 3166 out-ports { 1984 out-ports { 3167 port { 1985 port { 3168 etm3_ 1986 etm3_out: endpoint { 3169 1987 remote-endpoint = <&apss_funnel_in3>; 3170 }; 1988 }; 3171 }; 1989 }; 3172 }; 1990 }; 3173 }; 1991 }; 3174 1992 3175 etm@7440000 { 1993 etm@7440000 { 3176 compatible = "arm,cor 1994 compatible = "arm,coresight-etm4x", "arm,primecell"; 3177 reg = <0 0x07440000 0 1995 reg = <0 0x07440000 0 0x1000>; 3178 1996 3179 cpu = <&CPU4>; 1997 cpu = <&CPU4>; 3180 1998 3181 clocks = <&aoss_qmp>; 1999 clocks = <&aoss_qmp>; 3182 clock-names = "apb_pc 2000 clock-names = "apb_pclk"; 3183 arm,coresight-loses-c 2001 arm,coresight-loses-context-with-cpu; 3184 qcom,skip-power-up; 2002 qcom,skip-power-up; 3185 2003 3186 out-ports { 2004 out-ports { 3187 port { 2005 port { 3188 etm4_ 2006 etm4_out: endpoint { 3189 2007 remote-endpoint = <&apss_funnel_in4>; 3190 }; 2008 }; 3191 }; 2009 }; 3192 }; 2010 }; 3193 }; 2011 }; 3194 2012 3195 etm@7540000 { 2013 etm@7540000 { 3196 compatible = "arm,cor 2014 compatible = "arm,coresight-etm4x", "arm,primecell"; 3197 reg = <0 0x07540000 0 2015 reg = <0 0x07540000 0 0x1000>; 3198 2016 3199 cpu = <&CPU5>; 2017 cpu = <&CPU5>; 3200 2018 3201 clocks = <&aoss_qmp>; 2019 clocks = <&aoss_qmp>; 3202 clock-names = "apb_pc 2020 clock-names = "apb_pclk"; 3203 arm,coresight-loses-c 2021 arm,coresight-loses-context-with-cpu; 3204 qcom,skip-power-up; 2022 qcom,skip-power-up; 3205 2023 3206 out-ports { 2024 out-ports { 3207 port { 2025 port { 3208 etm5_ 2026 etm5_out: endpoint { 3209 2027 remote-endpoint = <&apss_funnel_in5>; 3210 }; 2028 }; 3211 }; 2029 }; 3212 }; 2030 }; 3213 }; 2031 }; 3214 2032 3215 etm@7640000 { 2033 etm@7640000 { 3216 compatible = "arm,cor 2034 compatible = "arm,coresight-etm4x", "arm,primecell"; 3217 reg = <0 0x07640000 0 2035 reg = <0 0x07640000 0 0x1000>; 3218 2036 3219 cpu = <&CPU6>; 2037 cpu = <&CPU6>; 3220 2038 3221 clocks = <&aoss_qmp>; 2039 clocks = <&aoss_qmp>; 3222 clock-names = "apb_pc 2040 clock-names = "apb_pclk"; 3223 arm,coresight-loses-c 2041 arm,coresight-loses-context-with-cpu; 3224 qcom,skip-power-up; 2042 qcom,skip-power-up; 3225 2043 3226 out-ports { 2044 out-ports { 3227 port { 2045 port { 3228 etm6_ 2046 etm6_out: endpoint { 3229 2047 remote-endpoint = <&apss_funnel_in6>; 3230 }; 2048 }; 3231 }; 2049 }; 3232 }; 2050 }; 3233 }; 2051 }; 3234 2052 3235 etm@7740000 { 2053 etm@7740000 { 3236 compatible = "arm,cor 2054 compatible = "arm,coresight-etm4x", "arm,primecell"; 3237 reg = <0 0x07740000 0 2055 reg = <0 0x07740000 0 0x1000>; 3238 2056 3239 cpu = <&CPU7>; 2057 cpu = <&CPU7>; 3240 2058 3241 clocks = <&aoss_qmp>; 2059 clocks = <&aoss_qmp>; 3242 clock-names = "apb_pc 2060 clock-names = "apb_pclk"; 3243 arm,coresight-loses-c 2061 arm,coresight-loses-context-with-cpu; 3244 qcom,skip-power-up; 2062 qcom,skip-power-up; 3245 2063 3246 out-ports { 2064 out-ports { 3247 port { 2065 port { 3248 etm7_ 2066 etm7_out: endpoint { 3249 2067 remote-endpoint = <&apss_funnel_in7>; 3250 }; 2068 }; 3251 }; 2069 }; 3252 }; 2070 }; 3253 }; 2071 }; 3254 2072 3255 funnel@7800000 { /* APSS Funn 2073 funnel@7800000 { /* APSS Funnel */ 3256 compatible = "arm,cor 2074 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3257 reg = <0 0x07800000 0 2075 reg = <0 0x07800000 0 0x1000>; 3258 2076 3259 clocks = <&aoss_qmp>; 2077 clocks = <&aoss_qmp>; 3260 clock-names = "apb_pc 2078 clock-names = "apb_pclk"; 3261 2079 3262 out-ports { 2080 out-ports { 3263 port { 2081 port { 3264 apss_ 2082 apss_funnel_out: endpoint { 3265 2083 remote-endpoint = <&apss_merge_funnel_in>; 3266 }; 2084 }; 3267 }; 2085 }; 3268 }; 2086 }; 3269 2087 3270 in-ports { 2088 in-ports { 3271 #address-cell 2089 #address-cells = <1>; 3272 #size-cells = 2090 #size-cells = <0>; 3273 2091 3274 port@0 { 2092 port@0 { 3275 reg = 2093 reg = <0>; 3276 apss_ 2094 apss_funnel_in0: endpoint { 3277 2095 remote-endpoint = <&etm0_out>; 3278 }; 2096 }; 3279 }; 2097 }; 3280 2098 3281 port@1 { 2099 port@1 { 3282 reg = 2100 reg = <1>; 3283 apss_ 2101 apss_funnel_in1: endpoint { 3284 2102 remote-endpoint = <&etm1_out>; 3285 }; 2103 }; 3286 }; 2104 }; 3287 2105 3288 port@2 { 2106 port@2 { 3289 reg = 2107 reg = <2>; 3290 apss_ 2108 apss_funnel_in2: endpoint { 3291 2109 remote-endpoint = <&etm2_out>; 3292 }; 2110 }; 3293 }; 2111 }; 3294 2112 3295 port@3 { 2113 port@3 { 3296 reg = 2114 reg = <3>; 3297 apss_ 2115 apss_funnel_in3: endpoint { 3298 2116 remote-endpoint = <&etm3_out>; 3299 }; 2117 }; 3300 }; 2118 }; 3301 2119 3302 port@4 { 2120 port@4 { 3303 reg = 2121 reg = <4>; 3304 apss_ 2122 apss_funnel_in4: endpoint { 3305 2123 remote-endpoint = <&etm4_out>; 3306 }; 2124 }; 3307 }; 2125 }; 3308 2126 3309 port@5 { 2127 port@5 { 3310 reg = 2128 reg = <5>; 3311 apss_ 2129 apss_funnel_in5: endpoint { 3312 2130 remote-endpoint = <&etm5_out>; 3313 }; 2131 }; 3314 }; 2132 }; 3315 2133 3316 port@6 { 2134 port@6 { 3317 reg = 2135 reg = <6>; 3318 apss_ 2136 apss_funnel_in6: endpoint { 3319 2137 remote-endpoint = <&etm6_out>; 3320 }; 2138 }; 3321 }; 2139 }; 3322 2140 3323 port@7 { 2141 port@7 { 3324 reg = 2142 reg = <7>; 3325 apss_ 2143 apss_funnel_in7: endpoint { 3326 2144 remote-endpoint = <&etm7_out>; 3327 }; 2145 }; 3328 }; 2146 }; 3329 }; 2147 }; 3330 }; 2148 }; 3331 2149 3332 funnel@7810000 { 2150 funnel@7810000 { 3333 compatible = "arm,cor 2151 compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; 3334 reg = <0 0x07810000 0 2152 reg = <0 0x07810000 0 0x1000>; 3335 2153 3336 clocks = <&aoss_qmp>; 2154 clocks = <&aoss_qmp>; 3337 clock-names = "apb_pc 2155 clock-names = "apb_pclk"; 3338 2156 3339 out-ports { 2157 out-ports { 3340 port { 2158 port { 3341 apss_ 2159 apss_merge_funnel_out: endpoint { 3342 2160 remote-endpoint = <&funnel2_in2>; 3343 }; 2161 }; 3344 }; 2162 }; 3345 }; 2163 }; 3346 2164 3347 in-ports { 2165 in-ports { 3348 port { 2166 port { 3349 apss_ 2167 apss_merge_funnel_in: endpoint { 3350 2168 remote-endpoint = <&apss_funnel_out>; 3351 }; 2169 }; 3352 }; 2170 }; 3353 }; 2171 }; 3354 }; 2172 }; 3355 2173 3356 remoteproc_cdsp: remoteproc@8 2174 remoteproc_cdsp: remoteproc@8300000 { 3357 compatible = "qcom,sm 2175 compatible = "qcom,sm8150-cdsp-pas"; 3358 reg = <0x0 0x08300000 2176 reg = <0x0 0x08300000 0x0 0x4040>; 3359 2177 3360 interrupts-extended = 2178 interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, 3361 2179 <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 3362 2180 <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 3363 2181 <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 3364 2182 <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 3365 interrupt-names = "wd 2183 interrupt-names = "wdog", "fatal", "ready", 3366 "ha 2184 "handover", "stop-ack"; 3367 2185 3368 clocks = <&rpmhcc RPM 2186 clocks = <&rpmhcc RPMH_CXO_CLK>; 3369 clock-names = "xo"; 2187 clock-names = "xo"; 3370 2188 3371 power-domains = <&rpm !! 2189 power-domains = <&aoss_qmp AOSS_QMP_LS_CDSP>, >> 2190 <&rpmhpd 7>; >> 2191 power-domain-names = "load_state", "cx"; 3372 2192 3373 memory-region = <&cds 2193 memory-region = <&cdsp_mem>; 3374 2194 3375 qcom,qmp = <&aoss_qmp << 3376 << 3377 qcom,smem-states = <& 2195 qcom,smem-states = <&cdsp_smp2p_out 0>; 3378 qcom,smem-state-names 2196 qcom,smem-state-names = "stop"; 3379 2197 3380 status = "disabled"; 2198 status = "disabled"; 3381 2199 3382 glink-edge { 2200 glink-edge { 3383 interrupts = 2201 interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>; 3384 label = "cdsp 2202 label = "cdsp"; 3385 qcom,remote-p 2203 qcom,remote-pid = <5>; 3386 mboxes = <&ap 2204 mboxes = <&apss_shared 4>; 3387 << 3388 fastrpc { << 3389 compa << 3390 qcom, << 3391 label << 3392 qcom, << 3393 #addr << 3394 #size << 3395 << 3396 compu << 3397 << 3398 << 3399 << 3400 }; << 3401 << 3402 compu << 3403 << 3404 << 3405 << 3406 }; << 3407 << 3408 compu << 3409 << 3410 << 3411 << 3412 }; << 3413 << 3414 compu << 3415 << 3416 << 3417 << 3418 }; << 3419 << 3420 compu << 3421 << 3422 << 3423 << 3424 }; << 3425 << 3426 compu << 3427 << 3428 << 3429 << 3430 }; << 3431 << 3432 compu << 3433 << 3434 << 3435 << 3436 }; << 3437 << 3438 compu << 3439 << 3440 << 3441 << 3442 }; << 3443 << 3444 /* no << 3445 }; << 3446 }; 2205 }; 3447 }; 2206 }; 3448 2207 3449 usb_1_hsphy: phy@88e2000 { 2208 usb_1_hsphy: phy@88e2000 { 3450 compatible = "qcom,sm 2209 compatible = "qcom,sm8150-usb-hs-phy", 3451 "qcom,us 2210 "qcom,usb-snps-hs-7nm-phy"; 3452 reg = <0 0x088e2000 0 2211 reg = <0 0x088e2000 0 0x400>; 3453 status = "disabled"; 2212 status = "disabled"; 3454 #phy-cells = <0>; 2213 #phy-cells = <0>; 3455 2214 3456 clocks = <&rpmhcc RPM 2215 clocks = <&rpmhcc RPMH_CXO_CLK>; 3457 clock-names = "ref"; 2216 clock-names = "ref"; 3458 2217 3459 resets = <&gcc GCC_QU 2218 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 3460 }; 2219 }; 3461 2220 3462 usb_2_hsphy: phy@88e3000 { 2221 usb_2_hsphy: phy@88e3000 { 3463 compatible = "qcom,sm 2222 compatible = "qcom,sm8150-usb-hs-phy", 3464 "qcom,us 2223 "qcom,usb-snps-hs-7nm-phy"; 3465 reg = <0 0x088e3000 0 2224 reg = <0 0x088e3000 0 0x400>; 3466 status = "disabled"; 2225 status = "disabled"; 3467 #phy-cells = <0>; 2226 #phy-cells = <0>; 3468 2227 3469 clocks = <&rpmhcc RPM 2228 clocks = <&rpmhcc RPMH_CXO_CLK>; 3470 clock-names = "ref"; 2229 clock-names = "ref"; 3471 2230 3472 resets = <&gcc GCC_QU 2231 resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; 3473 }; 2232 }; 3474 2233 3475 usb_1_qmpphy: phy@88e8000 { !! 2234 usb_1_qmpphy: phy@88e9000 { 3476 compatible = "qcom,sm !! 2235 compatible = "qcom,sm8150-qmp-usb3-phy"; 3477 reg = <0 0x088e8000 0 !! 2236 reg = <0 0x088e9000 0 0x18c>, >> 2237 <0 0x088e8000 0 0x10>; >> 2238 reg-names = "reg-base", "dp_com"; >> 2239 status = "disabled"; >> 2240 #address-cells = <2>; >> 2241 #size-cells = <2>; >> 2242 ranges; 3478 2243 3479 clocks = <&gcc GCC_US 2244 clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, >> 2245 <&rpmhcc RPMH_CXO_CLK>, 3480 <&gcc GCC_US 2246 <&gcc GCC_USB3_PRIM_CLKREF_CLK>, 3481 <&gcc GCC_US !! 2247 <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>; 3482 <&gcc GCC_US !! 2248 clock-names = "aux", "ref_clk_src", "ref", "com_aux"; 3483 clock-names = "aux", << 3484 "ref", << 3485 "com_au << 3486 "usb3_p << 3487 2249 3488 resets = <&gcc GCC_US 2250 resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>, 3489 <&gcc GCC_US 2251 <&gcc GCC_USB3_PHY_PRIM_BCR>; 3490 reset-names = "phy", 2252 reset-names = "phy", "common"; 3491 2253 3492 #clock-cells = <1>; !! 2254 usb_1_ssphy: lanes@88e9200 { 3493 #phy-cells = <1>; !! 2255 reg = <0 0x088e9200 0 0x200>, 3494 !! 2256 <0 0x088e9400 0 0x200>, 3495 status = "disabled"; !! 2257 <0 0x088e9c00 0 0x218>, 3496 !! 2258 <0 0x088e9600 0 0x200>, 3497 ports { !! 2259 <0 0x088e9800 0 0x200>, 3498 #address-cell !! 2260 <0 0x088e9a00 0 0x100>; 3499 #size-cells = !! 2261 #clock-cells = <0>; 3500 !! 2262 #phy-cells = <0>; 3501 port@0 { !! 2263 clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; 3502 reg = !! 2264 clock-names = "pipe0"; 3503 !! 2265 clock-output-names = "usb3_phy_pipe_clk_src"; 3504 usb_1 << 3505 }; << 3506 }; << 3507 << 3508 port@1 { << 3509 reg = << 3510 << 3511 usb_1 << 3512 << 3513 }; << 3514 }; << 3515 << 3516 port@2 { << 3517 reg = << 3518 << 3519 usb_1 << 3520 << 3521 }; << 3522 }; << 3523 }; << 3524 }; << 3525 << 3526 usb_2_qmpphy: phy@88eb000 { << 3527 compatible = "qcom,sm << 3528 reg = <0 0x088eb000 0 << 3529 << 3530 clocks = <&gcc GCC_US << 3531 <&gcc GCC_US << 3532 <&gcc GCC_US << 3533 <&gcc GCC_US << 3534 clock-names = "aux", << 3535 "ref", << 3536 "com_au << 3537 "pipe"; << 3538 clock-output-names = << 3539 #clock-cells = <0>; << 3540 #phy-cells = <0>; << 3541 << 3542 resets = <&gcc GCC_US << 3543 <&gcc GCC_US << 3544 reset-names = "phy", << 3545 "phy_ph << 3546 << 3547 status = "disabled"; << 3548 }; << 3549 << 3550 sdhc_2: mmc@8804000 { << 3551 compatible = "qcom,sm << 3552 reg = <0 0x08804000 0 << 3553 << 3554 interrupts = <GIC_SPI << 3555 <GIC_SPI << 3556 interrupt-names = "hc << 3557 << 3558 clocks = <&gcc GCC_SD << 3559 <&gcc GCC_SD << 3560 <&rpmhcc RPM << 3561 clock-names = "iface" << 3562 iommus = <&apps_smmu << 3563 qcom,dll-config = <0x << 3564 qcom,ddr-config = <0x << 3565 power-domains = <&rpm << 3566 operating-points-v2 = << 3567 << 3568 status = "disabled"; << 3569 << 3570 sdhc2_opp_table: opp- << 3571 compatible = << 3572 << 3573 opp-19200000 << 3574 opp-h << 3575 requi << 3576 }; << 3577 << 3578 opp-50000000 << 3579 opp-h << 3580 requi << 3581 }; << 3582 << 3583 opp-100000000 << 3584 opp-h << 3585 requi << 3586 }; << 3587 << 3588 opp-202000000 << 3589 opp-h << 3590 requi << 3591 }; << 3592 }; 2266 }; 3593 }; 2267 }; 3594 2268 3595 dc_noc: interconnect@9160000 2269 dc_noc: interconnect@9160000 { 3596 compatible = "qcom,sm 2270 compatible = "qcom,sm8150-dc-noc"; 3597 reg = <0 0x09160000 0 2271 reg = <0 0x09160000 0 0x3200>; 3598 #interconnect-cells = !! 2272 #interconnect-cells = <1>; 3599 qcom,bcm-voters = <&a 2273 qcom,bcm-voters = <&apps_bcm_voter>; 3600 }; 2274 }; 3601 2275 3602 gem_noc: interconnect@9680000 2276 gem_noc: interconnect@9680000 { 3603 compatible = "qcom,sm 2277 compatible = "qcom,sm8150-gem-noc"; 3604 reg = <0 0x09680000 0 2278 reg = <0 0x09680000 0 0x3e200>; 3605 #interconnect-cells = !! 2279 #interconnect-cells = <1>; 3606 qcom,bcm-voters = <&a 2280 qcom,bcm-voters = <&apps_bcm_voter>; 3607 }; 2281 }; 3608 2282 >> 2283 usb_2_qmpphy: phy@88eb000 { >> 2284 compatible = "qcom,sm8150-qmp-usb3-uni-phy"; >> 2285 reg = <0 0x088eb000 0 0x200>; >> 2286 status = "disabled"; >> 2287 #address-cells = <2>; >> 2288 #size-cells = <2>; >> 2289 ranges; >> 2290 >> 2291 clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK>, >> 2292 <&rpmhcc RPMH_CXO_CLK>, >> 2293 <&gcc GCC_USB3_SEC_CLKREF_CLK>, >> 2294 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>; >> 2295 clock-names = "aux", "ref_clk_src", "ref", "com_aux"; >> 2296 >> 2297 resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>, >> 2298 <&gcc GCC_USB3_PHY_SEC_BCR>; >> 2299 reset-names = "phy", "common"; >> 2300 >> 2301 usb_2_ssphy: lane@88eb200 { >> 2302 reg = <0 0x088eb200 0 0x200>, >> 2303 <0 0x088eb400 0 0x200>, >> 2304 <0 0x088eb800 0 0x800>, >> 2305 <0 0x088eb600 0 0x200>; >> 2306 #clock-cells = <0>; >> 2307 #phy-cells = <0>; >> 2308 clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; >> 2309 clock-names = "pipe0"; >> 2310 clock-output-names = "usb3_uni_phy_pipe_clk_src"; >> 2311 }; >> 2312 }; >> 2313 3609 usb_1: usb@a6f8800 { 2314 usb_1: usb@a6f8800 { 3610 compatible = "qcom,sm 2315 compatible = "qcom,sm8150-dwc3", "qcom,dwc3"; 3611 reg = <0 0x0a6f8800 0 2316 reg = <0 0x0a6f8800 0 0x400>; 3612 status = "disabled"; 2317 status = "disabled"; 3613 #address-cells = <2>; 2318 #address-cells = <2>; 3614 #size-cells = <2>; 2319 #size-cells = <2>; 3615 ranges; 2320 ranges; 3616 dma-ranges; 2321 dma-ranges; 3617 2322 3618 clocks = <&gcc GCC_CF 2323 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 3619 <&gcc GCC_US 2324 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 3620 <&gcc GCC_AG 2325 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 3621 <&gcc GCC_US << 3622 <&gcc GCC_US 2326 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, >> 2327 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 3623 <&gcc GCC_US 2328 <&gcc GCC_USB3_SEC_CLKREF_CLK>; 3624 clock-names = "cfg_no !! 2329 clock-names = "cfg_noc", "core", "iface", "mock_utmi", 3625 "core", !! 2330 "sleep", "xo"; 3626 "iface" << 3627 "sleep" << 3628 "mock_u << 3629 "xo"; << 3630 2331 3631 assigned-clocks = <&g 2332 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 3632 <&g 2333 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 3633 assigned-clock-rates 2334 assigned-clock-rates = <19200000>, <200000000>; 3634 2335 3635 interrupts-extended = !! 2336 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 3636 !! 2337 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, 3637 !! 2338 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, 3638 !! 2339 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; 3639 !! 2340 interrupt-names = "hs_phy_irq", "ss_phy_irq", 3640 interrupt-names = "pw !! 2341 "dm_hs_phy_irq", "dp_hs_phy_irq"; 3641 "hs << 3642 "dp << 3643 "dm << 3644 "ss << 3645 2342 3646 power-domains = <&gcc 2343 power-domains = <&gcc USB30_PRIM_GDSC>; 3647 2344 3648 resets = <&gcc GCC_US 2345 resets = <&gcc GCC_USB30_PRIM_BCR>; 3649 2346 3650 interconnects = <&agg !! 2347 usb_1_dwc3: dwc3@a600000 { 3651 <&gem << 3652 interconnect-names = << 3653 << 3654 usb_1_dwc3: usb@a6000 << 3655 compatible = 2348 compatible = "snps,dwc3"; 3656 reg = <0 0x0a 2349 reg = <0 0x0a600000 0 0xcd00>; 3657 interrupts = 2350 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 3658 iommus = <&ap 2351 iommus = <&apps_smmu 0x140 0>; 3659 snps,dis_u2_s 2352 snps,dis_u2_susphy_quirk; 3660 snps,dis_enbl 2353 snps,dis_enblslpm_quirk; 3661 phys = <&usb_ !! 2354 phys = <&usb_1_hsphy>, <&usb_1_ssphy>; 3662 phy-names = " 2355 phy-names = "usb2-phy", "usb3-phy"; 3663 << 3664 ports { << 3665 #addr << 3666 #size << 3667 << 3668 port@ << 3669 << 3670 << 3671 << 3672 << 3673 }; << 3674 << 3675 port@ << 3676 << 3677 << 3678 << 3679 << 3680 << 3681 }; << 3682 }; << 3683 }; 2356 }; 3684 }; 2357 }; 3685 2358 3686 usb_2: usb@a8f8800 { 2359 usb_2: usb@a8f8800 { 3687 compatible = "qcom,sm 2360 compatible = "qcom,sm8150-dwc3", "qcom,dwc3"; 3688 reg = <0 0x0a8f8800 0 2361 reg = <0 0x0a8f8800 0 0x400>; 3689 status = "disabled"; 2362 status = "disabled"; 3690 #address-cells = <2>; 2363 #address-cells = <2>; 3691 #size-cells = <2>; 2364 #size-cells = <2>; 3692 ranges; 2365 ranges; 3693 dma-ranges; 2366 dma-ranges; 3694 2367 3695 clocks = <&gcc GCC_CF 2368 clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>, 3696 <&gcc GCC_US 2369 <&gcc GCC_USB30_SEC_MASTER_CLK>, 3697 <&gcc GCC_AG 2370 <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>, 3698 <&gcc GCC_US << 3699 <&gcc GCC_US 2371 <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, >> 2372 <&gcc GCC_USB30_SEC_SLEEP_CLK>, 3700 <&gcc GCC_US 2373 <&gcc GCC_USB3_SEC_CLKREF_CLK>; 3701 clock-names = "cfg_no !! 2374 clock-names = "cfg_noc", "core", "iface", "mock_utmi", 3702 "core", !! 2375 "sleep", "xo"; 3703 "iface" << 3704 "sleep" << 3705 "mock_u << 3706 "xo"; << 3707 2376 3708 assigned-clocks = <&g 2377 assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>, 3709 <&g 2378 <&gcc GCC_USB30_SEC_MASTER_CLK>; 3710 assigned-clock-rates 2379 assigned-clock-rates = <19200000>, <200000000>; 3711 2380 3712 interrupts-extended = !! 2381 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, 3713 !! 2382 <GIC_SPI 487 IRQ_TYPE_LEVEL_HIGH>, 3714 !! 2383 <GIC_SPI 490 IRQ_TYPE_LEVEL_HIGH>, 3715 !! 2384 <GIC_SPI 491 IRQ_TYPE_LEVEL_HIGH>; 3716 !! 2385 interrupt-names = "hs_phy_irq", "ss_phy_irq", 3717 interrupt-names = "pw !! 2386 "dm_hs_phy_irq", "dp_hs_phy_irq"; 3718 "hs << 3719 "dp << 3720 "dm << 3721 "ss << 3722 2387 3723 power-domains = <&gcc 2388 power-domains = <&gcc USB30_SEC_GDSC>; 3724 2389 3725 resets = <&gcc GCC_US 2390 resets = <&gcc GCC_USB30_SEC_BCR>; 3726 2391 3727 interconnects = <&agg !! 2392 usb_2_dwc3: dwc3@a800000 { 3728 <&gem << 3729 interconnect-names = << 3730 << 3731 usb_2_dwc3: usb@a8000 << 3732 compatible = 2393 compatible = "snps,dwc3"; 3733 reg = <0 0x0a 2394 reg = <0 0x0a800000 0 0xcd00>; 3734 interrupts = 2395 interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 3735 iommus = <&ap 2396 iommus = <&apps_smmu 0x160 0>; 3736 snps,dis_u2_s 2397 snps,dis_u2_susphy_quirk; 3737 snps,dis_enbl 2398 snps,dis_enblslpm_quirk; 3738 phys = <&usb_ !! 2399 phys = <&usb_2_hsphy>, <&usb_2_ssphy>; 3739 phy-names = " 2400 phy-names = "usb2-phy", "usb3-phy"; 3740 }; 2401 }; 3741 }; 2402 }; 3742 2403 3743 videocc: clock-controller@ab0 << 3744 compatible = "qcom,sm << 3745 reg = <0 0x0ab00000 0 << 3746 clocks = <&gcc GCC_VI << 3747 <&rpmhcc RPM << 3748 clock-names = "iface" << 3749 power-domains = <&rpm << 3750 required-opps = <&rpm << 3751 #clock-cells = <1>; << 3752 #reset-cells = <1>; << 3753 #power-domain-cells = << 3754 }; << 3755 << 3756 camnoc_virt: interconnect@ac0 2404 camnoc_virt: interconnect@ac00000 { 3757 compatible = "qcom,sm 2405 compatible = "qcom,sm8150-camnoc-virt"; 3758 reg = <0 0x0ac00000 0 2406 reg = <0 0x0ac00000 0 0x1000>; 3759 #interconnect-cells = !! 2407 #interconnect-cells = <1>; 3760 qcom,bcm-voters = <&a 2408 qcom,bcm-voters = <&apps_bcm_voter>; 3761 }; 2409 }; 3762 2410 3763 camcc: clock-controller@ad000 !! 2411 aoss_qmp: power-controller@c300000 { 3764 compatible = "qcom,sm !! 2412 compatible = "qcom,sm8150-aoss-qmp"; 3765 reg = <0 0x0ad00000 0 !! 2413 reg = <0x0 0x0c300000 0x0 0x100000>; 3766 clocks = <&rpmhcc RPM << 3767 <&gcc GCC_CA << 3768 power-domains = <&rpm << 3769 required-opps = <&rpm << 3770 #clock-cells = <1>; << 3771 #reset-cells = <1>; << 3772 #power-domain-cells = << 3773 }; << 3774 << 3775 mdss: display-subsystem@ae000 << 3776 compatible = "qcom,sm << 3777 reg = <0 0x0ae00000 0 << 3778 reg-names = "mdss"; << 3779 << 3780 interconnects = <&mms << 3781 <&mms << 3782 interconnect-names = << 3783 << 3784 power-domains = <&dis << 3785 << 3786 clocks = <&dispcc DIS << 3787 <&gcc GCC_DI << 3788 <&gcc GCC_DI << 3789 <&dispcc DIS << 3790 clock-names = "iface" << 3791 << 3792 interrupts = <GIC_SPI << 3793 interrupt-controller; << 3794 #interrupt-cells = <1 << 3795 << 3796 iommus = <&apps_smmu << 3797 << 3798 status = "disabled"; << 3799 << 3800 #address-cells = <2>; << 3801 #size-cells = <2>; << 3802 ranges; << 3803 << 3804 mdss_mdp: display-con << 3805 compatible = << 3806 reg = <0 0x0a << 3807 <0 0x0a << 3808 reg-names = " << 3809 << 3810 clocks = <&di << 3811 <&gc << 3812 <&di << 3813 <&di << 3814 clock-names = << 3815 << 3816 assigned-cloc << 3817 assigned-cloc << 3818 << 3819 operating-poi << 3820 power-domains << 3821 << 3822 interrupt-par << 3823 interrupts = << 3824 << 3825 ports { << 3826 #addr << 3827 #size << 3828 << 3829 port@ << 3830 << 3831 << 3832 << 3833 << 3834 }; << 3835 << 3836 port@ << 3837 << 3838 << 3839 << 3840 << 3841 }; << 3842 << 3843 port@ << 3844 << 3845 << 3846 << 3847 << 3848 }; << 3849 }; << 3850 << 3851 mdp_opp_table << 3852 compa << 3853 << 3854 opp-1 << 3855 << 3856 << 3857 }; << 3858 << 3859 opp-3 << 3860 << 3861 << 3862 }; << 3863 << 3864 opp-3 << 3865 << 3866 << 3867 }; << 3868 << 3869 opp-4 << 3870 << 3871 << 3872 }; << 3873 }; << 3874 }; << 3875 << 3876 mdss_dp: displayport- << 3877 compatible = << 3878 reg = <0 0xae << 3879 <0 0xae << 3880 <0 0xae << 3881 <0 0x0a << 3882 <0 0x0a << 3883 << 3884 interrupt-par << 3885 interrupts = << 3886 clocks = <&di << 3887 <&di << 3888 <&di << 3889 <&di << 3890 <&di << 3891 clock-names = << 3892 << 3893 << 3894 << 3895 << 3896 << 3897 assigned-cloc << 3898 << 3899 assigned-cloc << 3900 << 3901 << 3902 phys = <&usb_ << 3903 phy-names = " << 3904 << 3905 #sound-dai-ce << 3906 << 3907 operating-poi << 3908 power-domains << 3909 << 3910 status = "dis << 3911 << 3912 ports { << 3913 #addr << 3914 #size << 3915 << 3916 port@ << 3917 << 3918 << 3919 << 3920 << 3921 }; << 3922 << 3923 port@ << 3924 << 3925 << 3926 << 3927 << 3928 << 3929 }; << 3930 }; << 3931 << 3932 dp_opp_table: << 3933 compa << 3934 << 3935 opp-1 << 3936 << 3937 << 3938 }; << 3939 << 3940 opp-2 << 3941 << 3942 << 3943 }; << 3944 << 3945 opp-5 << 3946 << 3947 << 3948 }; << 3949 << 3950 opp-8 << 3951 << 3952 << 3953 }; << 3954 }; << 3955 }; << 3956 << 3957 mdss_dsi0: dsi@ae9400 << 3958 compatible = << 3959 reg = <0 0x0a << 3960 reg-names = " << 3961 << 3962 interrupt-par << 3963 interrupts = << 3964 << 3965 clocks = <&di << 3966 <&di << 3967 <&di << 3968 <&di << 3969 <&di << 3970 <&gc << 3971 clock-names = << 3972 << 3973 << 3974 << 3975 << 3976 << 3977 << 3978 assigned-cloc << 3979 << 3980 assigned-cloc << 3981 << 3982 << 3983 operating-poi << 3984 power-domains << 3985 << 3986 phys = <&mdss << 3987 << 3988 status = "dis << 3989 << 3990 #address-cell << 3991 #size-cells = << 3992 << 3993 ports { << 3994 #addr << 3995 #size << 3996 << 3997 port@ << 3998 << 3999 << 4000 << 4001 << 4002 }; << 4003 << 4004 port@ << 4005 << 4006 << 4007 << 4008 }; << 4009 }; << 4010 << 4011 dsi_opp_table << 4012 compa << 4013 << 4014 opp-1 << 4015 << 4016 << 4017 }; << 4018 << 4019 opp-3 << 4020 << 4021 << 4022 }; << 4023 << 4024 opp-3 << 4025 << 4026 << 4027 }; << 4028 }; << 4029 }; << 4030 << 4031 mdss_dsi0_phy: phy@ae << 4032 compatible = << 4033 reg = <0 0x0a << 4034 <0 0x0a << 4035 <0 0x0a << 4036 reg-names = " << 4037 " << 4038 " << 4039 << 4040 #clock-cells << 4041 #phy-cells = << 4042 << 4043 clocks = <&di << 4044 <&rp << 4045 clock-names = << 4046 << 4047 status = "dis << 4048 }; << 4049 << 4050 mdss_dsi1: dsi@ae9600 << 4051 compatible = << 4052 reg = <0 0x0a << 4053 reg-names = " << 4054 << 4055 interrupt-par << 4056 interrupts = << 4057 << 4058 clocks = <&di << 4059 <&di << 4060 <&di << 4061 <&di << 4062 <&di << 4063 <&gc << 4064 clock-names = << 4065 << 4066 << 4067 << 4068 << 4069 << 4070 << 4071 assigned-cloc << 4072 << 4073 assigned-cloc << 4074 << 4075 << 4076 operating-poi << 4077 power-domains << 4078 << 4079 phys = <&mdss << 4080 << 4081 status = "dis << 4082 << 4083 #address-cell << 4084 #size-cells = << 4085 << 4086 ports { << 4087 #addr << 4088 #size << 4089 << 4090 port@ << 4091 << 4092 << 4093 << 4094 << 4095 }; << 4096 << 4097 port@ << 4098 << 4099 << 4100 << 4101 }; << 4102 }; << 4103 }; << 4104 << 4105 mdss_dsi1_phy: phy@ae << 4106 compatible = << 4107 reg = <0 0x0a << 4108 <0 0x0a << 4109 <0 0x0a << 4110 reg-names = " << 4111 " << 4112 " << 4113 << 4114 #clock-cells << 4115 #phy-cells = << 4116 << 4117 clocks = <&di << 4118 <&rp << 4119 clock-names = << 4120 << 4121 status = "dis << 4122 }; << 4123 }; << 4124 << 4125 dispcc: clock-controller@af00 << 4126 compatible = "qcom,sm << 4127 reg = <0 0x0af00000 0 << 4128 clocks = <&rpmhcc RPM << 4129 <&mdss_dsi0_ << 4130 <&mdss_dsi0_ << 4131 <&mdss_dsi1_ << 4132 <&mdss_dsi1_ << 4133 <&usb_1_qmpp << 4134 <&usb_1_qmpp << 4135 clock-names = "bi_tcx << 4136 "dsi0_p << 4137 "dsi0_p << 4138 "dsi1_p << 4139 "dsi1_p << 4140 "dp_phy << 4141 "dp_phy << 4142 power-domains = <&rpm << 4143 required-opps = <&rpm << 4144 #clock-cells = <1>; << 4145 #reset-cells = <1>; << 4146 #power-domain-cells = << 4147 }; << 4148 << 4149 pdc: interrupt-controller@b22 << 4150 compatible = "qcom,sm << 4151 reg = <0 0x0b220000 0 << 4152 qcom,pdc-ranges = <0 << 4153 <12 << 4154 #interrupt-cells = <2 << 4155 interrupt-parent = <& << 4156 interrupt-controller; << 4157 }; << 4158 << 4159 aoss_qmp: power-management@c3 << 4160 compatible = "qcom,sm << 4161 reg = <0x0 0x0c300000 << 4162 interrupts = <GIC_SPI 2414 interrupts = <GIC_SPI 389 IRQ_TYPE_EDGE_RISING>; 4163 mboxes = <&apss_share 2415 mboxes = <&apss_shared 0>; 4164 2416 4165 #clock-cells = <0>; 2417 #clock-cells = <0>; 4166 }; !! 2418 #power-domain-cells = <1>; 4167 << 4168 sram@c3f0000 { << 4169 compatible = "qcom,rp << 4170 reg = <0 0x0c3f0000 0 << 4171 }; 2419 }; 4172 2420 4173 tsens0: thermal-sensor@c26300 2421 tsens0: thermal-sensor@c263000 { 4174 compatible = "qcom,sm 2422 compatible = "qcom,sm8150-tsens", "qcom,tsens-v2"; 4175 reg = <0 0x0c263000 0 2423 reg = <0 0x0c263000 0 0x1ff>, /* TM */ 4176 <0 0x0c222000 0 2424 <0 0x0c222000 0 0x1ff>; /* SROT */ 4177 #qcom,sensors = <16>; 2425 #qcom,sensors = <16>; 4178 interrupts = <GIC_SPI 2426 interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, 4179 <GIC_SPI 2427 <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; 4180 interrupt-names = "up 2428 interrupt-names = "uplow", "critical"; 4181 #thermal-sensor-cells 2429 #thermal-sensor-cells = <1>; 4182 }; 2430 }; 4183 2431 4184 tsens1: thermal-sensor@c26500 2432 tsens1: thermal-sensor@c265000 { 4185 compatible = "qcom,sm 2433 compatible = "qcom,sm8150-tsens", "qcom,tsens-v2"; 4186 reg = <0 0x0c265000 0 2434 reg = <0 0x0c265000 0 0x1ff>, /* TM */ 4187 <0 0x0c223000 0 2435 <0 0x0c223000 0 0x1ff>; /* SROT */ 4188 #qcom,sensors = <8>; 2436 #qcom,sensors = <8>; 4189 interrupts = <GIC_SPI 2437 interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, 4190 <GIC_SPI 2438 <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; 4191 interrupt-names = "up 2439 interrupt-names = "uplow", "critical"; 4192 #thermal-sensor-cells 2440 #thermal-sensor-cells = <1>; 4193 }; 2441 }; 4194 2442 4195 spmi_bus: spmi@c440000 { 2443 spmi_bus: spmi@c440000 { 4196 compatible = "qcom,sp 2444 compatible = "qcom,spmi-pmic-arb"; 4197 reg = <0x0 0x0c440000 2445 reg = <0x0 0x0c440000 0x0 0x0001100>, 4198 <0x0 0x0c600000 2446 <0x0 0x0c600000 0x0 0x2000000>, 4199 <0x0 0x0e600000 2447 <0x0 0x0e600000 0x0 0x0100000>, 4200 <0x0 0x0e700000 2448 <0x0 0x0e700000 0x0 0x00a0000>, 4201 <0x0 0x0c40a000 2449 <0x0 0x0c40a000 0x0 0x0026000>; 4202 reg-names = "core", " 2450 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 4203 interrupt-names = "pe 2451 interrupt-names = "periph_irq"; 4204 interrupts = <GIC_SPI 2452 interrupts = <GIC_SPI 481 IRQ_TYPE_LEVEL_HIGH>; 4205 qcom,ee = <0>; 2453 qcom,ee = <0>; 4206 qcom,channel = <0>; 2454 qcom,channel = <0>; 4207 #address-cells = <2>; 2455 #address-cells = <2>; 4208 #size-cells = <0>; 2456 #size-cells = <0>; 4209 interrupt-controller; 2457 interrupt-controller; 4210 #interrupt-cells = <4 2458 #interrupt-cells = <4>; >> 2459 cell-index = <0>; 4211 }; 2460 }; 4212 2461 4213 apps_smmu: iommu@15000000 { 2462 apps_smmu: iommu@15000000 { 4214 compatible = "qcom,sm !! 2463 compatible = "qcom,sm8150-smmu-500", "arm,mmu-500"; 4215 reg = <0 0x15000000 0 2464 reg = <0 0x15000000 0 0x100000>; 4216 #iommu-cells = <2>; 2465 #iommu-cells = <2>; 4217 #global-interrupts = 2466 #global-interrupts = <1>; 4218 interrupts = <GIC_SPI 2467 interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, 4219 <GIC_SPI 2468 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 4220 <GIC_SPI 2469 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 4221 <GIC_SPI 2470 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 4222 <GIC_SPI 2471 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 4223 <GIC_SPI 2472 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 4224 <GIC_SPI 2473 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 4225 <GIC_SPI 2474 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 4226 <GIC_SPI 2475 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 4227 <GIC_SPI 2476 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 4228 <GIC_SPI 2477 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 4229 <GIC_SPI 2478 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 4230 <GIC_SPI 2479 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 4231 <GIC_SPI 2480 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 4232 <GIC_SPI 2481 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 4233 <GIC_SPI 2482 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 4234 <GIC_SPI 2483 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 4235 <GIC_SPI 2484 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 4236 <GIC_SPI 2485 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 4237 <GIC_SPI 2486 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 4238 <GIC_SPI 2487 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 4239 <GIC_SPI 2488 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 4240 <GIC_SPI 2489 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 4241 <GIC_SPI 2490 <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, 4242 <GIC_SPI 2491 <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, 4243 <GIC_SPI 2492 <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, 4244 <GIC_SPI 2493 <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, 4245 <GIC_SPI 2494 <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, 4246 <GIC_SPI 2495 <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, 4247 <GIC_SPI 2496 <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, 4248 <GIC_SPI 2497 <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, 4249 <GIC_SPI 2498 <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 4250 <GIC_SPI 2499 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 4251 <GIC_SPI 2500 <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 4252 <GIC_SPI 2501 <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, 4253 <GIC_SPI 2502 <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 4254 <GIC_SPI 2503 <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 4255 <GIC_SPI 2504 <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, 4256 <GIC_SPI 2505 <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 4257 <GIC_SPI 2506 <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 4258 <GIC_SPI 2507 <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 4259 <GIC_SPI 2508 <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 4260 <GIC_SPI 2509 <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 4261 <GIC_SPI 2510 <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 4262 <GIC_SPI 2511 <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 4263 <GIC_SPI 2512 <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, 4264 <GIC_SPI 2513 <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 4265 <GIC_SPI 2514 <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, 4266 <GIC_SPI 2515 <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, 4267 <GIC_SPI 2516 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 4268 <GIC_SPI 2517 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 4269 <GIC_SPI 2518 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 4270 <GIC_SPI 2519 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 4271 <GIC_SPI 2520 <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, 4272 <GIC_SPI 2521 <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 4273 <GIC_SPI 2522 <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 4274 <GIC_SPI 2523 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 4275 <GIC_SPI 2524 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 4276 <GIC_SPI 2525 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 4277 <GIC_SPI 2526 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 4278 <GIC_SPI 2527 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 4279 <GIC_SPI 2528 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 4280 <GIC_SPI 2529 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 4281 <GIC_SPI 2530 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 4282 <GIC_SPI 2531 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, 4283 <GIC_SPI 2532 <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, 4284 <GIC_SPI 2533 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 4285 <GIC_SPI 2534 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 4286 <GIC_SPI 2535 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 4287 <GIC_SPI 2536 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 4288 <GIC_SPI 2537 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 4289 <GIC_SPI 2538 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 4290 <GIC_SPI 2539 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 4291 <GIC_SPI 2540 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 4292 <GIC_SPI 2541 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 4293 <GIC_SPI 2542 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, 4294 <GIC_SPI 2543 <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, 4295 <GIC_SPI 2544 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, 4296 <GIC_SPI 2545 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, 4297 <GIC_SPI 2546 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>, 4298 <GIC_SPI 2547 <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>; 4299 }; 2548 }; 4300 2549 4301 remoteproc_adsp: remoteproc@1 2550 remoteproc_adsp: remoteproc@17300000 { 4302 compatible = "qcom,sm 2551 compatible = "qcom,sm8150-adsp-pas"; 4303 reg = <0x0 0x17300000 2552 reg = <0x0 0x17300000 0x0 0x4040>; 4304 2553 4305 interrupts-extended = 2554 interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, 4306 2555 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 4307 2556 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 4308 2557 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 4309 2558 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 4310 interrupt-names = "wd 2559 interrupt-names = "wdog", "fatal", "ready", 4311 "ha 2560 "handover", "stop-ack"; 4312 2561 4313 clocks = <&rpmhcc RPM 2562 clocks = <&rpmhcc RPMH_CXO_CLK>; 4314 clock-names = "xo"; 2563 clock-names = "xo"; 4315 2564 4316 power-domains = <&rpm !! 2565 power-domains = <&aoss_qmp AOSS_QMP_LS_LPASS>, >> 2566 <&rpmhpd 7>; >> 2567 power-domain-names = "load_state", "cx"; 4317 2568 4318 memory-region = <&ads 2569 memory-region = <&adsp_mem>; 4319 2570 4320 qcom,qmp = <&aoss_qmp << 4321 << 4322 qcom,smem-states = <& 2571 qcom,smem-states = <&adsp_smp2p_out 0>; 4323 qcom,smem-state-names 2572 qcom,smem-state-names = "stop"; 4324 2573 4325 status = "disabled"; 2574 status = "disabled"; 4326 2575 4327 glink-edge { 2576 glink-edge { 4328 interrupts = 2577 interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>; 4329 label = "lpas 2578 label = "lpass"; 4330 qcom,remote-p 2579 qcom,remote-pid = <2>; 4331 mboxes = <&ap 2580 mboxes = <&apss_shared 8>; 4332 << 4333 fastrpc { << 4334 compa << 4335 qcom, << 4336 label << 4337 qcom, << 4338 #addr << 4339 #size << 4340 << 4341 compu << 4342 << 4343 << 4344 << 4345 }; << 4346 << 4347 compu << 4348 << 4349 << 4350 << 4351 }; << 4352 << 4353 compu << 4354 << 4355 << 4356 << 4357 }; << 4358 }; << 4359 }; 2581 }; 4360 }; 2582 }; 4361 2583 4362 intc: interrupt-controller@17 2584 intc: interrupt-controller@17a00000 { 4363 compatible = "arm,gic 2585 compatible = "arm,gic-v3"; 4364 interrupt-controller; 2586 interrupt-controller; 4365 #interrupt-cells = <3 2587 #interrupt-cells = <3>; 4366 reg = <0x0 0x17a00000 2588 reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ 4367 <0x0 0x17a60000 2589 <0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */ 4368 interrupts = <GIC_PPI 2590 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 4369 }; 2591 }; 4370 2592 4371 apss_shared: mailbox@17c00000 2593 apss_shared: mailbox@17c00000 { 4372 compatible = "qcom,sm !! 2594 compatible = "qcom,sm8150-apss-shared"; 4373 "qcom,sd << 4374 reg = <0x0 0x17c00000 2595 reg = <0x0 0x17c00000 0x0 0x1000>; 4375 #mbox-cells = <1>; 2596 #mbox-cells = <1>; 4376 }; 2597 }; 4377 2598 4378 watchdog@17c10000 { 2599 watchdog@17c10000 { 4379 compatible = "qcom,ap 2600 compatible = "qcom,apss-wdt-sm8150", "qcom,kpss-wdt"; 4380 reg = <0 0x17c10000 0 2601 reg = <0 0x17c10000 0 0x1000>; 4381 clocks = <&sleep_clk> 2602 clocks = <&sleep_clk>; 4382 interrupts = <GIC_SPI !! 2603 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; 4383 }; 2604 }; 4384 2605 4385 timer@17c20000 { 2606 timer@17c20000 { 4386 #address-cells = <1>; !! 2607 #address-cells = <2>; 4387 #size-cells = <1>; !! 2608 #size-cells = <2>; 4388 ranges = <0 0 0 0x200 !! 2609 ranges; 4389 compatible = "arm,arm 2610 compatible = "arm,armv7-timer-mem"; 4390 reg = <0x0 0x17c20000 2611 reg = <0x0 0x17c20000 0x0 0x1000>; 4391 clock-frequency = <19 2612 clock-frequency = <19200000>; 4392 2613 4393 frame@17c21000 { !! 2614 frame@17c21000{ 4394 frame-number 2615 frame-number = <0>; 4395 interrupts = 2616 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 4396 2617 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 4397 reg = <0x17c2 !! 2618 reg = <0x0 0x17c21000 0x0 0x1000>, 4398 <0x17c2 !! 2619 <0x0 0x17c22000 0x0 0x1000>; 4399 }; 2620 }; 4400 2621 4401 frame@17c23000 { 2622 frame@17c23000 { 4402 frame-number 2623 frame-number = <1>; 4403 interrupts = 2624 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 4404 reg = <0x17c2 !! 2625 reg = <0x0 0x17c23000 0x0 0x1000>; 4405 status = "dis 2626 status = "disabled"; 4406 }; 2627 }; 4407 2628 4408 frame@17c25000 { 2629 frame@17c25000 { 4409 frame-number 2630 frame-number = <2>; 4410 interrupts = 2631 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 4411 reg = <0x17c2 !! 2632 reg = <0x0 0x17c25000 0x0 0x1000>; 4412 status = "dis 2633 status = "disabled"; 4413 }; 2634 }; 4414 2635 4415 frame@17c27000 { 2636 frame@17c27000 { 4416 frame-number 2637 frame-number = <3>; 4417 interrupts = 2638 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 4418 reg = <0x17c2 !! 2639 reg = <0x0 0x17c26000 0x0 0x1000>; 4419 status = "dis 2640 status = "disabled"; 4420 }; 2641 }; 4421 2642 4422 frame@17c29000 { 2643 frame@17c29000 { 4423 frame-number 2644 frame-number = <4>; 4424 interrupts = 2645 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 4425 reg = <0x17c2 !! 2646 reg = <0x0 0x17c29000 0x0 0x1000>; 4426 status = "dis 2647 status = "disabled"; 4427 }; 2648 }; 4428 2649 4429 frame@17c2b000 { 2650 frame@17c2b000 { 4430 frame-number 2651 frame-number = <5>; 4431 interrupts = 2652 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 4432 reg = <0x17c2 !! 2653 reg = <0x0 0x17c2b000 0x0 0x1000>; 4433 status = "dis 2654 status = "disabled"; 4434 }; 2655 }; 4435 2656 4436 frame@17c2d000 { 2657 frame@17c2d000 { 4437 frame-number 2658 frame-number = <6>; 4438 interrupts = 2659 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 4439 reg = <0x17c2 !! 2660 reg = <0x0 0x17c2d000 0x0 0x1000>; 4440 status = "dis 2661 status = "disabled"; 4441 }; 2662 }; 4442 }; 2663 }; 4443 2664 4444 apps_rsc: rsc@18200000 { 2665 apps_rsc: rsc@18200000 { 4445 label = "apps_rsc"; 2666 label = "apps_rsc"; 4446 compatible = "qcom,rp 2667 compatible = "qcom,rpmh-rsc"; 4447 reg = <0x0 0x18200000 2668 reg = <0x0 0x18200000 0x0 0x10000>, 4448 <0x0 0x18210000 2669 <0x0 0x18210000 0x0 0x10000>, 4449 <0x0 0x18220000 2670 <0x0 0x18220000 0x0 0x10000>; 4450 reg-names = "drv-0", 2671 reg-names = "drv-0", "drv-1", "drv-2"; 4451 interrupts = <GIC_SPI 2672 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 4452 <GIC_SPI 2673 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 4453 <GIC_SPI 2674 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 4454 qcom,tcs-offset = <0x 2675 qcom,tcs-offset = <0xd00>; 4455 qcom,drv-id = <2>; 2676 qcom,drv-id = <2>; 4456 qcom,tcs-config = <AC 2677 qcom,tcs-config = <ACTIVE_TCS 2>, 4457 <SL !! 2678 <SLEEP_TCS 1>, 4458 <WA !! 2679 <WAKE_TCS 1>, 4459 <CO !! 2680 <CONTROL_TCS 0>; 4460 power-domains = <&CLU << 4461 2681 4462 rpmhcc: clock-control 2682 rpmhcc: clock-controller { 4463 compatible = 2683 compatible = "qcom,sm8150-rpmh-clk"; 4464 #clock-cells 2684 #clock-cells = <1>; 4465 clock-names = 2685 clock-names = "xo"; 4466 clocks = <&xo 2686 clocks = <&xo_board>; 4467 }; 2687 }; 4468 2688 4469 rpmhpd: power-control 2689 rpmhpd: power-controller { 4470 compatible = 2690 compatible = "qcom,sm8150-rpmhpd"; 4471 #power-domain 2691 #power-domain-cells = <1>; 4472 operating-poi 2692 operating-points-v2 = <&rpmhpd_opp_table>; 4473 2693 4474 rpmhpd_opp_ta 2694 rpmhpd_opp_table: opp-table { 4475 compa 2695 compatible = "operating-points-v2"; 4476 2696 4477 rpmhp 2697 rpmhpd_opp_ret: opp1 { 4478 2698 opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; 4479 }; 2699 }; 4480 2700 4481 rpmhp 2701 rpmhpd_opp_min_svs: opp2 { 4482 2702 opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; 4483 }; 2703 }; 4484 2704 4485 rpmhp 2705 rpmhpd_opp_low_svs: opp3 { 4486 2706 opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; 4487 }; 2707 }; 4488 2708 4489 rpmhp 2709 rpmhpd_opp_svs: opp4 { 4490 2710 opp-level = <RPMH_REGULATOR_LEVEL_SVS>; 4491 }; 2711 }; 4492 2712 4493 rpmhp 2713 rpmhpd_opp_svs_l1: opp5 { 4494 2714 opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; 4495 }; 2715 }; 4496 2716 4497 rpmhp 2717 rpmhpd_opp_svs_l2: opp6 { 4498 2718 opp-level = <224>; 4499 }; 2719 }; 4500 2720 4501 rpmhp 2721 rpmhpd_opp_nom: opp7 { 4502 2722 opp-level = <RPMH_REGULATOR_LEVEL_NOM>; 4503 }; 2723 }; 4504 2724 4505 rpmhp 2725 rpmhpd_opp_nom_l1: opp8 { 4506 2726 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; 4507 }; 2727 }; 4508 2728 4509 rpmhp 2729 rpmhpd_opp_nom_l2: opp9 { 4510 2730 opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; 4511 }; 2731 }; 4512 2732 4513 rpmhp 2733 rpmhpd_opp_turbo: opp10 { 4514 2734 opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; 4515 }; 2735 }; 4516 2736 4517 rpmhp 2737 rpmhpd_opp_turbo_l1: opp11 { 4518 2738 opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; 4519 }; 2739 }; 4520 }; 2740 }; 4521 }; 2741 }; 4522 2742 4523 apps_bcm_voter: bcm-v !! 2743 apps_bcm_voter: bcm_voter { 4524 compatible = 2744 compatible = "qcom,bcm-voter"; 4525 }; 2745 }; 4526 }; 2746 }; 4527 2747 4528 osm_l3: interconnect@18321000 2748 osm_l3: interconnect@18321000 { 4529 compatible = "qcom,sm !! 2749 compatible = "qcom,sm8150-osm-l3"; 4530 reg = <0 0x18321000 0 2750 reg = <0 0x18321000 0 0x1400>; 4531 2751 4532 clocks = <&rpmhcc RPM 2752 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 4533 clock-names = "xo", " 2753 clock-names = "xo", "alternate"; 4534 2754 4535 #interconnect-cells = 2755 #interconnect-cells = <1>; 4536 }; 2756 }; 4537 2757 4538 cpufreq_hw: cpufreq@18323000 2758 cpufreq_hw: cpufreq@18323000 { 4539 compatible = "qcom,sm !! 2759 compatible = "qcom,cpufreq-hw"; 4540 reg = <0 0x18323000 0 2760 reg = <0 0x18323000 0 0x1400>, <0 0x18325800 0 0x1400>, 4541 <0 0x18327800 0 2761 <0 0x18327800 0 0x1400>; 4542 reg-names = "freq-dom 2762 reg-names = "freq-domain0", "freq-domain1", 4543 "freq-dom 2763 "freq-domain2"; 4544 2764 4545 clocks = <&rpmhcc RPM 2765 clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 4546 clock-names = "xo", " 2766 clock-names = "xo", "alternate"; 4547 2767 4548 #freq-domain-cells = 2768 #freq-domain-cells = <1>; 4549 #clock-cells = <1>; << 4550 }; << 4551 << 4552 lmh_cluster1: lmh@18350800 { << 4553 compatible = "qcom,sm << 4554 reg = <0 0x18350800 0 << 4555 interrupts = <GIC_SPI << 4556 cpus = <&CPU4>; << 4557 qcom,lmh-temp-arm-mil << 4558 qcom,lmh-temp-low-mil << 4559 qcom,lmh-temp-high-mi << 4560 interrupt-controller; << 4561 #interrupt-cells = <1 << 4562 }; << 4563 << 4564 lmh_cluster0: lmh@18358800 { << 4565 compatible = "qcom,sm << 4566 reg = <0 0x18358800 0 << 4567 interrupts = <GIC_SPI << 4568 cpus = <&CPU0>; << 4569 qcom,lmh-temp-arm-mil << 4570 qcom,lmh-temp-low-mil << 4571 qcom,lmh-temp-high-mi << 4572 interrupt-controller; << 4573 #interrupt-cells = <1 << 4574 }; 2769 }; 4575 2770 4576 wifi: wifi@18800000 { 2771 wifi: wifi@18800000 { 4577 compatible = "qcom,wc 2772 compatible = "qcom,wcn3990-wifi"; 4578 reg = <0 0x18800000 0 2773 reg = <0 0x18800000 0 0x800000>; 4579 reg-names = "membase" 2774 reg-names = "membase"; 4580 memory-region = <&wla 2775 memory-region = <&wlan_mem>; 4581 clock-names = "cxo_re 2776 clock-names = "cxo_ref_clk_pin", "qdss"; 4582 clocks = <&rpmhcc RPM 2777 clocks = <&rpmhcc RPMH_RF_CLK2>, <&aoss_qmp>; 4583 interrupts = <GIC_SPI 2778 interrupts = <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>, 4584 <GIC_SPI 2779 <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, 4585 <GIC_SPI 2780 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, 4586 <GIC_SPI 2781 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, 4587 <GIC_SPI 2782 <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 4588 <GIC_SPI 2783 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, 4589 <GIC_SPI 2784 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>, 4590 <GIC_SPI 2785 <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, 4591 <GIC_SPI 2786 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, 4592 <GIC_SPI 2787 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, 4593 <GIC_SPI 2788 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, 4594 <GIC_SPI 2789 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>; 4595 iommus = <&apps_smmu 2790 iommus = <&apps_smmu 0x0640 0x1>; 4596 status = "disabled"; 2791 status = "disabled"; 4597 }; 2792 }; 4598 }; 2793 }; 4599 2794 4600 timer { 2795 timer { 4601 compatible = "arm,armv8-timer 2796 compatible = "arm,armv8-timer"; 4602 interrupts = <GIC_PPI 1 IRQ_T 2797 interrupts = <GIC_PPI 1 IRQ_TYPE_LEVEL_LOW>, 4603 <GIC_PPI 2 IRQ_T 2798 <GIC_PPI 2 IRQ_TYPE_LEVEL_LOW>, 4604 <GIC_PPI 3 IRQ_T 2799 <GIC_PPI 3 IRQ_TYPE_LEVEL_LOW>, 4605 <GIC_PPI 0 IRQ_T 2800 <GIC_PPI 0 IRQ_TYPE_LEVEL_LOW>; 4606 }; 2801 }; 4607 2802 4608 thermal-zones { 2803 thermal-zones { 4609 cpu0-thermal { 2804 cpu0-thermal { 4610 polling-delay-passive 2805 polling-delay-passive = <250>; >> 2806 polling-delay = <1000>; 4611 2807 4612 thermal-sensors = <&t 2808 thermal-sensors = <&tsens0 1>; 4613 2809 4614 trips { 2810 trips { 4615 cpu0_alert0: 2811 cpu0_alert0: trip-point0 { 4616 tempe 2812 temperature = <90000>; 4617 hyste 2813 hysteresis = <2000>; 4618 type 2814 type = "passive"; 4619 }; 2815 }; 4620 2816 4621 cpu0_alert1: 2817 cpu0_alert1: trip-point1 { 4622 tempe 2818 temperature = <95000>; 4623 hyste 2819 hysteresis = <2000>; 4624 type 2820 type = "passive"; 4625 }; 2821 }; 4626 2822 4627 cpu0_crit: cp !! 2823 cpu0_crit: cpu_crit { 4628 tempe 2824 temperature = <110000>; 4629 hyste 2825 hysteresis = <1000>; 4630 type 2826 type = "critical"; 4631 }; 2827 }; 4632 }; 2828 }; 4633 2829 4634 cooling-maps { 2830 cooling-maps { 4635 map0 { 2831 map0 { 4636 trip 2832 trip = <&cpu0_alert0>; 4637 cooli 2833 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4638 2834 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4639 2835 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4640 2836 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4641 }; 2837 }; 4642 map1 { 2838 map1 { 4643 trip 2839 trip = <&cpu0_alert1>; 4644 cooli 2840 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4645 2841 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4646 2842 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4647 2843 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4648 }; 2844 }; 4649 }; 2845 }; 4650 }; 2846 }; 4651 2847 4652 cpu1-thermal { 2848 cpu1-thermal { 4653 polling-delay-passive 2849 polling-delay-passive = <250>; >> 2850 polling-delay = <1000>; 4654 2851 4655 thermal-sensors = <&t 2852 thermal-sensors = <&tsens0 2>; 4656 2853 4657 trips { 2854 trips { 4658 cpu1_alert0: 2855 cpu1_alert0: trip-point0 { 4659 tempe 2856 temperature = <90000>; 4660 hyste 2857 hysteresis = <2000>; 4661 type 2858 type = "passive"; 4662 }; 2859 }; 4663 2860 4664 cpu1_alert1: 2861 cpu1_alert1: trip-point1 { 4665 tempe 2862 temperature = <95000>; 4666 hyste 2863 hysteresis = <2000>; 4667 type 2864 type = "passive"; 4668 }; 2865 }; 4669 2866 4670 cpu1_crit: cp !! 2867 cpu1_crit: cpu_crit { 4671 tempe 2868 temperature = <110000>; 4672 hyste 2869 hysteresis = <1000>; 4673 type 2870 type = "critical"; 4674 }; 2871 }; 4675 }; 2872 }; 4676 2873 4677 cooling-maps { 2874 cooling-maps { 4678 map0 { 2875 map0 { 4679 trip 2876 trip = <&cpu1_alert0>; 4680 cooli 2877 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4681 2878 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4682 2879 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4683 2880 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4684 }; 2881 }; 4685 map1 { 2882 map1 { 4686 trip 2883 trip = <&cpu1_alert1>; 4687 cooli 2884 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4688 2885 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4689 2886 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4690 2887 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4691 }; 2888 }; 4692 }; 2889 }; 4693 }; 2890 }; 4694 2891 4695 cpu2-thermal { 2892 cpu2-thermal { 4696 polling-delay-passive 2893 polling-delay-passive = <250>; >> 2894 polling-delay = <1000>; 4697 2895 4698 thermal-sensors = <&t 2896 thermal-sensors = <&tsens0 3>; 4699 2897 4700 trips { 2898 trips { 4701 cpu2_alert0: 2899 cpu2_alert0: trip-point0 { 4702 tempe 2900 temperature = <90000>; 4703 hyste 2901 hysteresis = <2000>; 4704 type 2902 type = "passive"; 4705 }; 2903 }; 4706 2904 4707 cpu2_alert1: 2905 cpu2_alert1: trip-point1 { 4708 tempe 2906 temperature = <95000>; 4709 hyste 2907 hysteresis = <2000>; 4710 type 2908 type = "passive"; 4711 }; 2909 }; 4712 2910 4713 cpu2_crit: cp !! 2911 cpu2_crit: cpu_crit { 4714 tempe 2912 temperature = <110000>; 4715 hyste 2913 hysteresis = <1000>; 4716 type 2914 type = "critical"; 4717 }; 2915 }; 4718 }; 2916 }; 4719 2917 4720 cooling-maps { 2918 cooling-maps { 4721 map0 { 2919 map0 { 4722 trip 2920 trip = <&cpu2_alert0>; 4723 cooli 2921 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4724 2922 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4725 2923 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4726 2924 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4727 }; 2925 }; 4728 map1 { 2926 map1 { 4729 trip 2927 trip = <&cpu2_alert1>; 4730 cooli 2928 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4731 2929 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4732 2930 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4733 2931 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4734 }; 2932 }; 4735 }; 2933 }; 4736 }; 2934 }; 4737 2935 4738 cpu3-thermal { 2936 cpu3-thermal { 4739 polling-delay-passive 2937 polling-delay-passive = <250>; >> 2938 polling-delay = <1000>; 4740 2939 4741 thermal-sensors = <&t 2940 thermal-sensors = <&tsens0 4>; 4742 2941 4743 trips { 2942 trips { 4744 cpu3_alert0: 2943 cpu3_alert0: trip-point0 { 4745 tempe 2944 temperature = <90000>; 4746 hyste 2945 hysteresis = <2000>; 4747 type 2946 type = "passive"; 4748 }; 2947 }; 4749 2948 4750 cpu3_alert1: 2949 cpu3_alert1: trip-point1 { 4751 tempe 2950 temperature = <95000>; 4752 hyste 2951 hysteresis = <2000>; 4753 type 2952 type = "passive"; 4754 }; 2953 }; 4755 2954 4756 cpu3_crit: cp !! 2955 cpu3_crit: cpu_crit { 4757 tempe 2956 temperature = <110000>; 4758 hyste 2957 hysteresis = <1000>; 4759 type 2958 type = "critical"; 4760 }; 2959 }; 4761 }; 2960 }; 4762 2961 4763 cooling-maps { 2962 cooling-maps { 4764 map0 { 2963 map0 { 4765 trip 2964 trip = <&cpu3_alert0>; 4766 cooli 2965 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4767 2966 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4768 2967 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4769 2968 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4770 }; 2969 }; 4771 map1 { 2970 map1 { 4772 trip 2971 trip = <&cpu3_alert1>; 4773 cooli 2972 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4774 2973 <&CPU1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4775 2974 <&CPU2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4776 2975 <&CPU3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4777 }; 2976 }; 4778 }; 2977 }; 4779 }; 2978 }; 4780 2979 4781 cpu4-top-thermal { 2980 cpu4-top-thermal { 4782 polling-delay-passive 2981 polling-delay-passive = <250>; >> 2982 polling-delay = <1000>; 4783 2983 4784 thermal-sensors = <&t 2984 thermal-sensors = <&tsens0 7>; 4785 2985 4786 trips { 2986 trips { 4787 cpu4_top_aler 2987 cpu4_top_alert0: trip-point0 { 4788 tempe 2988 temperature = <90000>; 4789 hyste 2989 hysteresis = <2000>; 4790 type 2990 type = "passive"; 4791 }; 2991 }; 4792 2992 4793 cpu4_top_aler 2993 cpu4_top_alert1: trip-point1 { 4794 tempe 2994 temperature = <95000>; 4795 hyste 2995 hysteresis = <2000>; 4796 type 2996 type = "passive"; 4797 }; 2997 }; 4798 2998 4799 cpu4_top_crit !! 2999 cpu4_top_crit: cpu_crit { 4800 tempe 3000 temperature = <110000>; 4801 hyste 3001 hysteresis = <1000>; 4802 type 3002 type = "critical"; 4803 }; 3003 }; 4804 }; 3004 }; 4805 3005 4806 cooling-maps { 3006 cooling-maps { 4807 map0 { 3007 map0 { 4808 trip 3008 trip = <&cpu4_top_alert0>; 4809 cooli 3009 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4810 3010 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4811 3011 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4812 3012 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4813 }; 3013 }; 4814 map1 { 3014 map1 { 4815 trip 3015 trip = <&cpu4_top_alert1>; 4816 cooli 3016 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4817 3017 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4818 3018 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4819 3019 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4820 }; 3020 }; 4821 }; 3021 }; 4822 }; 3022 }; 4823 3023 4824 cpu5-top-thermal { 3024 cpu5-top-thermal { 4825 polling-delay-passive 3025 polling-delay-passive = <250>; >> 3026 polling-delay = <1000>; 4826 3027 4827 thermal-sensors = <&t 3028 thermal-sensors = <&tsens0 8>; 4828 3029 4829 trips { 3030 trips { 4830 cpu5_top_aler 3031 cpu5_top_alert0: trip-point0 { 4831 tempe 3032 temperature = <90000>; 4832 hyste 3033 hysteresis = <2000>; 4833 type 3034 type = "passive"; 4834 }; 3035 }; 4835 3036 4836 cpu5_top_aler 3037 cpu5_top_alert1: trip-point1 { 4837 tempe 3038 temperature = <95000>; 4838 hyste 3039 hysteresis = <2000>; 4839 type 3040 type = "passive"; 4840 }; 3041 }; 4841 3042 4842 cpu5_top_crit !! 3043 cpu5_top_crit: cpu_crit { 4843 tempe 3044 temperature = <110000>; 4844 hyste 3045 hysteresis = <1000>; 4845 type 3046 type = "critical"; 4846 }; 3047 }; 4847 }; 3048 }; 4848 3049 4849 cooling-maps { 3050 cooling-maps { 4850 map0 { 3051 map0 { 4851 trip 3052 trip = <&cpu5_top_alert0>; 4852 cooli 3053 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4853 3054 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4854 3055 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4855 3056 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4856 }; 3057 }; 4857 map1 { 3058 map1 { 4858 trip 3059 trip = <&cpu5_top_alert1>; 4859 cooli 3060 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4860 3061 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4861 3062 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4862 3063 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4863 }; 3064 }; 4864 }; 3065 }; 4865 }; 3066 }; 4866 3067 4867 cpu6-top-thermal { 3068 cpu6-top-thermal { 4868 polling-delay-passive 3069 polling-delay-passive = <250>; >> 3070 polling-delay = <1000>; 4869 3071 4870 thermal-sensors = <&t 3072 thermal-sensors = <&tsens0 9>; 4871 3073 4872 trips { 3074 trips { 4873 cpu6_top_aler 3075 cpu6_top_alert0: trip-point0 { 4874 tempe 3076 temperature = <90000>; 4875 hyste 3077 hysteresis = <2000>; 4876 type 3078 type = "passive"; 4877 }; 3079 }; 4878 3080 4879 cpu6_top_aler 3081 cpu6_top_alert1: trip-point1 { 4880 tempe 3082 temperature = <95000>; 4881 hyste 3083 hysteresis = <2000>; 4882 type 3084 type = "passive"; 4883 }; 3085 }; 4884 3086 4885 cpu6_top_crit !! 3087 cpu6_top_crit: cpu_crit { 4886 tempe 3088 temperature = <110000>; 4887 hyste 3089 hysteresis = <1000>; 4888 type 3090 type = "critical"; 4889 }; 3091 }; 4890 }; 3092 }; 4891 3093 4892 cooling-maps { 3094 cooling-maps { 4893 map0 { 3095 map0 { 4894 trip 3096 trip = <&cpu6_top_alert0>; 4895 cooli 3097 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4896 3098 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4897 3099 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4898 3100 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4899 }; 3101 }; 4900 map1 { 3102 map1 { 4901 trip 3103 trip = <&cpu6_top_alert1>; 4902 cooli 3104 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4903 3105 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4904 3106 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4905 3107 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4906 }; 3108 }; 4907 }; 3109 }; 4908 }; 3110 }; 4909 3111 4910 cpu7-top-thermal { 3112 cpu7-top-thermal { 4911 polling-delay-passive 3113 polling-delay-passive = <250>; >> 3114 polling-delay = <1000>; 4912 3115 4913 thermal-sensors = <&t 3116 thermal-sensors = <&tsens0 10>; 4914 3117 4915 trips { 3118 trips { 4916 cpu7_top_aler 3119 cpu7_top_alert0: trip-point0 { 4917 tempe 3120 temperature = <90000>; 4918 hyste 3121 hysteresis = <2000>; 4919 type 3122 type = "passive"; 4920 }; 3123 }; 4921 3124 4922 cpu7_top_aler 3125 cpu7_top_alert1: trip-point1 { 4923 tempe 3126 temperature = <95000>; 4924 hyste 3127 hysteresis = <2000>; 4925 type 3128 type = "passive"; 4926 }; 3129 }; 4927 3130 4928 cpu7_top_crit !! 3131 cpu7_top_crit: cpu_crit { 4929 tempe 3132 temperature = <110000>; 4930 hyste 3133 hysteresis = <1000>; 4931 type 3134 type = "critical"; 4932 }; 3135 }; 4933 }; 3136 }; 4934 3137 4935 cooling-maps { 3138 cooling-maps { 4936 map0 { 3139 map0 { 4937 trip 3140 trip = <&cpu7_top_alert0>; 4938 cooli 3141 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4939 3142 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4940 3143 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4941 3144 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4942 }; 3145 }; 4943 map1 { 3146 map1 { 4944 trip 3147 trip = <&cpu7_top_alert1>; 4945 cooli 3148 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4946 3149 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4947 3150 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4948 3151 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4949 }; 3152 }; 4950 }; 3153 }; 4951 }; 3154 }; 4952 3155 4953 cpu4-bottom-thermal { 3156 cpu4-bottom-thermal { 4954 polling-delay-passive 3157 polling-delay-passive = <250>; >> 3158 polling-delay = <1000>; 4955 3159 4956 thermal-sensors = <&t 3160 thermal-sensors = <&tsens0 11>; 4957 3161 4958 trips { 3162 trips { 4959 cpu4_bottom_a 3163 cpu4_bottom_alert0: trip-point0 { 4960 tempe 3164 temperature = <90000>; 4961 hyste 3165 hysteresis = <2000>; 4962 type 3166 type = "passive"; 4963 }; 3167 }; 4964 3168 4965 cpu4_bottom_a 3169 cpu4_bottom_alert1: trip-point1 { 4966 tempe 3170 temperature = <95000>; 4967 hyste 3171 hysteresis = <2000>; 4968 type 3172 type = "passive"; 4969 }; 3173 }; 4970 3174 4971 cpu4_bottom_c !! 3175 cpu4_bottom_crit: cpu_crit { 4972 tempe 3176 temperature = <110000>; 4973 hyste 3177 hysteresis = <1000>; 4974 type 3178 type = "critical"; 4975 }; 3179 }; 4976 }; 3180 }; 4977 3181 4978 cooling-maps { 3182 cooling-maps { 4979 map0 { 3183 map0 { 4980 trip 3184 trip = <&cpu4_bottom_alert0>; 4981 cooli 3185 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4982 3186 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4983 3187 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4984 3188 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4985 }; 3189 }; 4986 map1 { 3190 map1 { 4987 trip 3191 trip = <&cpu4_bottom_alert1>; 4988 cooli 3192 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4989 3193 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4990 3194 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 4991 3195 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 4992 }; 3196 }; 4993 }; 3197 }; 4994 }; 3198 }; 4995 3199 4996 cpu5-bottom-thermal { 3200 cpu5-bottom-thermal { 4997 polling-delay-passive 3201 polling-delay-passive = <250>; >> 3202 polling-delay = <1000>; 4998 3203 4999 thermal-sensors = <&t 3204 thermal-sensors = <&tsens0 12>; 5000 3205 5001 trips { 3206 trips { 5002 cpu5_bottom_a 3207 cpu5_bottom_alert0: trip-point0 { 5003 tempe 3208 temperature = <90000>; 5004 hyste 3209 hysteresis = <2000>; 5005 type 3210 type = "passive"; 5006 }; 3211 }; 5007 3212 5008 cpu5_bottom_a 3213 cpu5_bottom_alert1: trip-point1 { 5009 tempe 3214 temperature = <95000>; 5010 hyste 3215 hysteresis = <2000>; 5011 type 3216 type = "passive"; 5012 }; 3217 }; 5013 3218 5014 cpu5_bottom_c !! 3219 cpu5_bottom_crit: cpu_crit { 5015 tempe 3220 temperature = <110000>; 5016 hyste 3221 hysteresis = <1000>; 5017 type 3222 type = "critical"; 5018 }; 3223 }; 5019 }; 3224 }; 5020 3225 5021 cooling-maps { 3226 cooling-maps { 5022 map0 { 3227 map0 { 5023 trip 3228 trip = <&cpu5_bottom_alert0>; 5024 cooli 3229 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5025 3230 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5026 3231 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5027 3232 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5028 }; 3233 }; 5029 map1 { 3234 map1 { 5030 trip 3235 trip = <&cpu5_bottom_alert1>; 5031 cooli 3236 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5032 3237 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5033 3238 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5034 3239 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5035 }; 3240 }; 5036 }; 3241 }; 5037 }; 3242 }; 5038 3243 5039 cpu6-bottom-thermal { 3244 cpu6-bottom-thermal { 5040 polling-delay-passive 3245 polling-delay-passive = <250>; >> 3246 polling-delay = <1000>; 5041 3247 5042 thermal-sensors = <&t 3248 thermal-sensors = <&tsens0 13>; 5043 3249 5044 trips { 3250 trips { 5045 cpu6_bottom_a 3251 cpu6_bottom_alert0: trip-point0 { 5046 tempe 3252 temperature = <90000>; 5047 hyste 3253 hysteresis = <2000>; 5048 type 3254 type = "passive"; 5049 }; 3255 }; 5050 3256 5051 cpu6_bottom_a 3257 cpu6_bottom_alert1: trip-point1 { 5052 tempe 3258 temperature = <95000>; 5053 hyste 3259 hysteresis = <2000>; 5054 type 3260 type = "passive"; 5055 }; 3261 }; 5056 3262 5057 cpu6_bottom_c !! 3263 cpu6_bottom_crit: cpu_crit { 5058 tempe 3264 temperature = <110000>; 5059 hyste 3265 hysteresis = <1000>; 5060 type 3266 type = "critical"; 5061 }; 3267 }; 5062 }; 3268 }; 5063 3269 5064 cooling-maps { 3270 cooling-maps { 5065 map0 { 3271 map0 { 5066 trip 3272 trip = <&cpu6_bottom_alert0>; 5067 cooli 3273 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5068 3274 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5069 3275 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5070 3276 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5071 }; 3277 }; 5072 map1 { 3278 map1 { 5073 trip 3279 trip = <&cpu6_bottom_alert1>; 5074 cooli 3280 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5075 3281 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5076 3282 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5077 3283 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5078 }; 3284 }; 5079 }; 3285 }; 5080 }; 3286 }; 5081 3287 5082 cpu7-bottom-thermal { 3288 cpu7-bottom-thermal { 5083 polling-delay-passive 3289 polling-delay-passive = <250>; >> 3290 polling-delay = <1000>; 5084 3291 5085 thermal-sensors = <&t 3292 thermal-sensors = <&tsens0 14>; 5086 3293 5087 trips { 3294 trips { 5088 cpu7_bottom_a 3295 cpu7_bottom_alert0: trip-point0 { 5089 tempe 3296 temperature = <90000>; 5090 hyste 3297 hysteresis = <2000>; 5091 type 3298 type = "passive"; 5092 }; 3299 }; 5093 3300 5094 cpu7_bottom_a 3301 cpu7_bottom_alert1: trip-point1 { 5095 tempe 3302 temperature = <95000>; 5096 hyste 3303 hysteresis = <2000>; 5097 type 3304 type = "passive"; 5098 }; 3305 }; 5099 3306 5100 cpu7_bottom_c !! 3307 cpu7_bottom_crit: cpu_crit { 5101 tempe 3308 temperature = <110000>; 5102 hyste 3309 hysteresis = <1000>; 5103 type 3310 type = "critical"; 5104 }; 3311 }; 5105 }; 3312 }; 5106 3313 5107 cooling-maps { 3314 cooling-maps { 5108 map0 { 3315 map0 { 5109 trip 3316 trip = <&cpu7_bottom_alert0>; 5110 cooli 3317 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5111 3318 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5112 3319 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5113 3320 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5114 }; 3321 }; 5115 map1 { 3322 map1 { 5116 trip 3323 trip = <&cpu7_bottom_alert1>; 5117 cooli 3324 cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5118 3325 <&CPU5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5119 3326 <&CPU6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, 5120 3327 <&CPU7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 5121 }; 3328 }; 5122 }; 3329 }; 5123 }; 3330 }; 5124 3331 5125 aoss0-thermal { 3332 aoss0-thermal { 5126 polling-delay-passive 3333 polling-delay-passive = <250>; >> 3334 polling-delay = <1000>; 5127 3335 5128 thermal-sensors = <&t 3336 thermal-sensors = <&tsens0 0>; 5129 3337 5130 trips { 3338 trips { 5131 aoss0_alert0: 3339 aoss0_alert0: trip-point0 { 5132 tempe 3340 temperature = <90000>; 5133 hyste 3341 hysteresis = <2000>; 5134 type 3342 type = "hot"; 5135 }; 3343 }; 5136 }; 3344 }; 5137 }; 3345 }; 5138 3346 5139 cluster0-thermal { 3347 cluster0-thermal { 5140 polling-delay-passive 3348 polling-delay-passive = <250>; >> 3349 polling-delay = <1000>; 5141 3350 5142 thermal-sensors = <&t 3351 thermal-sensors = <&tsens0 5>; 5143 3352 5144 trips { 3353 trips { 5145 cluster0_aler 3354 cluster0_alert0: trip-point0 { 5146 tempe 3355 temperature = <90000>; 5147 hyste 3356 hysteresis = <2000>; 5148 type 3357 type = "hot"; 5149 }; 3358 }; 5150 cluster0_crit !! 3359 cluster0_crit: cluster0_crit { 5151 tempe 3360 temperature = <110000>; 5152 hyste 3361 hysteresis = <2000>; 5153 type 3362 type = "critical"; 5154 }; 3363 }; 5155 }; 3364 }; 5156 }; 3365 }; 5157 3366 5158 cluster1-thermal { 3367 cluster1-thermal { 5159 polling-delay-passive 3368 polling-delay-passive = <250>; >> 3369 polling-delay = <1000>; 5160 3370 5161 thermal-sensors = <&t 3371 thermal-sensors = <&tsens0 6>; 5162 3372 5163 trips { 3373 trips { 5164 cluster1_aler 3374 cluster1_alert0: trip-point0 { 5165 tempe 3375 temperature = <90000>; 5166 hyste 3376 hysteresis = <2000>; 5167 type 3377 type = "hot"; 5168 }; 3378 }; 5169 cluster1_crit !! 3379 cluster1_crit: cluster1_crit { 5170 tempe 3380 temperature = <110000>; 5171 hyste 3381 hysteresis = <2000>; 5172 type 3382 type = "critical"; 5173 }; 3383 }; 5174 }; 3384 }; 5175 }; 3385 }; 5176 3386 5177 gpu-top-thermal { !! 3387 gpu-thermal-top { 5178 polling-delay-passive 3388 polling-delay-passive = <250>; >> 3389 polling-delay = <1000>; 5179 3390 5180 thermal-sensors = <&t 3391 thermal-sensors = <&tsens0 15>; 5181 3392 5182 cooling-maps { << 5183 map0 { << 5184 trip << 5185 cooli << 5186 }; << 5187 }; << 5188 << 5189 trips { 3393 trips { 5190 gpu_top_alert !! 3394 gpu1_alert0: trip-point0 { 5191 tempe << 5192 hyste << 5193 type << 5194 }; << 5195 << 5196 trip-point1 { << 5197 tempe 3395 temperature = <90000>; 5198 hyste !! 3396 hysteresis = <2000>; 5199 type 3397 type = "hot"; 5200 }; 3398 }; 5201 << 5202 trip-point2 { << 5203 tempe << 5204 hyste << 5205 type << 5206 }; << 5207 }; 3399 }; 5208 }; 3400 }; 5209 3401 5210 aoss1-thermal { 3402 aoss1-thermal { 5211 polling-delay-passive 3403 polling-delay-passive = <250>; >> 3404 polling-delay = <1000>; 5212 3405 5213 thermal-sensors = <&t 3406 thermal-sensors = <&tsens1 0>; 5214 3407 5215 trips { 3408 trips { 5216 aoss1_alert0: 3409 aoss1_alert0: trip-point0 { 5217 tempe 3410 temperature = <90000>; 5218 hyste 3411 hysteresis = <2000>; 5219 type 3412 type = "hot"; 5220 }; 3413 }; 5221 }; 3414 }; 5222 }; 3415 }; 5223 3416 5224 wlan-thermal { 3417 wlan-thermal { 5225 polling-delay-passive 3418 polling-delay-passive = <250>; >> 3419 polling-delay = <1000>; 5226 3420 5227 thermal-sensors = <&t 3421 thermal-sensors = <&tsens1 1>; 5228 3422 5229 trips { 3423 trips { 5230 wlan_alert0: 3424 wlan_alert0: trip-point0 { 5231 tempe 3425 temperature = <90000>; 5232 hyste 3426 hysteresis = <2000>; 5233 type 3427 type = "hot"; 5234 }; 3428 }; 5235 }; 3429 }; 5236 }; 3430 }; 5237 3431 5238 video-thermal { 3432 video-thermal { 5239 polling-delay-passive 3433 polling-delay-passive = <250>; >> 3434 polling-delay = <1000>; 5240 3435 5241 thermal-sensors = <&t 3436 thermal-sensors = <&tsens1 2>; 5242 3437 5243 trips { 3438 trips { 5244 video_alert0: 3439 video_alert0: trip-point0 { 5245 tempe 3440 temperature = <90000>; 5246 hyste 3441 hysteresis = <2000>; 5247 type 3442 type = "hot"; 5248 }; 3443 }; 5249 }; 3444 }; 5250 }; 3445 }; 5251 3446 5252 mem-thermal { 3447 mem-thermal { 5253 polling-delay-passive 3448 polling-delay-passive = <250>; >> 3449 polling-delay = <1000>; 5254 3450 5255 thermal-sensors = <&t 3451 thermal-sensors = <&tsens1 3>; 5256 3452 5257 trips { 3453 trips { 5258 mem_alert0: t 3454 mem_alert0: trip-point0 { 5259 tempe 3455 temperature = <90000>; 5260 hyste 3456 hysteresis = <2000>; 5261 type 3457 type = "hot"; 5262 }; 3458 }; 5263 }; 3459 }; 5264 }; 3460 }; 5265 3461 5266 q6-hvx-thermal { 3462 q6-hvx-thermal { 5267 polling-delay-passive 3463 polling-delay-passive = <250>; >> 3464 polling-delay = <1000>; 5268 3465 5269 thermal-sensors = <&t 3466 thermal-sensors = <&tsens1 4>; 5270 3467 5271 trips { 3468 trips { 5272 q6_hvx_alert0 3469 q6_hvx_alert0: trip-point0 { 5273 tempe 3470 temperature = <90000>; 5274 hyste 3471 hysteresis = <2000>; 5275 type 3472 type = "hot"; 5276 }; 3473 }; 5277 }; 3474 }; 5278 }; 3475 }; 5279 3476 5280 camera-thermal { 3477 camera-thermal { 5281 polling-delay-passive 3478 polling-delay-passive = <250>; >> 3479 polling-delay = <1000>; 5282 3480 5283 thermal-sensors = <&t 3481 thermal-sensors = <&tsens1 5>; 5284 3482 5285 trips { 3483 trips { 5286 camera_alert0 3484 camera_alert0: trip-point0 { 5287 tempe 3485 temperature = <90000>; 5288 hyste 3486 hysteresis = <2000>; 5289 type 3487 type = "hot"; 5290 }; 3488 }; 5291 }; 3489 }; 5292 }; 3490 }; 5293 3491 5294 compute-thermal { 3492 compute-thermal { 5295 polling-delay-passive 3493 polling-delay-passive = <250>; >> 3494 polling-delay = <1000>; 5296 3495 5297 thermal-sensors = <&t 3496 thermal-sensors = <&tsens1 6>; 5298 3497 5299 trips { 3498 trips { 5300 compute_alert 3499 compute_alert0: trip-point0 { 5301 tempe 3500 temperature = <90000>; 5302 hyste 3501 hysteresis = <2000>; 5303 type 3502 type = "hot"; 5304 }; 3503 }; 5305 }; 3504 }; 5306 }; 3505 }; 5307 3506 5308 modem-thermal { 3507 modem-thermal { 5309 polling-delay-passive 3508 polling-delay-passive = <250>; >> 3509 polling-delay = <1000>; 5310 3510 5311 thermal-sensors = <&t 3511 thermal-sensors = <&tsens1 7>; 5312 3512 5313 trips { 3513 trips { 5314 modem_alert0: 3514 modem_alert0: trip-point0 { 5315 tempe 3515 temperature = <90000>; 5316 hyste 3516 hysteresis = <2000>; 5317 type 3517 type = "hot"; 5318 }; 3518 }; 5319 }; 3519 }; 5320 }; 3520 }; 5321 3521 5322 npu-thermal { 3522 npu-thermal { 5323 polling-delay-passive 3523 polling-delay-passive = <250>; >> 3524 polling-delay = <1000>; 5324 3525 5325 thermal-sensors = <&t 3526 thermal-sensors = <&tsens1 8>; 5326 3527 5327 trips { 3528 trips { 5328 npu_alert0: t 3529 npu_alert0: trip-point0 { 5329 tempe 3530 temperature = <90000>; 5330 hyste 3531 hysteresis = <2000>; 5331 type 3532 type = "hot"; 5332 }; 3533 }; 5333 }; 3534 }; 5334 }; 3535 }; 5335 3536 5336 modem-vec-thermal { 3537 modem-vec-thermal { 5337 polling-delay-passive 3538 polling-delay-passive = <250>; >> 3539 polling-delay = <1000>; 5338 3540 5339 thermal-sensors = <&t 3541 thermal-sensors = <&tsens1 9>; 5340 3542 5341 trips { 3543 trips { 5342 modem_vec_ale 3544 modem_vec_alert0: trip-point0 { 5343 tempe 3545 temperature = <90000>; 5344 hyste 3546 hysteresis = <2000>; 5345 type 3547 type = "hot"; 5346 }; 3548 }; 5347 }; 3549 }; 5348 }; 3550 }; 5349 3551 5350 modem-scl-thermal { 3552 modem-scl-thermal { 5351 polling-delay-passive 3553 polling-delay-passive = <250>; >> 3554 polling-delay = <1000>; 5352 3555 5353 thermal-sensors = <&t 3556 thermal-sensors = <&tsens1 10>; 5354 3557 5355 trips { 3558 trips { 5356 modem_scl_ale 3559 modem_scl_alert0: trip-point0 { 5357 tempe 3560 temperature = <90000>; 5358 hyste 3561 hysteresis = <2000>; 5359 type 3562 type = "hot"; 5360 }; 3563 }; 5361 }; 3564 }; 5362 }; 3565 }; 5363 3566 5364 gpu-bottom-thermal { !! 3567 gpu-thermal-bottom { 5365 polling-delay-passive 3568 polling-delay-passive = <250>; >> 3569 polling-delay = <1000>; 5366 3570 5367 thermal-sensors = <&t 3571 thermal-sensors = <&tsens1 11>; 5368 3572 5369 cooling-maps { << 5370 map0 { << 5371 trip << 5372 cooli << 5373 }; << 5374 }; << 5375 << 5376 trips { 3573 trips { 5377 gpu_bottom_al !! 3574 gpu2_alert0: trip-point0 { 5378 tempe << 5379 hyste << 5380 type << 5381 }; << 5382 << 5383 trip-point1 { << 5384 tempe 3575 temperature = <90000>; 5385 hyste !! 3576 hysteresis = <2000>; 5386 type 3577 type = "hot"; 5387 }; << 5388 << 5389 trip-point2 { << 5390 tempe << 5391 hyste << 5392 type << 5393 }; 3578 }; 5394 }; 3579 }; 5395 }; 3580 }; 5396 }; 3581 }; 5397 }; 3582 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.