| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2021, Konrad Dybcio <[email protected]> |
| 4 |
* Copyright (c) 2022, Luca Weiss <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include <dt-bindings/clock/qcom,dispcc-sm6350.h> |
| 8 |
#include <dt-bindings/clock/qcom,dsi-phy-28nm.h> |
| 9 |
#include <dt-bindings/clock/qcom,gcc-sm6350.h> |
| 10 |
#include <dt-bindings/clock/qcom,gpucc-sm6350.h> |
| 11 |
#include <dt-bindings/clock/qcom,rpmh.h> |
| 12 |
#include <dt-bindings/clock/qcom,sm6350-camcc.h> |
| 13 |
#include <dt-bindings/dma/qcom-gpi.h> |
| 14 |
#include <dt-bindings/gpio/gpio.h> |
| 15 |
#include <dt-bindings/interconnect/qcom,icc.h> |
| 16 |
#include <dt-bindings/interconnect/qcom,osm-l3.h> |
| 17 |
#include <dt-bindings/interconnect/qcom,sm6350.h> |
| 18 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 19 |
#include <dt-bindings/mailbox/qcom-ipcc.h> |
| 20 |
#include <dt-bindings/phy/phy-qcom-qmp.h> |
| 21 |
#include <dt-bindings/power/qcom-rpmpd.h> |
| 22 |
#include <dt-bindings/soc/qcom,apr.h> |
| 23 |
#include <dt-bindings/soc/qcom,rpmh-rsc.h> |
| 24 |
#include <dt-bindings/sound/qcom,q6dsp-lpass-ports.h> |
| 25 |
#include <dt-bindings/thermal/thermal.h> |
| 26 |
|
| 27 |
/ { |
| 28 |
interrupt-parent = <&intc>; |
| 29 |
#address-cells = <2>; |
| 30 |
#size-cells = <2>; |
| 31 |
|
| 32 |
clocks { |
| 33 |
xo_board: xo-board { |
| 34 |
compatible = "fixed-clock"; |
| 35 |
#clock-cells = <0>; |
| 36 |
clock-frequency = <76800000>; |
| 37 |
clock-output-names = "xo_board"; |
| 38 |
}; |
| 39 |
|
| 40 |
sleep_clk: sleep-clk { |
| 41 |
compatible = "fixed-clock"; |
| 42 |
clock-frequency = <32764>; |
| 43 |
#clock-cells = <0>; |
| 44 |
}; |
| 45 |
}; |
| 46 |
|
| 47 |
cpus { |
| 48 |
#address-cells = <2>; |
| 49 |
#size-cells = <0>; |
| 50 |
|
| 51 |
cpu0: cpu@0 { |
| 52 |
device_type = "cpu"; |
| 53 |
compatible = "qcom,kryo560"; |
| 54 |
reg = <0x0 0x0>; |
| 55 |
clocks = <&cpufreq_hw 0>; |
| 56 |
enable-method = "psci"; |
| 57 |
capacity-dmips-mhz = <1024>; |
| 58 |
dynamic-power-coefficient = <100>; |
| 59 |
next-level-cache = <&l2_0>; |
| 60 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 61 |
operating-points-v2 = <&cpu0_opp_table>; |
| 62 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 63 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 64 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 65 |
power-domains = <&cpu_pd0>; |
| 66 |
power-domain-names = "psci"; |
| 67 |
#cooling-cells = <2>; |
| 68 |
l2_0: l2-cache { |
| 69 |
compatible = "cache"; |
| 70 |
cache-level = <2>; |
| 71 |
cache-unified; |
| 72 |
next-level-cache = <&l3_0>; |
| 73 |
l3_0: l3-cache { |
| 74 |
compatible = "cache"; |
| 75 |
cache-level = <3>; |
| 76 |
cache-unified; |
| 77 |
}; |
| 78 |
}; |
| 79 |
}; |
| 80 |
|
| 81 |
cpu1: cpu@100 { |
| 82 |
device_type = "cpu"; |
| 83 |
compatible = "qcom,kryo560"; |
| 84 |
reg = <0x0 0x100>; |
| 85 |
clocks = <&cpufreq_hw 0>; |
| 86 |
enable-method = "psci"; |
| 87 |
capacity-dmips-mhz = <1024>; |
| 88 |
dynamic-power-coefficient = <100>; |
| 89 |
next-level-cache = <&l2_100>; |
| 90 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 91 |
operating-points-v2 = <&cpu0_opp_table>; |
| 92 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 93 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 94 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 95 |
power-domains = <&cpu_pd1>; |
| 96 |
power-domain-names = "psci"; |
| 97 |
#cooling-cells = <2>; |
| 98 |
l2_100: l2-cache { |
| 99 |
compatible = "cache"; |
| 100 |
cache-level = <2>; |
| 101 |
cache-unified; |
| 102 |
next-level-cache = <&l3_0>; |
| 103 |
}; |
| 104 |
}; |
| 105 |
|
| 106 |
cpu2: cpu@200 { |
| 107 |
device_type = "cpu"; |
| 108 |
compatible = "qcom,kryo560"; |
| 109 |
reg = <0x0 0x200>; |
| 110 |
clocks = <&cpufreq_hw 0>; |
| 111 |
enable-method = "psci"; |
| 112 |
capacity-dmips-mhz = <1024>; |
| 113 |
dynamic-power-coefficient = <100>; |
| 114 |
next-level-cache = <&l2_200>; |
| 115 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 116 |
operating-points-v2 = <&cpu0_opp_table>; |
| 117 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 118 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 119 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 120 |
power-domains = <&cpu_pd2>; |
| 121 |
power-domain-names = "psci"; |
| 122 |
#cooling-cells = <2>; |
| 123 |
l2_200: l2-cache { |
| 124 |
compatible = "cache"; |
| 125 |
cache-level = <2>; |
| 126 |
cache-unified; |
| 127 |
next-level-cache = <&l3_0>; |
| 128 |
}; |
| 129 |
}; |
| 130 |
|
| 131 |
cpu3: cpu@300 { |
| 132 |
device_type = "cpu"; |
| 133 |
compatible = "qcom,kryo560"; |
| 134 |
reg = <0x0 0x300>; |
| 135 |
clocks = <&cpufreq_hw 0>; |
| 136 |
enable-method = "psci"; |
| 137 |
capacity-dmips-mhz = <1024>; |
| 138 |
dynamic-power-coefficient = <100>; |
| 139 |
next-level-cache = <&l2_300>; |
| 140 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 141 |
operating-points-v2 = <&cpu0_opp_table>; |
| 142 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 143 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 144 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 145 |
power-domains = <&cpu_pd3>; |
| 146 |
power-domain-names = "psci"; |
| 147 |
#cooling-cells = <2>; |
| 148 |
l2_300: l2-cache { |
| 149 |
compatible = "cache"; |
| 150 |
cache-level = <2>; |
| 151 |
cache-unified; |
| 152 |
next-level-cache = <&l3_0>; |
| 153 |
}; |
| 154 |
}; |
| 155 |
|
| 156 |
cpu4: cpu@400 { |
| 157 |
device_type = "cpu"; |
| 158 |
compatible = "qcom,kryo560"; |
| 159 |
reg = <0x0 0x400>; |
| 160 |
clocks = <&cpufreq_hw 0>; |
| 161 |
enable-method = "psci"; |
| 162 |
capacity-dmips-mhz = <1024>; |
| 163 |
dynamic-power-coefficient = <100>; |
| 164 |
next-level-cache = <&l2_400>; |
| 165 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 166 |
operating-points-v2 = <&cpu0_opp_table>; |
| 167 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 168 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 169 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 170 |
power-domains = <&cpu_pd4>; |
| 171 |
power-domain-names = "psci"; |
| 172 |
#cooling-cells = <2>; |
| 173 |
l2_400: l2-cache { |
| 174 |
compatible = "cache"; |
| 175 |
cache-level = <2>; |
| 176 |
cache-unified; |
| 177 |
next-level-cache = <&l3_0>; |
| 178 |
}; |
| 179 |
}; |
| 180 |
|
| 181 |
cpu5: cpu@500 { |
| 182 |
device_type = "cpu"; |
| 183 |
compatible = "qcom,kryo560"; |
| 184 |
reg = <0x0 0x500>; |
| 185 |
clocks = <&cpufreq_hw 0>; |
| 186 |
enable-method = "psci"; |
| 187 |
capacity-dmips-mhz = <1024>; |
| 188 |
dynamic-power-coefficient = <100>; |
| 189 |
next-level-cache = <&l2_500>; |
| 190 |
qcom,freq-domain = <&cpufreq_hw 0>; |
| 191 |
operating-points-v2 = <&cpu0_opp_table>; |
| 192 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 193 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 194 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 195 |
power-domains = <&cpu_pd5>; |
| 196 |
power-domain-names = "psci"; |
| 197 |
#cooling-cells = <2>; |
| 198 |
l2_500: l2-cache { |
| 199 |
compatible = "cache"; |
| 200 |
cache-level = <2>; |
| 201 |
cache-unified; |
| 202 |
next-level-cache = <&l3_0>; |
| 203 |
}; |
| 204 |
}; |
| 205 |
|
| 206 |
cpu6: cpu@600 { |
| 207 |
device_type = "cpu"; |
| 208 |
compatible = "qcom,kryo560"; |
| 209 |
reg = <0x0 0x600>; |
| 210 |
clocks = <&cpufreq_hw 1>; |
| 211 |
enable-method = "psci"; |
| 212 |
capacity-dmips-mhz = <1894>; |
| 213 |
dynamic-power-coefficient = <703>; |
| 214 |
next-level-cache = <&l2_600>; |
| 215 |
qcom,freq-domain = <&cpufreq_hw 1>; |
| 216 |
operating-points-v2 = <&cpu6_opp_table>; |
| 217 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 218 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 219 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 220 |
power-domains = <&cpu_pd6>; |
| 221 |
power-domain-names = "psci"; |
| 222 |
#cooling-cells = <2>; |
| 223 |
l2_600: l2-cache { |
| 224 |
compatible = "cache"; |
| 225 |
cache-level = <2>; |
| 226 |
cache-unified; |
| 227 |
next-level-cache = <&l3_0>; |
| 228 |
}; |
| 229 |
}; |
| 230 |
|
| 231 |
cpu7: cpu@700 { |
| 232 |
device_type = "cpu"; |
| 233 |
compatible = "qcom,kryo560"; |
| 234 |
reg = <0x0 0x700>; |
| 235 |
clocks = <&cpufreq_hw 1>; |
| 236 |
enable-method = "psci"; |
| 237 |
capacity-dmips-mhz = <1894>; |
| 238 |
dynamic-power-coefficient = <703>; |
| 239 |
next-level-cache = <&l2_700>; |
| 240 |
qcom,freq-domain = <&cpufreq_hw 1>; |
| 241 |
operating-points-v2 = <&cpu6_opp_table>; |
| 242 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 243 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>, |
| 244 |
<&osm_l3 MASTER_OSM_L3_APPS &osm_l3 SLAVE_OSM_L3>; |
| 245 |
power-domains = <&cpu_pd7>; |
| 246 |
power-domain-names = "psci"; |
| 247 |
#cooling-cells = <2>; |
| 248 |
l2_700: l2-cache { |
| 249 |
compatible = "cache"; |
| 250 |
cache-level = <2>; |
| 251 |
cache-unified; |
| 252 |
next-level-cache = <&l3_0>; |
| 253 |
}; |
| 254 |
}; |
| 255 |
|
| 256 |
cpu-map { |
| 257 |
cluster0 { |
| 258 |
core0 { |
| 259 |
cpu = <&cpu0>; |
| 260 |
}; |
| 261 |
|
| 262 |
core1 { |
| 263 |
cpu = <&cpu1>; |
| 264 |
}; |
| 265 |
|
| 266 |
core2 { |
| 267 |
cpu = <&cpu2>; |
| 268 |
}; |
| 269 |
|
| 270 |
core3 { |
| 271 |
cpu = <&cpu3>; |
| 272 |
}; |
| 273 |
|
| 274 |
core4 { |
| 275 |
cpu = <&cpu4>; |
| 276 |
}; |
| 277 |
|
| 278 |
core5 { |
| 279 |
cpu = <&cpu5>; |
| 280 |
}; |
| 281 |
|
| 282 |
core6 { |
| 283 |
cpu = <&cpu6>; |
| 284 |
}; |
| 285 |
|
| 286 |
core7 { |
| 287 |
cpu = <&cpu7>; |
| 288 |
}; |
| 289 |
}; |
| 290 |
}; |
| 291 |
|
| 292 |
domain-idle-states { |
| 293 |
cluster_sleep_pc: cluster-sleep-0 { |
| 294 |
compatible = "domain-idle-state"; |
| 295 |
arm,psci-suspend-param = <0x41000044>; |
| 296 |
entry-latency-us = <2752>; |
| 297 |
exit-latency-us = <3048>; |
| 298 |
min-residency-us = <6118>; |
| 299 |
}; |
| 300 |
|
| 301 |
cluster_sleep_cx_ret: cluster-sleep-1 { |
| 302 |
compatible = "domain-idle-state"; |
| 303 |
arm,psci-suspend-param = <0x41001244>; |
| 304 |
entry-latency-us = <3638>; |
| 305 |
exit-latency-us = <4562>; |
| 306 |
min-residency-us = <8467>; |
| 307 |
}; |
| 308 |
|
| 309 |
cluster_aoss_sleep: cluster-sleep-2 { |
| 310 |
compatible = "domain-idle-state"; |
| 311 |
arm,psci-suspend-param = <0x4100b244>; |
| 312 |
entry-latency-us = <3263>; |
| 313 |
exit-latency-us = <6562>; |
| 314 |
min-residency-us = <9987>; |
| 315 |
}; |
| 316 |
}; |
| 317 |
|
| 318 |
cpu_idle_states: idle-states { |
| 319 |
entry-method = "psci"; |
| 320 |
|
| 321 |
little_cpu_sleep_0: cpu-sleep-0-0 { |
| 322 |
compatible = "arm,idle-state"; |
| 323 |
idle-state-name = "little-power-collapse"; |
| 324 |
arm,psci-suspend-param = <0x40000003>; |
| 325 |
entry-latency-us = <549>; |
| 326 |
exit-latency-us = <901>; |
| 327 |
min-residency-us = <1774>; |
| 328 |
local-timer-stop; |
| 329 |
}; |
| 330 |
|
| 331 |
little_cpu_sleep_1: cpu-sleep-0-1 { |
| 332 |
compatible = "arm,idle-state"; |
| 333 |
idle-state-name = "little-rail-power-collapse"; |
| 334 |
arm,psci-suspend-param = <0x40000004>; |
| 335 |
entry-latency-us = <702>; |
| 336 |
exit-latency-us = <915>; |
| 337 |
min-residency-us = <4001>; |
| 338 |
local-timer-stop; |
| 339 |
}; |
| 340 |
|
| 341 |
big_cpu_sleep_0: cpu-sleep-1-0 { |
| 342 |
compatible = "arm,idle-state"; |
| 343 |
idle-state-name = "big-power-collapse"; |
| 344 |
arm,psci-suspend-param = <0x40000003>; |
| 345 |
entry-latency-us = <523>; |
| 346 |
exit-latency-us = <1244>; |
| 347 |
min-residency-us = <2207>; |
| 348 |
local-timer-stop; |
| 349 |
}; |
| 350 |
|
| 351 |
big_cpu_sleep_1: cpu-sleep-1-1 { |
| 352 |
compatible = "arm,idle-state"; |
| 353 |
idle-state-name = "big-rail-power-collapse"; |
| 354 |
arm,psci-suspend-param = <0x40000004>; |
| 355 |
entry-latency-us = <526>; |
| 356 |
exit-latency-us = <1854>; |
| 357 |
min-residency-us = <5555>; |
| 358 |
local-timer-stop; |
| 359 |
}; |
| 360 |
}; |
| 361 |
}; |
| 362 |
|
| 363 |
firmware { |
| 364 |
scm: scm { |
| 365 |
compatible = "qcom,scm-sm6350", "qcom,scm"; |
| 366 |
#reset-cells = <1>; |
| 367 |
}; |
| 368 |
}; |
| 369 |
|
| 370 |
memory@80000000 { |
| 371 |
device_type = "memory"; |
| 372 |
/* We expect the bootloader to fill in the size */ |
| 373 |
reg = <0x0 0x80000000 0x0 0x0>; |
| 374 |
}; |
| 375 |
|
| 376 |
cpu0_opp_table: opp-table-cpu0 { |
| 377 |
compatible = "operating-points-v2"; |
| 378 |
opp-shared; |
| 379 |
|
| 380 |
opp-300000000 { |
| 381 |
opp-hz = /bits/ 64 <300000000>; |
| 382 |
/* DDR: 4-wide, 2 channels, double data rate, L3: 16-wide, 2 channels */ |
| 383 |
opp-peak-kBps = <(200000 * 4 * 2 * 2) (300000 * 16 * 2)>; |
| 384 |
}; |
| 385 |
|
| 386 |
opp-576000000 { |
| 387 |
opp-hz = /bits/ 64 <576000000>; |
| 388 |
opp-peak-kBps = <(547000 * 4 * 2 * 2) (556800 * 16 * 2)>; |
| 389 |
}; |
| 390 |
|
| 391 |
opp-768000000 { |
| 392 |
opp-hz = /bits/ 64 <768000000>; |
| 393 |
opp-peak-kBps = <(768000 * 4 * 2 * 2) (652800 * 16 * 2)>; |
| 394 |
}; |
| 395 |
|
| 396 |
opp-1017600000 { |
| 397 |
opp-hz = /bits/ 64 <1017600000>; |
| 398 |
opp-peak-kBps = <(1017000 * 4 * 2 * 2) (940800 * 16 * 2)>; |
| 399 |
}; |
| 400 |
|
| 401 |
opp-1248000000 { |
| 402 |
opp-hz = /bits/ 64 <1248000000>; |
| 403 |
opp-peak-kBps = <(1017000 * 4 * 2 * 2) (1209600 * 16 * 2)>; |
| 404 |
}; |
| 405 |
|
| 406 |
opp-1324800000 { |
| 407 |
opp-hz = /bits/ 64 <1324800000>; |
| 408 |
opp-peak-kBps = <(1017000 * 4 * 2 * 2) (1286400 * 16 * 2)>; |
| 409 |
}; |
| 410 |
|
| 411 |
opp-1516800000 { |
| 412 |
opp-hz = /bits/ 64 <1516800000>; |
| 413 |
opp-peak-kBps = <(1353000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 414 |
}; |
| 415 |
|
| 416 |
opp-1612800000 { |
| 417 |
opp-hz = /bits/ 64 <1612800000>; |
| 418 |
opp-peak-kBps = <(1555000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 419 |
}; |
| 420 |
|
| 421 |
opp-1708800000 { |
| 422 |
opp-hz = /bits/ 64 <1708800000>; |
| 423 |
opp-peak-kBps = <(1555000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 424 |
}; |
| 425 |
}; |
| 426 |
|
| 427 |
cpu6_opp_table: opp-table-cpu6 { |
| 428 |
compatible = "operating-points-v2"; |
| 429 |
opp-shared; |
| 430 |
|
| 431 |
opp-300000000 { |
| 432 |
opp-hz = /bits/ 64 <300000000>; |
| 433 |
opp-peak-kBps = <(200000 * 4 * 2 * 2) (300000 * 16 * 2)>; |
| 434 |
}; |
| 435 |
|
| 436 |
opp-787200000 { |
| 437 |
opp-hz = /bits/ 64 <787200000>; |
| 438 |
opp-peak-kBps = <(768000 * 4 * 2 * 2) (652800 * 16 * 2)>; |
| 439 |
}; |
| 440 |
|
| 441 |
opp-979200000 { |
| 442 |
opp-hz = /bits/ 64 <979200000>; |
| 443 |
opp-peak-kBps = <(768000 * 4 * 2 * 2) (940800 * 16 * 2)>; |
| 444 |
}; |
| 445 |
|
| 446 |
opp-1036800000 { |
| 447 |
opp-hz = /bits/ 64 <1036800000>; |
| 448 |
opp-peak-kBps = <(1017000 * 4 * 2 * 2) (940800 * 16 * 2)>; |
| 449 |
}; |
| 450 |
|
| 451 |
opp-1248000000 { |
| 452 |
opp-hz = /bits/ 64 <1248000000>; |
| 453 |
opp-peak-kBps = <(1017000 * 4 * 2 * 2) (1209600 * 16 * 2)>; |
| 454 |
}; |
| 455 |
|
| 456 |
opp-1401600000 { |
| 457 |
opp-hz = /bits/ 64 <1401600000>; |
| 458 |
opp-peak-kBps = <(1353000 * 4 * 2 * 2) (1401600 * 16 * 2)>; |
| 459 |
}; |
| 460 |
|
| 461 |
opp-1555200000 { |
| 462 |
opp-hz = /bits/ 64 <1555200000>; |
| 463 |
opp-peak-kBps = <(1555000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 464 |
}; |
| 465 |
|
| 466 |
opp-1766400000 { |
| 467 |
opp-hz = /bits/ 64 <1766400000>; |
| 468 |
opp-peak-kBps = <(1555000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 469 |
}; |
| 470 |
|
| 471 |
opp-1900800000 { |
| 472 |
opp-hz = /bits/ 64 <1900800000>; |
| 473 |
opp-peak-kBps = <(1804000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 474 |
}; |
| 475 |
|
| 476 |
opp-2073600000 { |
| 477 |
opp-hz = /bits/ 64 <2073600000>; |
| 478 |
opp-peak-kBps = <(2092000 * 4 * 2 * 2) (1459200 * 16 * 2)>; |
| 479 |
}; |
| 480 |
}; |
| 481 |
|
| 482 |
qup_opp_table: opp-table-qup { |
| 483 |
compatible = "operating-points-v2"; |
| 484 |
|
| 485 |
opp-75000000 { |
| 486 |
opp-hz = /bits/ 64 <75000000>; |
| 487 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 488 |
}; |
| 489 |
|
| 490 |
opp-100000000 { |
| 491 |
opp-hz = /bits/ 64 <100000000>; |
| 492 |
required-opps = <&rpmhpd_opp_svs>; |
| 493 |
}; |
| 494 |
|
| 495 |
opp-128000000 { |
| 496 |
opp-hz = /bits/ 64 <128000000>; |
| 497 |
required-opps = <&rpmhpd_opp_nom>; |
| 498 |
}; |
| 499 |
}; |
| 500 |
|
| 501 |
pmu { |
| 502 |
compatible = "arm,armv8-pmuv3"; |
| 503 |
interrupts = <GIC_PPI 5 IRQ_TYPE_LEVEL_LOW>; |
| 504 |
}; |
| 505 |
|
| 506 |
psci { |
| 507 |
compatible = "arm,psci-1.0"; |
| 508 |
method = "smc"; |
| 509 |
|
| 510 |
cpu_pd0: power-domain-cpu0 { |
| 511 |
#power-domain-cells = <0>; |
| 512 |
power-domains = <&cluster_pd>; |
| 513 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 514 |
}; |
| 515 |
|
| 516 |
cpu_pd1: power-domain-cpu1 { |
| 517 |
#power-domain-cells = <0>; |
| 518 |
power-domains = <&cluster_pd>; |
| 519 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 520 |
}; |
| 521 |
|
| 522 |
cpu_pd2: power-domain-cpu2 { |
| 523 |
#power-domain-cells = <0>; |
| 524 |
power-domains = <&cluster_pd>; |
| 525 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 526 |
}; |
| 527 |
|
| 528 |
cpu_pd3: power-domain-cpu3 { |
| 529 |
#power-domain-cells = <0>; |
| 530 |
power-domains = <&cluster_pd>; |
| 531 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 532 |
}; |
| 533 |
|
| 534 |
cpu_pd4: power-domain-cpu4 { |
| 535 |
#power-domain-cells = <0>; |
| 536 |
power-domains = <&cluster_pd>; |
| 537 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 538 |
}; |
| 539 |
|
| 540 |
cpu_pd5: power-domain-cpu5 { |
| 541 |
#power-domain-cells = <0>; |
| 542 |
power-domains = <&cluster_pd>; |
| 543 |
domain-idle-states = <&little_cpu_sleep_0 &little_cpu_sleep_1>; |
| 544 |
}; |
| 545 |
|
| 546 |
cpu_pd6: power-domain-cpu6 { |
| 547 |
#power-domain-cells = <0>; |
| 548 |
power-domains = <&cluster_pd>; |
| 549 |
domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; |
| 550 |
}; |
| 551 |
|
| 552 |
cpu_pd7: power-domain-cpu7 { |
| 553 |
#power-domain-cells = <0>; |
| 554 |
power-domains = <&cluster_pd>; |
| 555 |
domain-idle-states = <&big_cpu_sleep_0 &big_cpu_sleep_1>; |
| 556 |
}; |
| 557 |
|
| 558 |
cluster_pd: power-domain-cpu-cluster0 { |
| 559 |
#power-domain-cells = <0>; |
| 560 |
domain-idle-states = <&cluster_sleep_pc |
| 561 |
&cluster_sleep_cx_ret |
| 562 |
&cluster_aoss_sleep>; |
| 563 |
}; |
| 564 |
}; |
| 565 |
|
| 566 |
reserved_memory: reserved-memory { |
| 567 |
#address-cells = <2>; |
| 568 |
#size-cells = <2>; |
| 569 |
ranges; |
| 570 |
|
| 571 |
hyp_mem: memory@80000000 { |
| 572 |
reg = <0x0 0x80000000 0x0 0x600000>; |
| 573 |
no-map; |
| 574 |
}; |
| 575 |
|
| 576 |
xbl_aop_mem: memory@80700000 { |
| 577 |
reg = <0x0 0x80700000 0x0 0x160000>; |
| 578 |
no-map; |
| 579 |
}; |
| 580 |
|
| 581 |
cmd_db: memory@80860000 { |
| 582 |
compatible = "qcom,cmd-db"; |
| 583 |
reg = <0x0 0x80860000 0x0 0x20000>; |
| 584 |
no-map; |
| 585 |
}; |
| 586 |
|
| 587 |
sec_apps_mem: memory@808ff000 { |
| 588 |
reg = <0x0 0x808ff000 0x0 0x1000>; |
| 589 |
no-map; |
| 590 |
}; |
| 591 |
|
| 592 |
smem_mem: memory@80900000 { |
| 593 |
reg = <0x0 0x80900000 0x0 0x200000>; |
| 594 |
no-map; |
| 595 |
}; |
| 596 |
|
| 597 |
cdsp_sec_mem: memory@80b00000 { |
| 598 |
reg = <0x0 0x80b00000 0x0 0x1e00000>; |
| 599 |
no-map; |
| 600 |
}; |
| 601 |
|
| 602 |
pil_camera_mem: memory@86000000 { |
| 603 |
reg = <0x0 0x86000000 0x0 0x500000>; |
| 604 |
no-map; |
| 605 |
}; |
| 606 |
|
| 607 |
pil_npu_mem: memory@86500000 { |
| 608 |
reg = <0x0 0x86500000 0x0 0x500000>; |
| 609 |
no-map; |
| 610 |
}; |
| 611 |
|
| 612 |
pil_video_mem: memory@86a00000 { |
| 613 |
reg = <0x0 0x86a00000 0x0 0x500000>; |
| 614 |
no-map; |
| 615 |
}; |
| 616 |
|
| 617 |
pil_cdsp_mem: memory@86f00000 { |
| 618 |
reg = <0x0 0x86f00000 0x0 0x1e00000>; |
| 619 |
no-map; |
| 620 |
}; |
| 621 |
|
| 622 |
pil_adsp_mem: memory@88d00000 { |
| 623 |
reg = <0x0 0x88d00000 0x0 0x2800000>; |
| 624 |
no-map; |
| 625 |
}; |
| 626 |
|
| 627 |
wlan_fw_mem: memory@8b500000 { |
| 628 |
reg = <0x0 0x8b500000 0x0 0x200000>; |
| 629 |
no-map; |
| 630 |
}; |
| 631 |
|
| 632 |
pil_ipa_fw_mem: memory@8b700000 { |
| 633 |
reg = <0x0 0x8b700000 0x0 0x10000>; |
| 634 |
no-map; |
| 635 |
}; |
| 636 |
|
| 637 |
pil_ipa_gsi_mem: memory@8b710000 { |
| 638 |
reg = <0x0 0x8b710000 0x0 0x5400>; |
| 639 |
no-map; |
| 640 |
}; |
| 641 |
|
| 642 |
pil_modem_mem: memory@8b800000 { |
| 643 |
reg = <0x0 0x8b800000 0x0 0xf800000>; |
| 644 |
no-map; |
| 645 |
}; |
| 646 |
|
| 647 |
cont_splash_memory: memory@a0000000 { |
| 648 |
reg = <0x0 0xa0000000 0x0 0x2300000>; |
| 649 |
no-map; |
| 650 |
}; |
| 651 |
|
| 652 |
dfps_data_memory: memory@a2300000 { |
| 653 |
reg = <0x0 0xa2300000 0x0 0x100000>; |
| 654 |
no-map; |
| 655 |
}; |
| 656 |
|
| 657 |
removed_region: memory@c0000000 { |
| 658 |
reg = <0x0 0xc0000000 0x0 0x3900000>; |
| 659 |
no-map; |
| 660 |
}; |
| 661 |
|
| 662 |
pil_gpu_mem: memory@f0d00000 { |
| 663 |
reg = <0x0 0xf0d00000 0x0 0x1000>; |
| 664 |
no-map; |
| 665 |
}; |
| 666 |
|
| 667 |
debug_region: memory@ffb00000 { |
| 668 |
reg = <0x0 0xffb00000 0x0 0xc0000>; |
| 669 |
no-map; |
| 670 |
}; |
| 671 |
|
| 672 |
last_log_region: memory@ffbc0000 { |
| 673 |
reg = <0x0 0xffbc0000 0x0 0x40000>; |
| 674 |
no-map; |
| 675 |
}; |
| 676 |
|
| 677 |
ramoops: ramoops@ffc00000 { |
| 678 |
compatible = "ramoops"; |
| 679 |
reg = <0x0 0xffc00000 0x0 0x100000>; |
| 680 |
record-size = <0x1000>; |
| 681 |
console-size = <0x40000>; |
| 682 |
pmsg-size = <0x20000>; |
| 683 |
ecc-size = <16>; |
| 684 |
no-map; |
| 685 |
}; |
| 686 |
|
| 687 |
cmdline_region: memory@ffd00000 { |
| 688 |
reg = <0x0 0xffd00000 0x0 0x1000>; |
| 689 |
no-map; |
| 690 |
}; |
| 691 |
}; |
| 692 |
|
| 693 |
smem { |
| 694 |
compatible = "qcom,smem"; |
| 695 |
memory-region = <&smem_mem>; |
| 696 |
hwlocks = <&tcsr_mutex 3>; |
| 697 |
}; |
| 698 |
|
| 699 |
smp2p-adsp { |
| 700 |
compatible = "qcom,smp2p"; |
| 701 |
qcom,smem = <443>, <429>; |
| 702 |
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS |
| 703 |
IPCC_MPROC_SIGNAL_SMP2P |
| 704 |
IRQ_TYPE_EDGE_RISING>; |
| 705 |
mboxes = <&ipcc IPCC_CLIENT_LPASS |
| 706 |
IPCC_MPROC_SIGNAL_SMP2P>; |
| 707 |
|
| 708 |
qcom,local-pid = <0>; |
| 709 |
qcom,remote-pid = <2>; |
| 710 |
|
| 711 |
smp2p_adsp_out: master-kernel { |
| 712 |
qcom,entry-name = "master-kernel"; |
| 713 |
#qcom,smem-state-cells = <1>; |
| 714 |
}; |
| 715 |
|
| 716 |
smp2p_adsp_in: slave-kernel { |
| 717 |
qcom,entry-name = "slave-kernel"; |
| 718 |
interrupt-controller; |
| 719 |
#interrupt-cells = <2>; |
| 720 |
}; |
| 721 |
}; |
| 722 |
|
| 723 |
smp2p-cdsp { |
| 724 |
compatible = "qcom,smp2p"; |
| 725 |
qcom,smem = <94>, <432>; |
| 726 |
interrupts-extended = <&ipcc IPCC_CLIENT_CDSP |
| 727 |
IPCC_MPROC_SIGNAL_SMP2P |
| 728 |
IRQ_TYPE_EDGE_RISING>; |
| 729 |
mboxes = <&ipcc IPCC_CLIENT_CDSP |
| 730 |
IPCC_MPROC_SIGNAL_SMP2P>; |
| 731 |
|
| 732 |
qcom,local-pid = <0>; |
| 733 |
qcom,remote-pid = <5>; |
| 734 |
|
| 735 |
smp2p_cdsp_out: master-kernel { |
| 736 |
qcom,entry-name = "master-kernel"; |
| 737 |
#qcom,smem-state-cells = <1>; |
| 738 |
}; |
| 739 |
|
| 740 |
smp2p_cdsp_in: slave-kernel { |
| 741 |
qcom,entry-name = "slave-kernel"; |
| 742 |
interrupt-controller; |
| 743 |
#interrupt-cells = <2>; |
| 744 |
}; |
| 745 |
}; |
| 746 |
|
| 747 |
smp2p-mpss { |
| 748 |
compatible = "qcom,smp2p"; |
| 749 |
qcom,smem = <435>, <428>; |
| 750 |
|
| 751 |
interrupts-extended = <&ipcc IPCC_CLIENT_MPSS |
| 752 |
IPCC_MPROC_SIGNAL_SMP2P |
| 753 |
IRQ_TYPE_EDGE_RISING>; |
| 754 |
mboxes = <&ipcc IPCC_CLIENT_MPSS |
| 755 |
IPCC_MPROC_SIGNAL_SMP2P>; |
| 756 |
|
| 757 |
qcom,local-pid = <0>; |
| 758 |
qcom,remote-pid = <1>; |
| 759 |
|
| 760 |
modem_smp2p_out: master-kernel { |
| 761 |
qcom,entry-name = "master-kernel"; |
| 762 |
#qcom,smem-state-cells = <1>; |
| 763 |
}; |
| 764 |
|
| 765 |
modem_smp2p_in: slave-kernel { |
| 766 |
qcom,entry-name = "slave-kernel"; |
| 767 |
interrupt-controller; |
| 768 |
#interrupt-cells = <2>; |
| 769 |
}; |
| 770 |
|
| 771 |
ipa_smp2p_out: ipa-ap-to-modem { |
| 772 |
qcom,entry-name = "ipa"; |
| 773 |
#qcom,smem-state-cells = <1>; |
| 774 |
}; |
| 775 |
|
| 776 |
ipa_smp2p_in: ipa-modem-to-ap { |
| 777 |
qcom,entry-name = "ipa"; |
| 778 |
interrupt-controller; |
| 779 |
#interrupt-cells = <2>; |
| 780 |
}; |
| 781 |
}; |
| 782 |
|
| 783 |
soc: soc@0 { |
| 784 |
#address-cells = <2>; |
| 785 |
#size-cells = <2>; |
| 786 |
ranges = <0 0 0 0 0x10 0>; |
| 787 |
dma-ranges = <0 0 0 0 0x10 0>; |
| 788 |
compatible = "simple-bus"; |
| 789 |
|
| 790 |
gcc: clock-controller@100000 { |
| 791 |
compatible = "qcom,gcc-sm6350"; |
| 792 |
reg = <0x0 0x00100000 0x0 0x1f0000>; |
| 793 |
#clock-cells = <1>; |
| 794 |
#reset-cells = <1>; |
| 795 |
#power-domain-cells = <1>; |
| 796 |
clock-names = "bi_tcxo", |
| 797 |
"bi_tcxo_ao", |
| 798 |
"sleep_clk"; |
| 799 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 800 |
<&rpmhcc RPMH_CXO_CLK_A>, |
| 801 |
<&sleep_clk>; |
| 802 |
}; |
| 803 |
|
| 804 |
ipcc: mailbox@408000 { |
| 805 |
compatible = "qcom,sm6350-ipcc", "qcom,ipcc"; |
| 806 |
reg = <0x0 0x00408000 0x0 0x1000>; |
| 807 |
interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; |
| 808 |
interrupt-controller; |
| 809 |
#interrupt-cells = <3>; |
| 810 |
#mbox-cells = <2>; |
| 811 |
}; |
| 812 |
|
| 813 |
qfprom: qfprom@784000 { |
| 814 |
compatible = "qcom,sm6350-qfprom", "qcom,qfprom"; |
| 815 |
reg = <0x0 0x00784000 0x0 0x3000>; |
| 816 |
#address-cells = <1>; |
| 817 |
#size-cells = <1>; |
| 818 |
|
| 819 |
gpu_speed_bin: gpu-speed-bin@2015 { |
| 820 |
reg = <0x2015 0x1>; |
| 821 |
bits = <0 8>; |
| 822 |
}; |
| 823 |
}; |
| 824 |
|
| 825 |
rng: rng@793000 { |
| 826 |
compatible = "qcom,prng-ee"; |
| 827 |
reg = <0x0 0x00793000 0x0 0x1000>; |
| 828 |
clocks = <&gcc GCC_PRNG_AHB_CLK>; |
| 829 |
clock-names = "core"; |
| 830 |
}; |
| 831 |
|
| 832 |
sdhc_1: mmc@7c4000 { |
| 833 |
compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5"; |
| 834 |
reg = <0x0 0x007c4000 0x0 0x1000>, |
| 835 |
<0x0 0x007c5000 0x0 0x1000>, |
| 836 |
<0x0 0x007c8000 0x0 0x8000>; |
| 837 |
reg-names = "hc", "cqhci", "ice"; |
| 838 |
|
| 839 |
interrupts = <GIC_SPI 641 IRQ_TYPE_LEVEL_HIGH>, |
| 840 |
<GIC_SPI 644 IRQ_TYPE_LEVEL_HIGH>; |
| 841 |
interrupt-names = "hc_irq", "pwr_irq"; |
| 842 |
iommus = <&apps_smmu 0x60 0x0>; |
| 843 |
|
| 844 |
clocks = <&gcc GCC_SDCC1_AHB_CLK>, |
| 845 |
<&gcc GCC_SDCC1_APPS_CLK>, |
| 846 |
<&rpmhcc RPMH_CXO_CLK>; |
| 847 |
clock-names = "iface", "core", "xo"; |
| 848 |
resets = <&gcc GCC_SDCC1_BCR>; |
| 849 |
qcom,dll-config = <0x000f642c>; |
| 850 |
qcom,ddr-config = <0x80040868>; |
| 851 |
power-domains = <&rpmhpd SM6350_CX>; |
| 852 |
operating-points-v2 = <&sdhc1_opp_table>; |
| 853 |
bus-width = <8>; |
| 854 |
non-removable; |
| 855 |
supports-cqe; |
| 856 |
|
| 857 |
status = "disabled"; |
| 858 |
|
| 859 |
sdhc1_opp_table: opp-table { |
| 860 |
compatible = "operating-points-v2"; |
| 861 |
|
| 862 |
opp-19200000 { |
| 863 |
opp-hz = /bits/ 64 <19200000>; |
| 864 |
required-opps = <&rpmhpd_opp_min_svs>; |
| 865 |
}; |
| 866 |
|
| 867 |
opp-100000000 { |
| 868 |
opp-hz = /bits/ 64 <100000000>; |
| 869 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 870 |
}; |
| 871 |
|
| 872 |
opp-384000000 { |
| 873 |
opp-hz = /bits/ 64 <384000000>; |
| 874 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 875 |
}; |
| 876 |
}; |
| 877 |
}; |
| 878 |
|
| 879 |
gpi_dma0: dma-controller@800000 { |
| 880 |
compatible = "qcom,sm6350-gpi-dma"; |
| 881 |
reg = <0x0 0x00800000 0x0 0x60000>; |
| 882 |
interrupts = <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, |
| 883 |
<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, |
| 884 |
<GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, |
| 885 |
<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, |
| 886 |
<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, |
| 887 |
<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, |
| 888 |
<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, |
| 889 |
<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, |
| 890 |
<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, |
| 891 |
<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>; |
| 892 |
dma-channels = <10>; |
| 893 |
dma-channel-mask = <0x1f>; |
| 894 |
iommus = <&apps_smmu 0x56 0x0>; |
| 895 |
#dma-cells = <3>; |
| 896 |
status = "disabled"; |
| 897 |
}; |
| 898 |
|
| 899 |
qupv3_id_0: geniqup@8c0000 { |
| 900 |
compatible = "qcom,geni-se-qup"; |
| 901 |
reg = <0x0 0x008c0000 0x0 0x2000>; |
| 902 |
clock-names = "m-ahb", "s-ahb"; |
| 903 |
clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, |
| 904 |
<&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; |
| 905 |
#address-cells = <2>; |
| 906 |
#size-cells = <2>; |
| 907 |
iommus = <&apps_smmu 0x43 0x0>; |
| 908 |
ranges; |
| 909 |
status = "disabled"; |
| 910 |
|
| 911 |
i2c0: i2c@880000 { |
| 912 |
compatible = "qcom,geni-i2c"; |
| 913 |
reg = <0x0 0x00880000 0x0 0x4000>; |
| 914 |
clock-names = "se"; |
| 915 |
clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; |
| 916 |
pinctrl-names = "default"; |
| 917 |
pinctrl-0 = <&qup_i2c0_default>; |
| 918 |
interrupts = <GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH>; |
| 919 |
dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, |
| 920 |
<&gpi_dma0 1 0 QCOM_GPI_I2C>; |
| 921 |
dma-names = "tx", "rx"; |
| 922 |
#address-cells = <1>; |
| 923 |
#size-cells = <0>; |
| 924 |
interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, |
| 925 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, |
| 926 |
<&aggre1_noc MASTER_QUP_0 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 927 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 928 |
status = "disabled"; |
| 929 |
}; |
| 930 |
|
| 931 |
uart1: serial@884000 { |
| 932 |
compatible = "qcom,geni-uart"; |
| 933 |
reg = <0x0 0x00884000 0x0 0x4000>; |
| 934 |
clock-names = "se"; |
| 935 |
clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; |
| 936 |
pinctrl-names = "default"; |
| 937 |
pinctrl-0 = <&qup_uart1_cts>, <&qup_uart1_rts>, <&qup_uart1_tx>, <&qup_uart1_rx>; |
| 938 |
interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>; |
| 939 |
power-domains = <&rpmhpd SM6350_CX>; |
| 940 |
operating-points-v2 = <&qup_opp_table>; |
| 941 |
interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, |
| 942 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>; |
| 943 |
interconnect-names = "qup-core", "qup-config"; |
| 944 |
status = "disabled"; |
| 945 |
}; |
| 946 |
|
| 947 |
i2c2: i2c@888000 { |
| 948 |
compatible = "qcom,geni-i2c"; |
| 949 |
reg = <0x0 0x00888000 0x0 0x4000>; |
| 950 |
clock-names = "se"; |
| 951 |
clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; |
| 952 |
pinctrl-names = "default"; |
| 953 |
pinctrl-0 = <&qup_i2c2_default>; |
| 954 |
interrupts = <GIC_SPI 603 IRQ_TYPE_LEVEL_HIGH>; |
| 955 |
dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, |
| 956 |
<&gpi_dma0 1 2 QCOM_GPI_I2C>; |
| 957 |
dma-names = "tx", "rx"; |
| 958 |
#address-cells = <1>; |
| 959 |
#size-cells = <0>; |
| 960 |
interconnects = <&clk_virt MASTER_QUP_CORE_0 0 &clk_virt SLAVE_QUP_CORE_0 0>, |
| 961 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_0 0>, |
| 962 |
<&aggre1_noc MASTER_QUP_0 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 963 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 964 |
status = "disabled"; |
| 965 |
}; |
| 966 |
}; |
| 967 |
|
| 968 |
gpi_dma1: dma-controller@900000 { |
| 969 |
compatible = "qcom,sm6350-gpi-dma"; |
| 970 |
reg = <0x0 0x00900000 0x0 0x60000>; |
| 971 |
interrupts = <GIC_SPI 645 IRQ_TYPE_LEVEL_HIGH>, |
| 972 |
<GIC_SPI 646 IRQ_TYPE_LEVEL_HIGH>, |
| 973 |
<GIC_SPI 647 IRQ_TYPE_LEVEL_HIGH>, |
| 974 |
<GIC_SPI 648 IRQ_TYPE_LEVEL_HIGH>, |
| 975 |
<GIC_SPI 649 IRQ_TYPE_LEVEL_HIGH>, |
| 976 |
<GIC_SPI 650 IRQ_TYPE_LEVEL_HIGH>, |
| 977 |
<GIC_SPI 651 IRQ_TYPE_LEVEL_HIGH>, |
| 978 |
<GIC_SPI 652 IRQ_TYPE_LEVEL_HIGH>, |
| 979 |
<GIC_SPI 653 IRQ_TYPE_LEVEL_HIGH>, |
| 980 |
<GIC_SPI 654 IRQ_TYPE_LEVEL_HIGH>; |
| 981 |
dma-channels = <10>; |
| 982 |
dma-channel-mask = <0x3f>; |
| 983 |
iommus = <&apps_smmu 0x4d6 0x0>; |
| 984 |
#dma-cells = <3>; |
| 985 |
status = "disabled"; |
| 986 |
}; |
| 987 |
|
| 988 |
qupv3_id_1: geniqup@9c0000 { |
| 989 |
compatible = "qcom,geni-se-qup"; |
| 990 |
reg = <0x0 0x009c0000 0x0 0x2000>; |
| 991 |
clock-names = "m-ahb", "s-ahb"; |
| 992 |
clocks = <&gcc GCC_QUPV3_WRAP_1_M_AHB_CLK>, |
| 993 |
<&gcc GCC_QUPV3_WRAP_1_S_AHB_CLK>; |
| 994 |
#address-cells = <2>; |
| 995 |
#size-cells = <2>; |
| 996 |
iommus = <&apps_smmu 0x4c3 0x0>; |
| 997 |
ranges; |
| 998 |
status = "disabled"; |
| 999 |
|
| 1000 |
i2c6: i2c@980000 { |
| 1001 |
compatible = "qcom,geni-i2c"; |
| 1002 |
reg = <0x0 0x00980000 0x0 0x4000>; |
| 1003 |
clock-names = "se"; |
| 1004 |
clocks = <&gcc GCC_QUPV3_WRAP1_S0_CLK>; |
| 1005 |
pinctrl-names = "default"; |
| 1006 |
pinctrl-0 = <&qup_i2c6_default>; |
| 1007 |
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; |
| 1008 |
dmas = <&gpi_dma1 0 0 QCOM_GPI_I2C>, |
| 1009 |
<&gpi_dma1 1 0 QCOM_GPI_I2C>; |
| 1010 |
dma-names = "tx", "rx"; |
| 1011 |
#address-cells = <1>; |
| 1012 |
#size-cells = <0>; |
| 1013 |
interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, |
| 1014 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, |
| 1015 |
<&aggre2_noc MASTER_QUP_1 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 1016 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 1017 |
status = "disabled"; |
| 1018 |
}; |
| 1019 |
|
| 1020 |
i2c7: i2c@984000 { |
| 1021 |
compatible = "qcom,geni-i2c"; |
| 1022 |
reg = <0x0 0x00984000 0x0 0x4000>; |
| 1023 |
clock-names = "se"; |
| 1024 |
clocks = <&gcc GCC_QUPV3_WRAP1_S1_CLK>; |
| 1025 |
pinctrl-names = "default"; |
| 1026 |
pinctrl-0 = <&qup_i2c7_default>; |
| 1027 |
interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>; |
| 1028 |
dmas = <&gpi_dma1 0 1 QCOM_GPI_I2C>, |
| 1029 |
<&gpi_dma1 1 1 QCOM_GPI_I2C>; |
| 1030 |
dma-names = "tx", "rx"; |
| 1031 |
#address-cells = <1>; |
| 1032 |
#size-cells = <0>; |
| 1033 |
interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, |
| 1034 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, |
| 1035 |
<&aggre2_noc MASTER_QUP_1 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 1036 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 1037 |
status = "disabled"; |
| 1038 |
}; |
| 1039 |
|
| 1040 |
i2c8: i2c@988000 { |
| 1041 |
compatible = "qcom,geni-i2c"; |
| 1042 |
reg = <0x0 0x00988000 0x0 0x4000>; |
| 1043 |
clock-names = "se"; |
| 1044 |
clocks = <&gcc GCC_QUPV3_WRAP1_S2_CLK>; |
| 1045 |
pinctrl-names = "default"; |
| 1046 |
pinctrl-0 = <&qup_i2c8_default>; |
| 1047 |
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; |
| 1048 |
dmas = <&gpi_dma1 0 2 QCOM_GPI_I2C>, |
| 1049 |
<&gpi_dma1 1 2 QCOM_GPI_I2C>; |
| 1050 |
dma-names = "tx", "rx"; |
| 1051 |
#address-cells = <1>; |
| 1052 |
#size-cells = <0>; |
| 1053 |
interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, |
| 1054 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, |
| 1055 |
<&aggre2_noc MASTER_QUP_1 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 1056 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 1057 |
status = "disabled"; |
| 1058 |
}; |
| 1059 |
|
| 1060 |
uart9: serial@98c000 { |
| 1061 |
compatible = "qcom,geni-debug-uart"; |
| 1062 |
reg = <0x0 0x0098c000 0x0 0x4000>; |
| 1063 |
clock-names = "se"; |
| 1064 |
clocks = <&gcc GCC_QUPV3_WRAP1_S3_CLK>; |
| 1065 |
pinctrl-names = "default"; |
| 1066 |
pinctrl-0 = <&qup_uart9_default>; |
| 1067 |
interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>; |
| 1068 |
interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, |
| 1069 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>; |
| 1070 |
interconnect-names = "qup-core", "qup-config"; |
| 1071 |
status = "disabled"; |
| 1072 |
}; |
| 1073 |
|
| 1074 |
i2c10: i2c@990000 { |
| 1075 |
compatible = "qcom,geni-i2c"; |
| 1076 |
reg = <0x0 0x00990000 0x0 0x4000>; |
| 1077 |
clock-names = "se"; |
| 1078 |
clocks = <&gcc GCC_QUPV3_WRAP1_S4_CLK>; |
| 1079 |
pinctrl-names = "default"; |
| 1080 |
pinctrl-0 = <&qup_i2c10_default>; |
| 1081 |
interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>; |
| 1082 |
dmas = <&gpi_dma1 0 4 QCOM_GPI_I2C>, |
| 1083 |
<&gpi_dma1 1 4 QCOM_GPI_I2C>; |
| 1084 |
dma-names = "tx", "rx"; |
| 1085 |
#address-cells = <1>; |
| 1086 |
#size-cells = <0>; |
| 1087 |
interconnects = <&clk_virt MASTER_QUP_CORE_1 0 &clk_virt SLAVE_QUP_CORE_1 0>, |
| 1088 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_1 0>, |
| 1089 |
<&aggre2_noc MASTER_QUP_1 0 &clk_virt SLAVE_EBI_CH0 0>; |
| 1090 |
interconnect-names = "qup-core", "qup-config", "qup-memory"; |
| 1091 |
status = "disabled"; |
| 1092 |
}; |
| 1093 |
}; |
| 1094 |
|
| 1095 |
config_noc: interconnect@1500000 { |
| 1096 |
compatible = "qcom,sm6350-config-noc"; |
| 1097 |
reg = <0x0 0x01500000 0x0 0x28000>; |
| 1098 |
#interconnect-cells = <2>; |
| 1099 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1100 |
}; |
| 1101 |
|
| 1102 |
system_noc: interconnect@1620000 { |
| 1103 |
compatible = "qcom,sm6350-system-noc"; |
| 1104 |
reg = <0x0 0x01620000 0x0 0x17080>; |
| 1105 |
#interconnect-cells = <2>; |
| 1106 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1107 |
|
| 1108 |
clk_virt: interconnect-clk-virt { |
| 1109 |
compatible = "qcom,sm6350-clk-virt"; |
| 1110 |
#interconnect-cells = <2>; |
| 1111 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1112 |
}; |
| 1113 |
}; |
| 1114 |
|
| 1115 |
aggre1_noc: interconnect@16e0000 { |
| 1116 |
compatible = "qcom,sm6350-aggre1-noc"; |
| 1117 |
reg = <0x0 0x016e0000 0x0 0x15080>; |
| 1118 |
#interconnect-cells = <2>; |
| 1119 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1120 |
clocks = <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>; |
| 1121 |
}; |
| 1122 |
|
| 1123 |
aggre2_noc: interconnect@1700000 { |
| 1124 |
compatible = "qcom,sm6350-aggre2-noc"; |
| 1125 |
reg = <0x0 0x01700000 0x0 0x1f880>; |
| 1126 |
#interconnect-cells = <2>; |
| 1127 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1128 |
clocks = <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, |
| 1129 |
<&rpmhcc RPMH_IPA_CLK>; |
| 1130 |
|
| 1131 |
compute_noc: interconnect-compute-noc { |
| 1132 |
compatible = "qcom,sm6350-compute-noc"; |
| 1133 |
#interconnect-cells = <2>; |
| 1134 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1135 |
}; |
| 1136 |
}; |
| 1137 |
|
| 1138 |
mmss_noc: interconnect@1740000 { |
| 1139 |
compatible = "qcom,sm6350-mmss-noc"; |
| 1140 |
reg = <0x0 0x01740000 0x0 0x1c100>; |
| 1141 |
#interconnect-cells = <2>; |
| 1142 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1143 |
}; |
| 1144 |
|
| 1145 |
ufs_mem_hc: ufshc@1d84000 { |
| 1146 |
compatible = "qcom,sm6350-ufshc", "qcom,ufshc", |
| 1147 |
"jedec,ufs-2.0"; |
| 1148 |
reg = <0x0 0x01d84000 0x0 0x3000>, |
| 1149 |
<0x0 0x01d90000 0x0 0x8000>; |
| 1150 |
reg-names = "std", "ice"; |
| 1151 |
interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>; |
| 1152 |
phys = <&ufs_mem_phy>; |
| 1153 |
phy-names = "ufsphy"; |
| 1154 |
lanes-per-direction = <2>; |
| 1155 |
#reset-cells = <1>; |
| 1156 |
resets = <&gcc GCC_UFS_PHY_BCR>; |
| 1157 |
reset-names = "rst"; |
| 1158 |
|
| 1159 |
power-domains = <&gcc UFS_PHY_GDSC>; |
| 1160 |
|
| 1161 |
iommus = <&apps_smmu 0x80 0x0>; |
| 1162 |
|
| 1163 |
clock-names = "core_clk", |
| 1164 |
"bus_aggr_clk", |
| 1165 |
"iface_clk", |
| 1166 |
"core_clk_unipro", |
| 1167 |
"ref_clk", |
| 1168 |
"tx_lane0_sync_clk", |
| 1169 |
"rx_lane0_sync_clk", |
| 1170 |
"rx_lane1_sync_clk", |
| 1171 |
"ice_core_clk"; |
| 1172 |
clocks = <&gcc GCC_UFS_PHY_AXI_CLK>, |
| 1173 |
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, |
| 1174 |
<&gcc GCC_UFS_PHY_AHB_CLK>, |
| 1175 |
<&gcc GCC_UFS_PHY_UNIPRO_CORE_CLK>, |
| 1176 |
<&rpmhcc RPMH_QLINK_CLK>, |
| 1177 |
<&gcc GCC_UFS_PHY_TX_SYMBOL_0_CLK>, |
| 1178 |
<&gcc GCC_UFS_PHY_RX_SYMBOL_0_CLK>, |
| 1179 |
<&gcc GCC_UFS_PHY_RX_SYMBOL_1_CLK>, |
| 1180 |
<&gcc GCC_UFS_PHY_ICE_CORE_CLK>; |
| 1181 |
|
| 1182 |
operating-points-v2 = <&ufs_opp_table>; |
| 1183 |
|
| 1184 |
interconnects = <&aggre1_noc MASTER_UFS_MEM QCOM_ICC_TAG_ALWAYS |
| 1185 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>, |
| 1186 |
<&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 1187 |
&config_noc SLAVE_UFS_MEM_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; |
| 1188 |
interconnect-names = "ufs-ddr", |
| 1189 |
"cpu-ufs"; |
| 1190 |
|
| 1191 |
status = "disabled"; |
| 1192 |
|
| 1193 |
ufs_opp_table: opp-table { |
| 1194 |
compatible = "operating-points-v2"; |
| 1195 |
|
| 1196 |
opp-50000000 { |
| 1197 |
opp-hz = /bits/ 64 <50000000>, |
| 1198 |
/bits/ 64 <0>, |
| 1199 |
/bits/ 64 <0>, |
| 1200 |
/bits/ 64 <37500000>, |
| 1201 |
/bits/ 64 <0>, |
| 1202 |
/bits/ 64 <0>, |
| 1203 |
/bits/ 64 <0>, |
| 1204 |
/bits/ 64 <0>, |
| 1205 |
/bits/ 64 <75000000>; |
| 1206 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 1207 |
}; |
| 1208 |
|
| 1209 |
opp-200000000 { |
| 1210 |
opp-hz = /bits/ 64 <200000000>, |
| 1211 |
/bits/ 64 <0>, |
| 1212 |
/bits/ 64 <0>, |
| 1213 |
/bits/ 64 <150000000>, |
| 1214 |
/bits/ 64 <0>, |
| 1215 |
/bits/ 64 <0>, |
| 1216 |
/bits/ 64 <0>, |
| 1217 |
/bits/ 64 <0>, |
| 1218 |
/bits/ 64 <300000000>; |
| 1219 |
required-opps = <&rpmhpd_opp_nom>; |
| 1220 |
}; |
| 1221 |
}; |
| 1222 |
}; |
| 1223 |
|
| 1224 |
ufs_mem_phy: phy@1d87000 { |
| 1225 |
compatible = "qcom,sm6350-qmp-ufs-phy"; |
| 1226 |
reg = <0x0 0x01d87000 0x0 0x1000>; |
| 1227 |
|
| 1228 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 1229 |
<&gcc GCC_UFS_PHY_PHY_AUX_CLK>, |
| 1230 |
<&gcc GCC_UFS_MEM_CLKREF_CLK>; |
| 1231 |
clock-names = "ref", |
| 1232 |
"ref_aux", |
| 1233 |
"qref"; |
| 1234 |
|
| 1235 |
power-domains = <&gcc UFS_PHY_GDSC>; |
| 1236 |
|
| 1237 |
resets = <&ufs_mem_hc 0>; |
| 1238 |
reset-names = "ufsphy"; |
| 1239 |
|
| 1240 |
#phy-cells = <0>; |
| 1241 |
|
| 1242 |
status = "disabled"; |
| 1243 |
}; |
| 1244 |
|
| 1245 |
cryptobam: dma-controller@1dc4000 { |
| 1246 |
compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; |
| 1247 |
reg = <0x0 0x01dc4000 0x0 0x24000>; |
| 1248 |
interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; |
| 1249 |
#dma-cells = <1>; |
| 1250 |
qcom,ee = <0>; |
| 1251 |
qcom,controlled-remotely; |
| 1252 |
num-channels = <16>; |
| 1253 |
qcom,num-ees = <4>; |
| 1254 |
iommus = <&apps_smmu 0x426 0x11>, |
| 1255 |
<&apps_smmu 0x432 0x0>, |
| 1256 |
<&apps_smmu 0x436 0x11>, |
| 1257 |
<&apps_smmu 0x438 0x1>, |
| 1258 |
<&apps_smmu 0x43f 0x0>; |
| 1259 |
}; |
| 1260 |
|
| 1261 |
crypto: crypto@1dfa000 { |
| 1262 |
compatible = "qcom,sm6350-qce", "qcom,sm8150-qce", "qcom,qce"; |
| 1263 |
reg = <0x0 0x01dfa000 0x0 0x6000>; |
| 1264 |
dmas = <&cryptobam 4>, <&cryptobam 5>; |
| 1265 |
dma-names = "rx", "tx"; |
| 1266 |
iommus = <&apps_smmu 0x426 0x11>, |
| 1267 |
<&apps_smmu 0x432 0x0>, |
| 1268 |
<&apps_smmu 0x436 0x11>, |
| 1269 |
<&apps_smmu 0x438 0x1>, |
| 1270 |
<&apps_smmu 0x43f 0x0>; |
| 1271 |
interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 QCOM_ICC_TAG_ALWAYS |
| 1272 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>; |
| 1273 |
interconnect-names = "memory"; |
| 1274 |
}; |
| 1275 |
|
| 1276 |
ipa: ipa@1e40000 { |
| 1277 |
compatible = "qcom,sm6350-ipa"; |
| 1278 |
|
| 1279 |
iommus = <&apps_smmu 0x440 0x0>, |
| 1280 |
<&apps_smmu 0x442 0x0>; |
| 1281 |
reg = <0x0 0x01e40000 0x0 0x8000>, |
| 1282 |
<0x0 0x01e50000 0x0 0x3000>, |
| 1283 |
<0x0 0x01e04000 0x0 0x23000>; |
| 1284 |
reg-names = "ipa-reg", |
| 1285 |
"ipa-shared", |
| 1286 |
"gsi"; |
| 1287 |
|
| 1288 |
interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>, |
| 1289 |
<&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, |
| 1290 |
<&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1291 |
<&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>; |
| 1292 |
interrupt-names = "ipa", |
| 1293 |
"gsi", |
| 1294 |
"ipa-clock-query", |
| 1295 |
"ipa-setup-ready"; |
| 1296 |
|
| 1297 |
clocks = <&rpmhcc RPMH_IPA_CLK>; |
| 1298 |
clock-names = "core"; |
| 1299 |
|
| 1300 |
interconnects = <&aggre2_noc MASTER_IPA 0 &clk_virt SLAVE_EBI_CH0 0>, |
| 1301 |
<&aggre2_noc MASTER_IPA 0 &system_noc SLAVE_OCIMEM 0>, |
| 1302 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_IPA_CFG 0>; |
| 1303 |
interconnect-names = "memory", "imem", "config"; |
| 1304 |
|
| 1305 |
qcom,smem-states = <&ipa_smp2p_out 0>, |
| 1306 |
<&ipa_smp2p_out 1>; |
| 1307 |
qcom,smem-state-names = "ipa-clock-enabled-valid", |
| 1308 |
"ipa-clock-enabled"; |
| 1309 |
|
| 1310 |
status = "disabled"; |
| 1311 |
}; |
| 1312 |
|
| 1313 |
tcsr_mutex: hwlock@1f40000 { |
| 1314 |
compatible = "qcom,tcsr-mutex"; |
| 1315 |
reg = <0x0 0x01f40000 0x0 0x40000>; |
| 1316 |
#hwlock-cells = <1>; |
| 1317 |
}; |
| 1318 |
|
| 1319 |
adsp: remoteproc@3000000 { |
| 1320 |
compatible = "qcom,sm6350-adsp-pas"; |
| 1321 |
reg = <0x0 0x03000000 0x0 0x10000>; |
| 1322 |
|
| 1323 |
interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, |
| 1324 |
<&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1325 |
<&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, |
| 1326 |
<&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, |
| 1327 |
<&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>; |
| 1328 |
interrupt-names = "wdog", "fatal", "ready", |
| 1329 |
"handover", "stop-ack"; |
| 1330 |
|
| 1331 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 1332 |
clock-names = "xo"; |
| 1333 |
|
| 1334 |
power-domains = <&rpmhpd SM6350_LCX>, |
| 1335 |
<&rpmhpd SM6350_LMX>; |
| 1336 |
power-domain-names = "lcx", "lmx"; |
| 1337 |
|
| 1338 |
memory-region = <&pil_adsp_mem>; |
| 1339 |
|
| 1340 |
qcom,qmp = <&aoss_qmp>; |
| 1341 |
|
| 1342 |
qcom,smem-states = <&smp2p_adsp_out 0>; |
| 1343 |
qcom,smem-state-names = "stop"; |
| 1344 |
|
| 1345 |
status = "disabled"; |
| 1346 |
|
| 1347 |
glink-edge { |
| 1348 |
interrupts-extended = <&ipcc IPCC_CLIENT_LPASS |
| 1349 |
IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1350 |
IRQ_TYPE_EDGE_RISING>; |
| 1351 |
mboxes = <&ipcc IPCC_CLIENT_LPASS |
| 1352 |
IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1353 |
|
| 1354 |
label = "lpass"; |
| 1355 |
qcom,remote-pid = <2>; |
| 1356 |
|
| 1357 |
apr { |
| 1358 |
compatible = "qcom,apr-v2"; |
| 1359 |
qcom,glink-channels = "apr_audio_svc"; |
| 1360 |
qcom,domain = <APR_DOMAIN_ADSP>; |
| 1361 |
#address-cells = <1>; |
| 1362 |
#size-cells = <0>; |
| 1363 |
|
| 1364 |
service@3 { |
| 1365 |
reg = <APR_SVC_ADSP_CORE>; |
| 1366 |
compatible = "qcom,q6core"; |
| 1367 |
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; |
| 1368 |
}; |
| 1369 |
|
| 1370 |
q6afe: service@4 { |
| 1371 |
compatible = "qcom,q6afe"; |
| 1372 |
reg = <APR_SVC_AFE>; |
| 1373 |
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; |
| 1374 |
|
| 1375 |
q6afedai: dais { |
| 1376 |
compatible = "qcom,q6afe-dais"; |
| 1377 |
#address-cells = <1>; |
| 1378 |
#size-cells = <0>; |
| 1379 |
#sound-dai-cells = <1>; |
| 1380 |
}; |
| 1381 |
|
| 1382 |
q6afecc: clock-controller { |
| 1383 |
compatible = "qcom,q6afe-clocks"; |
| 1384 |
#clock-cells = <2>; |
| 1385 |
}; |
| 1386 |
|
| 1387 |
q6usbdai: usbd { |
| 1388 |
compatible = "qcom,q6usb"; |
| 1389 |
iommus = <&apps_smmu 0x100f 0x0>; |
| 1390 |
#sound-dai-cells = <1>; |
| 1391 |
qcom,usb-audio-intr-idx = /bits/ 16 <2>; |
| 1392 |
}; |
| 1393 |
}; |
| 1394 |
|
| 1395 |
q6asm: service@7 { |
| 1396 |
compatible = "qcom,q6asm"; |
| 1397 |
reg = <APR_SVC_ASM>; |
| 1398 |
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; |
| 1399 |
|
| 1400 |
q6asmdai: dais { |
| 1401 |
compatible = "qcom,q6asm-dais"; |
| 1402 |
#address-cells = <1>; |
| 1403 |
#size-cells = <0>; |
| 1404 |
#sound-dai-cells = <1>; |
| 1405 |
iommus = <&apps_smmu 0x1001 0x0>; |
| 1406 |
}; |
| 1407 |
}; |
| 1408 |
|
| 1409 |
q6adm: service@8 { |
| 1410 |
compatible = "qcom,q6adm"; |
| 1411 |
reg = <APR_SVC_ADM>; |
| 1412 |
qcom,protection-domain = "avs/audio", "msm/adsp/audio_pd"; |
| 1413 |
|
| 1414 |
q6routing: routing { |
| 1415 |
compatible = "qcom,q6adm-routing"; |
| 1416 |
#sound-dai-cells = <0>; |
| 1417 |
}; |
| 1418 |
}; |
| 1419 |
}; |
| 1420 |
|
| 1421 |
fastrpc { |
| 1422 |
compatible = "qcom,fastrpc"; |
| 1423 |
qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1424 |
label = "adsp"; |
| 1425 |
qcom,non-secure-domain; |
| 1426 |
#address-cells = <1>; |
| 1427 |
#size-cells = <0>; |
| 1428 |
|
| 1429 |
compute-cb@3 { |
| 1430 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1431 |
reg = <3>; |
| 1432 |
iommus = <&apps_smmu 0x1003 0x0>; |
| 1433 |
}; |
| 1434 |
|
| 1435 |
compute-cb@4 { |
| 1436 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1437 |
reg = <4>; |
| 1438 |
iommus = <&apps_smmu 0x1004 0x0>; |
| 1439 |
}; |
| 1440 |
|
| 1441 |
compute-cb@5 { |
| 1442 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1443 |
reg = <5>; |
| 1444 |
iommus = <&apps_smmu 0x1005 0x0>; |
| 1445 |
qcom,nsessions = <5>; |
| 1446 |
}; |
| 1447 |
}; |
| 1448 |
}; |
| 1449 |
}; |
| 1450 |
|
| 1451 |
gpu: gpu@3d00000 { |
| 1452 |
compatible = "qcom,adreno-619.0", "qcom,adreno"; |
| 1453 |
reg = <0x0 0x03d00000 0x0 0x40000>, |
| 1454 |
<0x0 0x03d9e000 0x0 0x1000>; |
| 1455 |
reg-names = "kgsl_3d0_reg_memory", |
| 1456 |
"cx_mem"; |
| 1457 |
interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; |
| 1458 |
|
| 1459 |
iommus = <&adreno_smmu 0>; |
| 1460 |
operating-points-v2 = <&gpu_opp_table>; |
| 1461 |
qcom,gmu = <&gmu>; |
| 1462 |
nvmem-cells = <&gpu_speed_bin>; |
| 1463 |
nvmem-cell-names = "speed_bin"; |
| 1464 |
#cooling-cells = <2>; |
| 1465 |
|
| 1466 |
status = "disabled"; |
| 1467 |
|
| 1468 |
gpu_zap_shader: zap-shader { |
| 1469 |
memory-region = <&pil_gpu_mem>; |
| 1470 |
}; |
| 1471 |
|
| 1472 |
gpu_opp_table: opp-table { |
| 1473 |
compatible = "operating-points-v2"; |
| 1474 |
|
| 1475 |
opp-850000000 { |
| 1476 |
opp-hz = /bits/ 64 <850000000>; |
| 1477 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; |
| 1478 |
opp-supported-hw = <0x03>; |
| 1479 |
}; |
| 1480 |
|
| 1481 |
opp-800000000 { |
| 1482 |
opp-hz = /bits/ 64 <800000000>; |
| 1483 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 1484 |
opp-supported-hw = <0x07>; |
| 1485 |
}; |
| 1486 |
|
| 1487 |
opp-650000000 { |
| 1488 |
opp-hz = /bits/ 64 <650000000>; |
| 1489 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; |
| 1490 |
opp-supported-hw = <0x0f>; |
| 1491 |
}; |
| 1492 |
|
| 1493 |
opp-565000000 { |
| 1494 |
opp-hz = /bits/ 64 <565000000>; |
| 1495 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM>; |
| 1496 |
opp-supported-hw = <0x1f>; |
| 1497 |
}; |
| 1498 |
|
| 1499 |
opp-430000000 { |
| 1500 |
opp-hz = /bits/ 64 <430000000>; |
| 1501 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; |
| 1502 |
opp-supported-hw = <0x1f>; |
| 1503 |
}; |
| 1504 |
|
| 1505 |
opp-355000000 { |
| 1506 |
opp-hz = /bits/ 64 <355000000>; |
| 1507 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS>; |
| 1508 |
opp-supported-hw = <0x1f>; |
| 1509 |
}; |
| 1510 |
|
| 1511 |
opp-253000000 { |
| 1512 |
opp-hz = /bits/ 64 <253000000>; |
| 1513 |
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; |
| 1514 |
opp-supported-hw = <0x1f>; |
| 1515 |
}; |
| 1516 |
}; |
| 1517 |
}; |
| 1518 |
|
| 1519 |
adreno_smmu: iommu@3d40000 { |
| 1520 |
compatible = "qcom,sm6350-smmu-v2", "qcom,adreno-smmu", "qcom,smmu-v2"; |
| 1521 |
reg = <0x0 0x03d40000 0x0 0x10000>; |
| 1522 |
#iommu-cells = <1>; |
| 1523 |
#global-interrupts = <2>; |
| 1524 |
interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
| 1525 |
<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, |
| 1526 |
<GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH>, |
| 1527 |
<GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH>, |
| 1528 |
<GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>, |
| 1529 |
<GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>, |
| 1530 |
<GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, |
| 1531 |
<GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>, |
| 1532 |
<GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>, |
| 1533 |
<GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; |
| 1534 |
|
| 1535 |
clocks = <&gpucc GPU_CC_AHB_CLK>, |
| 1536 |
<&gcc GCC_GPU_MEMNOC_GFX_CLK>, |
| 1537 |
<&gcc GCC_GPU_SNOC_DVM_GFX_CLK>; |
| 1538 |
clock-names = "ahb", |
| 1539 |
"bus", |
| 1540 |
"iface"; |
| 1541 |
|
| 1542 |
power-domains = <&gpucc GPU_CX_GDSC>; |
| 1543 |
}; |
| 1544 |
|
| 1545 |
gmu: gmu@3d6a000 { |
| 1546 |
compatible = "qcom,adreno-gmu-619.0", "qcom,adreno-gmu"; |
| 1547 |
reg = <0x0 0x03d6a000 0x0 0x31000>, |
| 1548 |
<0x0 0x0b290000 0x0 0x10000>, |
| 1549 |
<0x0 0x0b490000 0x0 0x10000>; |
| 1550 |
reg-names = "gmu", |
| 1551 |
"gmu_pdc", |
| 1552 |
"gmu_pdc_seq"; |
| 1553 |
|
| 1554 |
interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>, |
| 1555 |
<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>; |
| 1556 |
interrupt-names = "hfi", |
| 1557 |
"gmu"; |
| 1558 |
|
| 1559 |
clocks = <&gpucc GPU_CC_AHB_CLK>, |
| 1560 |
<&gpucc GPU_CC_CX_GMU_CLK>, |
| 1561 |
<&gpucc GPU_CC_CXO_CLK>, |
| 1562 |
<&gcc GCC_DDRSS_GPU_AXI_CLK>, |
| 1563 |
<&gcc GCC_GPU_MEMNOC_GFX_CLK>; |
| 1564 |
clock-names = "ahb", |
| 1565 |
"gmu", |
| 1566 |
"cxo", |
| 1567 |
"axi", |
| 1568 |
"memnoc"; |
| 1569 |
|
| 1570 |
power-domains = <&gpucc GPU_CX_GDSC>, |
| 1571 |
<&gpucc GPU_GX_GDSC>; |
| 1572 |
power-domain-names = "cx", |
| 1573 |
"gx"; |
| 1574 |
|
| 1575 |
iommus = <&adreno_smmu 5>; |
| 1576 |
|
| 1577 |
operating-points-v2 = <&gmu_opp_table>; |
| 1578 |
|
| 1579 |
gmu_opp_table: opp-table { |
| 1580 |
compatible = "operating-points-v2"; |
| 1581 |
|
| 1582 |
opp-200000000 { |
| 1583 |
opp-hz = /bits/ 64 <200000000>; |
| 1584 |
opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; |
| 1585 |
}; |
| 1586 |
}; |
| 1587 |
}; |
| 1588 |
|
| 1589 |
gpucc: clock-controller@3d90000 { |
| 1590 |
compatible = "qcom,sm6350-gpucc"; |
| 1591 |
reg = <0x0 0x03d90000 0x0 0x9000>; |
| 1592 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 1593 |
<&gcc GCC_GPU_GPLL0_CLK>, |
| 1594 |
<&gcc GCC_GPU_GPLL0_DIV_CLK>; |
| 1595 |
clock-names = "bi_tcxo", |
| 1596 |
"gcc_gpu_gpll0_clk_src", |
| 1597 |
"gcc_gpu_gpll0_div_clk_src"; |
| 1598 |
#clock-cells = <1>; |
| 1599 |
#reset-cells = <1>; |
| 1600 |
#power-domain-cells = <1>; |
| 1601 |
}; |
| 1602 |
|
| 1603 |
mpss: remoteproc@4080000 { |
| 1604 |
compatible = "qcom,sm6350-mpss-pas"; |
| 1605 |
reg = <0x0 0x04080000 0x0 0x10000>; |
| 1606 |
|
| 1607 |
interrupts-extended = <&intc GIC_SPI 136 IRQ_TYPE_EDGE_RISING>, |
| 1608 |
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1609 |
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, |
| 1610 |
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, |
| 1611 |
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, |
| 1612 |
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; |
| 1613 |
interrupt-names = "wdog", "fatal", "ready", "handover", |
| 1614 |
"stop-ack", "shutdown-ack"; |
| 1615 |
|
| 1616 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 1617 |
clock-names = "xo"; |
| 1618 |
|
| 1619 |
power-domains = <&rpmhpd SM6350_CX>, |
| 1620 |
<&rpmhpd SM6350_MSS>; |
| 1621 |
power-domain-names = "cx", "mss"; |
| 1622 |
|
| 1623 |
memory-region = <&pil_modem_mem>; |
| 1624 |
|
| 1625 |
qcom,qmp = <&aoss_qmp>; |
| 1626 |
|
| 1627 |
qcom,smem-states = <&modem_smp2p_out 0>; |
| 1628 |
qcom,smem-state-names = "stop"; |
| 1629 |
|
| 1630 |
status = "disabled"; |
| 1631 |
|
| 1632 |
glink-edge { |
| 1633 |
interrupts-extended = <&ipcc IPCC_CLIENT_MPSS |
| 1634 |
IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1635 |
IRQ_TYPE_EDGE_RISING>; |
| 1636 |
mboxes = <&ipcc IPCC_CLIENT_MPSS |
| 1637 |
IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1638 |
label = "modem"; |
| 1639 |
qcom,remote-pid = <1>; |
| 1640 |
}; |
| 1641 |
}; |
| 1642 |
|
| 1643 |
cdsp: remoteproc@8300000 { |
| 1644 |
compatible = "qcom,sm6350-cdsp-pas"; |
| 1645 |
reg = <0x0 0x08300000 0x0 0x10000>; |
| 1646 |
|
| 1647 |
interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, |
| 1648 |
<&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1649 |
<&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, |
| 1650 |
<&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, |
| 1651 |
<&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>; |
| 1652 |
interrupt-names = "wdog", "fatal", "ready", |
| 1653 |
"handover", "stop-ack"; |
| 1654 |
|
| 1655 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 1656 |
clock-names = "xo"; |
| 1657 |
|
| 1658 |
power-domains = <&rpmhpd SM6350_CX>, |
| 1659 |
<&rpmhpd SM6350_MX>; |
| 1660 |
power-domain-names = "cx", "mx"; |
| 1661 |
|
| 1662 |
memory-region = <&pil_cdsp_mem>; |
| 1663 |
|
| 1664 |
qcom,qmp = <&aoss_qmp>; |
| 1665 |
|
| 1666 |
qcom,smem-states = <&smp2p_cdsp_out 0>; |
| 1667 |
qcom,smem-state-names = "stop"; |
| 1668 |
|
| 1669 |
status = "disabled"; |
| 1670 |
|
| 1671 |
glink-edge { |
| 1672 |
interrupts-extended = <&ipcc IPCC_CLIENT_CDSP |
| 1673 |
IPCC_MPROC_SIGNAL_GLINK_QMP |
| 1674 |
IRQ_TYPE_EDGE_RISING>; |
| 1675 |
mboxes = <&ipcc IPCC_CLIENT_CDSP |
| 1676 |
IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 1677 |
|
| 1678 |
label = "cdsp"; |
| 1679 |
qcom,remote-pid = <5>; |
| 1680 |
|
| 1681 |
fastrpc { |
| 1682 |
compatible = "qcom,fastrpc"; |
| 1683 |
qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 1684 |
label = "cdsp"; |
| 1685 |
qcom,non-secure-domain; |
| 1686 |
#address-cells = <1>; |
| 1687 |
#size-cells = <0>; |
| 1688 |
|
| 1689 |
compute-cb@1 { |
| 1690 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1691 |
reg = <1>; |
| 1692 |
iommus = <&apps_smmu 0x1401 0x20>; |
| 1693 |
}; |
| 1694 |
|
| 1695 |
compute-cb@2 { |
| 1696 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1697 |
reg = <2>; |
| 1698 |
iommus = <&apps_smmu 0x1402 0x20>; |
| 1699 |
}; |
| 1700 |
|
| 1701 |
compute-cb@3 { |
| 1702 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1703 |
reg = <3>; |
| 1704 |
iommus = <&apps_smmu 0x1403 0x20>; |
| 1705 |
}; |
| 1706 |
|
| 1707 |
compute-cb@4 { |
| 1708 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1709 |
reg = <4>; |
| 1710 |
iommus = <&apps_smmu 0x1404 0x20>; |
| 1711 |
}; |
| 1712 |
|
| 1713 |
compute-cb@5 { |
| 1714 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1715 |
reg = <5>; |
| 1716 |
iommus = <&apps_smmu 0x1405 0x20>; |
| 1717 |
}; |
| 1718 |
|
| 1719 |
compute-cb@6 { |
| 1720 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1721 |
reg = <6>; |
| 1722 |
iommus = <&apps_smmu 0x1406 0x20>; |
| 1723 |
}; |
| 1724 |
|
| 1725 |
compute-cb@7 { |
| 1726 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1727 |
reg = <7>; |
| 1728 |
iommus = <&apps_smmu 0x1407 0x20>; |
| 1729 |
}; |
| 1730 |
|
| 1731 |
compute-cb@8 { |
| 1732 |
compatible = "qcom,fastrpc-compute-cb"; |
| 1733 |
reg = <8>; |
| 1734 |
iommus = <&apps_smmu 0x1408 0x20>; |
| 1735 |
}; |
| 1736 |
|
| 1737 |
/* note: secure cb9 in downstream */ |
| 1738 |
}; |
| 1739 |
}; |
| 1740 |
}; |
| 1741 |
|
| 1742 |
sdhc_2: mmc@8804000 { |
| 1743 |
compatible = "qcom,sm6350-sdhci", "qcom,sdhci-msm-v5"; |
| 1744 |
reg = <0x0 0x08804000 0x0 0x1000>; |
| 1745 |
|
| 1746 |
interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>, |
| 1747 |
<GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>; |
| 1748 |
interrupt-names = "hc_irq", "pwr_irq"; |
| 1749 |
iommus = <&apps_smmu 0x560 0x0>; |
| 1750 |
|
| 1751 |
clocks = <&gcc GCC_SDCC2_AHB_CLK>, |
| 1752 |
<&gcc GCC_SDCC2_APPS_CLK>, |
| 1753 |
<&rpmhcc RPMH_CXO_CLK>; |
| 1754 |
clock-names = "iface", "core", "xo"; |
| 1755 |
resets = <&gcc GCC_SDCC2_BCR>; |
| 1756 |
interconnects = <&aggre2_noc MASTER_SDCC_2 0 &clk_virt SLAVE_EBI_CH0 0>, |
| 1757 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_SDCC_2 0>; |
| 1758 |
interconnect-names = "sdhc-ddr", "cpu-sdhc"; |
| 1759 |
|
| 1760 |
pinctrl-0 = <&sdc2_on_state>; |
| 1761 |
pinctrl-1 = <&sdc2_off_state>; |
| 1762 |
pinctrl-names = "default", "sleep"; |
| 1763 |
|
| 1764 |
qcom,dll-config = <0x0007642c>; |
| 1765 |
qcom,ddr-config = <0x80040868>; |
| 1766 |
power-domains = <&rpmhpd SM6350_CX>; |
| 1767 |
operating-points-v2 = <&sdhc2_opp_table>; |
| 1768 |
bus-width = <4>; |
| 1769 |
|
| 1770 |
status = "disabled"; |
| 1771 |
|
| 1772 |
sdhc2_opp_table: opp-table { |
| 1773 |
compatible = "operating-points-v2"; |
| 1774 |
|
| 1775 |
opp-100000000 { |
| 1776 |
opp-hz = /bits/ 64 <100000000>; |
| 1777 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 1778 |
opp-peak-kBps = <790000 131000>; |
| 1779 |
opp-avg-kBps = <50000 50000>; |
| 1780 |
}; |
| 1781 |
|
| 1782 |
opp-202000000 { |
| 1783 |
opp-hz = /bits/ 64 <202000000>; |
| 1784 |
required-opps = <&rpmhpd_opp_nom>; |
| 1785 |
opp-peak-kBps = <3190000 294000>; |
| 1786 |
opp-avg-kBps = <261438 300000>; |
| 1787 |
}; |
| 1788 |
}; |
| 1789 |
}; |
| 1790 |
|
| 1791 |
usb_1_hsphy: phy@88e3000 { |
| 1792 |
compatible = "qcom,sm6350-qusb2-phy", "qcom,qusb2-v2-phy"; |
| 1793 |
reg = <0x0 0x088e3000 0x0 0x400>; |
| 1794 |
status = "disabled"; |
| 1795 |
#phy-cells = <0>; |
| 1796 |
|
| 1797 |
clocks = <&xo_board>, <&rpmhcc RPMH_CXO_CLK>; |
| 1798 |
clock-names = "cfg_ahb", "ref"; |
| 1799 |
|
| 1800 |
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; |
| 1801 |
}; |
| 1802 |
|
| 1803 |
refgen: regulator@88e7000 { |
| 1804 |
compatible = "qcom,sm6350-refgen-regulator", |
| 1805 |
"qcom,sm8250-refgen-regulator"; |
| 1806 |
reg = <0x0 0x088e7000 0x0 0x84>; |
| 1807 |
}; |
| 1808 |
|
| 1809 |
usb_1_qmpphy: phy@88e8000 { |
| 1810 |
compatible = "qcom,sm6350-qmp-usb3-dp-phy"; |
| 1811 |
reg = <0x0 0x088e8000 0x0 0x3000>; |
| 1812 |
|
| 1813 |
clocks = <&gcc GCC_USB3_PRIM_PHY_AUX_CLK>, |
| 1814 |
<&gcc GCC_USB3_PRIM_CLKREF_CLK>, |
| 1815 |
<&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, |
| 1816 |
<&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; |
| 1817 |
clock-names = "aux", "ref", "com_aux", "usb3_pipe"; |
| 1818 |
|
| 1819 |
power-domains = <&gcc USB30_PRIM_GDSC>; |
| 1820 |
|
| 1821 |
resets = <&gcc GCC_USB3_PHY_PRIM_BCR>, |
| 1822 |
<&gcc GCC_USB3_DP_PHY_PRIM_BCR>; |
| 1823 |
reset-names = "phy", "common"; |
| 1824 |
|
| 1825 |
orientation-switch; |
| 1826 |
|
| 1827 |
#clock-cells = <1>; |
| 1828 |
#phy-cells = <1>; |
| 1829 |
|
| 1830 |
status = "disabled"; |
| 1831 |
|
| 1832 |
ports { |
| 1833 |
#address-cells = <1>; |
| 1834 |
#size-cells = <0>; |
| 1835 |
|
| 1836 |
port@0 { |
| 1837 |
reg = <0>; |
| 1838 |
|
| 1839 |
usb_1_qmpphy_out: endpoint { |
| 1840 |
}; |
| 1841 |
}; |
| 1842 |
|
| 1843 |
port@1 { |
| 1844 |
reg = <1>; |
| 1845 |
|
| 1846 |
usb_1_qmpphy_usb_ss_in: endpoint { |
| 1847 |
remote-endpoint = <&usb_1_dwc3_ss_out>; |
| 1848 |
}; |
| 1849 |
}; |
| 1850 |
|
| 1851 |
port@2 { |
| 1852 |
reg = <2>; |
| 1853 |
|
| 1854 |
usb_1_qmpphy_dp_in: endpoint { |
| 1855 |
}; |
| 1856 |
}; |
| 1857 |
}; |
| 1858 |
}; |
| 1859 |
|
| 1860 |
dc_noc: interconnect@9160000 { |
| 1861 |
compatible = "qcom,sm6350-dc-noc"; |
| 1862 |
reg = <0x0 0x09160000 0x0 0x3200>; |
| 1863 |
#interconnect-cells = <2>; |
| 1864 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1865 |
}; |
| 1866 |
|
| 1867 |
system-cache-controller@9200000 { |
| 1868 |
compatible = "qcom,sm6350-llcc"; |
| 1869 |
reg = <0x0 0x09200000 0x0 0x50000>, <0x0 0x09600000 0x0 0x50000>; |
| 1870 |
reg-names = "llcc0_base", "llcc_broadcast_base"; |
| 1871 |
}; |
| 1872 |
|
| 1873 |
gem_noc: interconnect@9680000 { |
| 1874 |
compatible = "qcom,sm6350-gem-noc"; |
| 1875 |
reg = <0x0 0x09680000 0x0 0x3e200>; |
| 1876 |
#interconnect-cells = <2>; |
| 1877 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1878 |
}; |
| 1879 |
|
| 1880 |
npu_noc: interconnect@9990000 { |
| 1881 |
compatible = "qcom,sm6350-npu-noc"; |
| 1882 |
reg = <0x0 0x09990000 0x0 0x1600>; |
| 1883 |
#interconnect-cells = <2>; |
| 1884 |
qcom,bcm-voters = <&apps_bcm_voter>; |
| 1885 |
}; |
| 1886 |
|
| 1887 |
pmu@90b6300 { |
| 1888 |
compatible = "qcom,sm6350-llcc-bwmon", "qcom,sdm845-bwmon"; |
| 1889 |
reg = <0x0 0x090b6300 0x0 0x600>; |
| 1890 |
interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>; |
| 1891 |
|
| 1892 |
operating-points-v2 = <&llcc_bwmon_opp_table>; |
| 1893 |
interconnects = <&clk_virt MASTER_LLCC QCOM_ICC_TAG_ACTIVE_ONLY |
| 1894 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>; |
| 1895 |
|
| 1896 |
llcc_bwmon_opp_table: opp-table { |
| 1897 |
compatible = "operating-points-v2"; |
| 1898 |
|
| 1899 |
opp-0 { |
| 1900 |
opp-peak-kBps = <2288000>; |
| 1901 |
}; |
| 1902 |
|
| 1903 |
opp-1 { |
| 1904 |
opp-peak-kBps = <4577000>; |
| 1905 |
}; |
| 1906 |
|
| 1907 |
opp-2 { |
| 1908 |
opp-peak-kBps = <7110000>; |
| 1909 |
}; |
| 1910 |
|
| 1911 |
opp-3 { |
| 1912 |
opp-peak-kBps = <9155000>; |
| 1913 |
}; |
| 1914 |
|
| 1915 |
opp-4 { |
| 1916 |
opp-peak-kBps = <12298000>; |
| 1917 |
}; |
| 1918 |
|
| 1919 |
opp-5 { |
| 1920 |
opp-peak-kBps = <14236000>; |
| 1921 |
}; |
| 1922 |
|
| 1923 |
}; |
| 1924 |
}; |
| 1925 |
|
| 1926 |
pmu@90cd000 { |
| 1927 |
compatible = "qcom,sm6350-cpu-bwmon", "qcom,sc7280-llcc-bwmon"; |
| 1928 |
reg = <0x0 0x090cd000 0x0 0x1000>; |
| 1929 |
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; |
| 1930 |
|
| 1931 |
operating-points-v2 = <&cpu_bwmon_opp_table>; |
| 1932 |
interconnects = <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 1933 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ACTIVE_ONLY>; |
| 1934 |
|
| 1935 |
cpu_bwmon_opp_table: opp-table { |
| 1936 |
compatible = "operating-points-v2"; |
| 1937 |
|
| 1938 |
opp-0 { |
| 1939 |
opp-peak-kBps = <762000>; |
| 1940 |
}; |
| 1941 |
|
| 1942 |
opp-1 { |
| 1943 |
opp-peak-kBps = <1144000>; |
| 1944 |
}; |
| 1945 |
|
| 1946 |
opp-2 { |
| 1947 |
opp-peak-kBps = <1720000>; |
| 1948 |
}; |
| 1949 |
|
| 1950 |
opp-3 { |
| 1951 |
opp-peak-kBps = <2086000>; |
| 1952 |
}; |
| 1953 |
|
| 1954 |
opp-4 { |
| 1955 |
opp-peak-kBps = <2597000>; |
| 1956 |
}; |
| 1957 |
|
| 1958 |
opp-5 { |
| 1959 |
opp-peak-kBps = <2929000>; |
| 1960 |
}; |
| 1961 |
|
| 1962 |
opp-6 { |
| 1963 |
opp-peak-kBps = <3879000>; |
| 1964 |
}; |
| 1965 |
|
| 1966 |
opp-7 { |
| 1967 |
opp-peak-kBps = <5161000>; |
| 1968 |
}; |
| 1969 |
|
| 1970 |
opp-8 { |
| 1971 |
opp-peak-kBps = <5931000>; |
| 1972 |
}; |
| 1973 |
|
| 1974 |
opp-9 { |
| 1975 |
opp-peak-kBps = <6881000>; |
| 1976 |
}; |
| 1977 |
|
| 1978 |
opp-10 { |
| 1979 |
opp-peak-kBps = <7980000>; |
| 1980 |
}; |
| 1981 |
}; |
| 1982 |
}; |
| 1983 |
|
| 1984 |
usb_1: usb@a6f8800 { |
| 1985 |
compatible = "qcom,sm6350-dwc3", "qcom,dwc3"; |
| 1986 |
reg = <0x0 0x0a6f8800 0x0 0x400>; |
| 1987 |
status = "disabled"; |
| 1988 |
#address-cells = <2>; |
| 1989 |
#size-cells = <2>; |
| 1990 |
ranges; |
| 1991 |
|
| 1992 |
clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, |
| 1993 |
<&gcc GCC_USB30_PRIM_MASTER_CLK>, |
| 1994 |
<&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, |
| 1995 |
<&gcc GCC_USB30_PRIM_SLEEP_CLK>, |
| 1996 |
<&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; |
| 1997 |
clock-names = "cfg_noc", |
| 1998 |
"core", |
| 1999 |
"iface", |
| 2000 |
"sleep", |
| 2001 |
"mock_utmi"; |
| 2002 |
|
| 2003 |
interrupts-extended = <&intc GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, |
| 2004 |
<&intc GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, |
| 2005 |
<&pdc 14 IRQ_TYPE_EDGE_BOTH>, |
| 2006 |
<&pdc 15 IRQ_TYPE_EDGE_BOTH>, |
| 2007 |
<&pdc 17 IRQ_TYPE_LEVEL_HIGH>; |
| 2008 |
interrupt-names = "pwr_event", |
| 2009 |
"hs_phy_irq", |
| 2010 |
"dp_hs_phy_irq", |
| 2011 |
"dm_hs_phy_irq", |
| 2012 |
"ss_phy_irq"; |
| 2013 |
|
| 2014 |
power-domains = <&gcc USB30_PRIM_GDSC>; |
| 2015 |
|
| 2016 |
resets = <&gcc GCC_USB30_PRIM_BCR>; |
| 2017 |
|
| 2018 |
interconnects = <&aggre2_noc MASTER_USB3 0 &clk_virt SLAVE_EBI_CH0 0>, |
| 2019 |
<&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_USB3 0>; |
| 2020 |
interconnect-names = "usb-ddr", "apps-usb"; |
| 2021 |
|
| 2022 |
usb_1_dwc3: usb@a600000 { |
| 2023 |
compatible = "snps,dwc3"; |
| 2024 |
reg = <0x0 0x0a600000 0x0 0xcd00>; |
| 2025 |
interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; |
| 2026 |
iommus = <&apps_smmu 0x540 0x0>; |
| 2027 |
num-hc-interrupters = /bits/ 16 <3>; |
| 2028 |
snps,dis_u2_susphy_quirk; |
| 2029 |
snps,dis_enblslpm_quirk; |
| 2030 |
snps,has-lpm-erratum; |
| 2031 |
snps,hird-threshold = /bits/ 8 <0x10>; |
| 2032 |
snps,parkmode-disable-ss-quirk; |
| 2033 |
snps,dis-u1-entry-quirk; |
| 2034 |
snps,dis-u2-entry-quirk; |
| 2035 |
phys = <&usb_1_hsphy>, <&usb_1_qmpphy QMP_USB43DP_USB3_PHY>; |
| 2036 |
phy-names = "usb2-phy", "usb3-phy"; |
| 2037 |
usb-role-switch; |
| 2038 |
|
| 2039 |
ports { |
| 2040 |
#address-cells = <1>; |
| 2041 |
#size-cells = <0>; |
| 2042 |
|
| 2043 |
port@0 { |
| 2044 |
reg = <0>; |
| 2045 |
|
| 2046 |
usb_1_dwc3_hs_out: endpoint { |
| 2047 |
}; |
| 2048 |
}; |
| 2049 |
|
| 2050 |
port@1 { |
| 2051 |
reg = <1>; |
| 2052 |
|
| 2053 |
usb_1_dwc3_ss_out: endpoint { |
| 2054 |
remote-endpoint = <&usb_1_qmpphy_usb_ss_in>; |
| 2055 |
}; |
| 2056 |
}; |
| 2057 |
}; |
| 2058 |
}; |
| 2059 |
}; |
| 2060 |
|
| 2061 |
videocc: clock-controller@aaf0000 { |
| 2062 |
compatible = "qcom,sm6350-videocc"; |
| 2063 |
reg = <0x0 0x0aaf0000 0x0 0x10000>; |
| 2064 |
clocks = <&gcc GCC_VIDEO_AHB_CLK>, |
| 2065 |
<&rpmhcc RPMH_CXO_CLK>, |
| 2066 |
<&sleep_clk>; |
| 2067 |
clock-names = "iface", |
| 2068 |
"bi_tcxo", |
| 2069 |
"sleep_clk"; |
| 2070 |
#clock-cells = <1>; |
| 2071 |
#reset-cells = <1>; |
| 2072 |
#power-domain-cells = <1>; |
| 2073 |
}; |
| 2074 |
|
| 2075 |
cci0: cci@ac4a000 { |
| 2076 |
compatible = "qcom,sm6350-cci", "qcom,msm8996-cci"; |
| 2077 |
reg = <0x0 0x0ac4a000 0x0 0x1000>; |
| 2078 |
interrupts = <GIC_SPI 468 IRQ_TYPE_EDGE_RISING>; |
| 2079 |
power-domains = <&camcc TITAN_TOP_GDSC>; |
| 2080 |
|
| 2081 |
clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>, |
| 2082 |
<&camcc CAMCC_SOC_AHB_CLK>, |
| 2083 |
<&camcc CAMCC_SLOW_AHB_CLK_SRC>, |
| 2084 |
<&camcc CAMCC_CPAS_AHB_CLK>, |
| 2085 |
<&camcc CAMCC_CCI_0_CLK>, |
| 2086 |
<&camcc CAMCC_CCI_0_CLK_SRC>; |
| 2087 |
clock-names = "camnoc_axi", |
| 2088 |
"soc_ahb", |
| 2089 |
"slow_ahb_src", |
| 2090 |
"cpas_ahb", |
| 2091 |
"cci", |
| 2092 |
"cci_src"; |
| 2093 |
|
| 2094 |
assigned-clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>, |
| 2095 |
<&camcc CAMCC_CCI_0_CLK>; |
| 2096 |
assigned-clock-rates = <80000000>, <37500000>; |
| 2097 |
|
| 2098 |
pinctrl-0 = <&cci0_default &cci1_default>; |
| 2099 |
pinctrl-1 = <&cci0_sleep &cci1_sleep>; |
| 2100 |
pinctrl-names = "default", "sleep"; |
| 2101 |
|
| 2102 |
#address-cells = <1>; |
| 2103 |
#size-cells = <0>; |
| 2104 |
|
| 2105 |
status = "disabled"; |
| 2106 |
|
| 2107 |
cci0_i2c0: i2c-bus@0 { |
| 2108 |
reg = <0>; |
| 2109 |
clock-frequency = <1000000>; |
| 2110 |
#address-cells = <1>; |
| 2111 |
#size-cells = <0>; |
| 2112 |
}; |
| 2113 |
|
| 2114 |
cci0_i2c1: i2c-bus@1 { |
| 2115 |
reg = <1>; |
| 2116 |
clock-frequency = <1000000>; |
| 2117 |
#address-cells = <1>; |
| 2118 |
#size-cells = <0>; |
| 2119 |
}; |
| 2120 |
}; |
| 2121 |
|
| 2122 |
cci1: cci@ac4b000 { |
| 2123 |
compatible = "qcom,sm6350-cci", "qcom,msm8996-cci"; |
| 2124 |
reg = <0x0 0x0ac4b000 0x0 0x1000>; |
| 2125 |
interrupts = <GIC_SPI 462 IRQ_TYPE_EDGE_RISING>; |
| 2126 |
power-domains = <&camcc TITAN_TOP_GDSC>; |
| 2127 |
|
| 2128 |
clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>, |
| 2129 |
<&camcc CAMCC_SOC_AHB_CLK>, |
| 2130 |
<&camcc CAMCC_SLOW_AHB_CLK_SRC>, |
| 2131 |
<&camcc CAMCC_CPAS_AHB_CLK>, |
| 2132 |
<&camcc CAMCC_CCI_1_CLK>, |
| 2133 |
<&camcc CAMCC_CCI_1_CLK_SRC>; |
| 2134 |
clock-names = "camnoc_axi", |
| 2135 |
"soc_ahb", |
| 2136 |
"slow_ahb_src", |
| 2137 |
"cpas_ahb", |
| 2138 |
"cci", |
| 2139 |
"cci_src"; |
| 2140 |
|
| 2141 |
assigned-clocks = <&camcc CAMCC_CAMNOC_AXI_CLK>, |
| 2142 |
<&camcc CAMCC_CCI_1_CLK>; |
| 2143 |
assigned-clock-rates = <80000000>, <37500000>; |
| 2144 |
|
| 2145 |
pinctrl-0 = <&cci2_default>; |
| 2146 |
pinctrl-1 = <&cci2_sleep>; |
| 2147 |
pinctrl-names = "default", "sleep"; |
| 2148 |
|
| 2149 |
#address-cells = <1>; |
| 2150 |
#size-cells = <0>; |
| 2151 |
|
| 2152 |
status = "disabled"; |
| 2153 |
|
| 2154 |
cci1_i2c0: i2c-bus@0 { |
| 2155 |
reg = <0>; |
| 2156 |
clock-frequency = <1000000>; |
| 2157 |
#address-cells = <1>; |
| 2158 |
#size-cells = <0>; |
| 2159 |
}; |
| 2160 |
|
| 2161 |
/* SM6350 seems to have cci1_i2c1 on gpio2 & gpio3 but unused downstream */ |
| 2162 |
}; |
| 2163 |
|
| 2164 |
camcc: clock-controller@ad00000 { |
| 2165 |
compatible = "qcom,sm6350-camcc"; |
| 2166 |
reg = <0x0 0x0ad00000 0x0 0x16000>; |
| 2167 |
clocks = <&rpmhcc RPMH_CXO_CLK>; |
| 2168 |
#clock-cells = <1>; |
| 2169 |
#reset-cells = <1>; |
| 2170 |
#power-domain-cells = <1>; |
| 2171 |
}; |
| 2172 |
|
| 2173 |
mdss: display-subsystem@ae00000 { |
| 2174 |
compatible = "qcom,sm6350-mdss"; |
| 2175 |
reg = <0x0 0x0ae00000 0x0 0x1000>; |
| 2176 |
reg-names = "mdss"; |
| 2177 |
|
| 2178 |
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 2179 |
interrupt-controller; |
| 2180 |
#interrupt-cells = <1>; |
| 2181 |
|
| 2182 |
interconnects = <&mmss_noc MASTER_MDP_PORT0 QCOM_ICC_TAG_ALWAYS |
| 2183 |
&clk_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>, |
| 2184 |
<&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ACTIVE_ONLY |
| 2185 |
&config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY>; |
| 2186 |
interconnect-names = "mdp0-mem", |
| 2187 |
"cpu-cfg"; |
| 2188 |
|
| 2189 |
clocks = <&gcc GCC_DISP_AHB_CLK>, |
| 2190 |
<&gcc GCC_DISP_AXI_CLK>, |
| 2191 |
<&dispcc DISP_CC_MDSS_MDP_CLK>; |
| 2192 |
clock-names = "iface", |
| 2193 |
"bus", |
| 2194 |
"core"; |
| 2195 |
|
| 2196 |
power-domains = <&dispcc MDSS_GDSC>; |
| 2197 |
iommus = <&apps_smmu 0x800 0x2>; |
| 2198 |
|
| 2199 |
resets = <&dispcc DISP_CC_MDSS_CORE_BCR>; |
| 2200 |
|
| 2201 |
#address-cells = <2>; |
| 2202 |
#size-cells = <2>; |
| 2203 |
ranges; |
| 2204 |
|
| 2205 |
status = "disabled"; |
| 2206 |
|
| 2207 |
mdss_mdp: display-controller@ae01000 { |
| 2208 |
compatible = "qcom,sm6350-dpu"; |
| 2209 |
reg = <0x0 0x0ae01000 0x0 0x8f000>, |
| 2210 |
<0x0 0x0aeb0000 0x0 0x2008>; |
| 2211 |
reg-names = "mdp", "vbif"; |
| 2212 |
|
| 2213 |
interrupt-parent = <&mdss>; |
| 2214 |
interrupts = <0>; |
| 2215 |
|
| 2216 |
clocks = <&gcc GCC_DISP_AXI_CLK>, |
| 2217 |
<&dispcc DISP_CC_MDSS_AHB_CLK>, |
| 2218 |
<&dispcc DISP_CC_MDSS_ROT_CLK>, |
| 2219 |
<&dispcc DISP_CC_MDSS_MDP_LUT_CLK>, |
| 2220 |
<&dispcc DISP_CC_MDSS_MDP_CLK>, |
| 2221 |
<&dispcc DISP_CC_MDSS_VSYNC_CLK>; |
| 2222 |
clock-names = "bus", |
| 2223 |
"iface", |
| 2224 |
"rot", |
| 2225 |
"lut", |
| 2226 |
"core", |
| 2227 |
"vsync"; |
| 2228 |
|
| 2229 |
assigned-clocks = <&dispcc DISP_CC_MDSS_VSYNC_CLK>; |
| 2230 |
assigned-clock-rates = <19200000>; |
| 2231 |
|
| 2232 |
operating-points-v2 = <&mdp_opp_table>; |
| 2233 |
power-domains = <&rpmhpd SM6350_CX>; |
| 2234 |
|
| 2235 |
ports { |
| 2236 |
#address-cells = <1>; |
| 2237 |
#size-cells = <0>; |
| 2238 |
|
| 2239 |
port@0 { |
| 2240 |
reg = <0>; |
| 2241 |
|
| 2242 |
dpu_intf1_out: endpoint { |
| 2243 |
remote-endpoint = <&mdss_dsi0_in>; |
| 2244 |
}; |
| 2245 |
}; |
| 2246 |
|
| 2247 |
port@2 { |
| 2248 |
reg = <2>; |
| 2249 |
|
| 2250 |
dpu_intf0_out: endpoint { |
| 2251 |
remote-endpoint = <&mdss_dp_in>; |
| 2252 |
}; |
| 2253 |
}; |
| 2254 |
}; |
| 2255 |
|
| 2256 |
mdp_opp_table: opp-table { |
| 2257 |
compatible = "operating-points-v2"; |
| 2258 |
|
| 2259 |
opp-19200000 { |
| 2260 |
opp-hz = /bits/ 64 <19200000>; |
| 2261 |
required-opps = <&rpmhpd_opp_min_svs>; |
| 2262 |
}; |
| 2263 |
|
| 2264 |
opp-200000000 { |
| 2265 |
opp-hz = /bits/ 64 <200000000>; |
| 2266 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 2267 |
}; |
| 2268 |
|
| 2269 |
opp-300000000 { |
| 2270 |
opp-hz = /bits/ 64 <300000000>; |
| 2271 |
required-opps = <&rpmhpd_opp_svs>; |
| 2272 |
}; |
| 2273 |
|
| 2274 |
opp-373333333 { |
| 2275 |
opp-hz = /bits/ 64 <373333333>; |
| 2276 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 2277 |
}; |
| 2278 |
|
| 2279 |
opp-448000000 { |
| 2280 |
opp-hz = /bits/ 64 <448000000>; |
| 2281 |
required-opps = <&rpmhpd_opp_nom>; |
| 2282 |
}; |
| 2283 |
|
| 2284 |
opp-560000000 { |
| 2285 |
opp-hz = /bits/ 64 <560000000>; |
| 2286 |
required-opps = <&rpmhpd_opp_turbo>; |
| 2287 |
}; |
| 2288 |
}; |
| 2289 |
}; |
| 2290 |
|
| 2291 |
mdss_dp: displayport-controller@ae90000 { |
| 2292 |
compatible = "qcom,sm6350-dp", "qcom,sc7180-dp"; |
| 2293 |
reg = <0x0 0xae90000 0x0 0x200>, |
| 2294 |
<0x0 0xae90200 0x0 0x200>, |
| 2295 |
<0x0 0xae90400 0x0 0x600>, |
| 2296 |
<0x0 0xae91000 0x0 0x400>, |
| 2297 |
<0x0 0xae91400 0x0 0x400>; |
| 2298 |
interrupt-parent = <&mdss>; |
| 2299 |
interrupts = <12>; |
| 2300 |
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, |
| 2301 |
<&dispcc DISP_CC_MDSS_DP_AUX_CLK>, |
| 2302 |
<&dispcc DISP_CC_MDSS_DP_LINK_CLK>, |
| 2303 |
<&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>, |
| 2304 |
<&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>; |
| 2305 |
clock-names = "core_iface", |
| 2306 |
"core_aux", |
| 2307 |
"ctrl_link", |
| 2308 |
"ctrl_link_iface", |
| 2309 |
"stream_pixel"; |
| 2310 |
|
| 2311 |
assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>, |
| 2312 |
<&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>; |
| 2313 |
assigned-clock-parents = <&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, |
| 2314 |
<&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; |
| 2315 |
|
| 2316 |
phys = <&usb_1_qmpphy QMP_USB43DP_DP_PHY>; |
| 2317 |
phy-names = "dp"; |
| 2318 |
|
| 2319 |
#sound-dai-cells = <0>; |
| 2320 |
|
| 2321 |
operating-points-v2 = <&dp_opp_table>; |
| 2322 |
power-domains = <&rpmhpd SM6350_CX>; |
| 2323 |
|
| 2324 |
status = "disabled"; |
| 2325 |
|
| 2326 |
ports { |
| 2327 |
#address-cells = <1>; |
| 2328 |
#size-cells = <0>; |
| 2329 |
|
| 2330 |
port@0 { |
| 2331 |
reg = <0>; |
| 2332 |
|
| 2333 |
mdss_dp_in: endpoint { |
| 2334 |
remote-endpoint = <&dpu_intf0_out>; |
| 2335 |
}; |
| 2336 |
}; |
| 2337 |
|
| 2338 |
port@1 { |
| 2339 |
reg = <1>; |
| 2340 |
|
| 2341 |
mdss_dp_out: endpoint { |
| 2342 |
}; |
| 2343 |
}; |
| 2344 |
}; |
| 2345 |
|
| 2346 |
dp_opp_table: opp-table { |
| 2347 |
compatible = "operating-points-v2"; |
| 2348 |
|
| 2349 |
opp-160000000 { |
| 2350 |
opp-hz = /bits/ 64 <160000000>; |
| 2351 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 2352 |
}; |
| 2353 |
|
| 2354 |
opp-270000000 { |
| 2355 |
opp-hz = /bits/ 64 <270000000>; |
| 2356 |
required-opps = <&rpmhpd_opp_svs>; |
| 2357 |
}; |
| 2358 |
|
| 2359 |
opp-540000000 { |
| 2360 |
opp-hz = /bits/ 64 <540000000>; |
| 2361 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 2362 |
}; |
| 2363 |
|
| 2364 |
opp-810000000 { |
| 2365 |
opp-hz = /bits/ 64 <810000000>; |
| 2366 |
required-opps = <&rpmhpd_opp_nom>; |
| 2367 |
}; |
| 2368 |
}; |
| 2369 |
}; |
| 2370 |
|
| 2371 |
mdss_dsi0: dsi@ae94000 { |
| 2372 |
compatible = "qcom,sm6350-dsi-ctrl", "qcom,mdss-dsi-ctrl"; |
| 2373 |
reg = <0x0 0x0ae94000 0x0 0x400>; |
| 2374 |
reg-names = "dsi_ctrl"; |
| 2375 |
|
| 2376 |
interrupt-parent = <&mdss>; |
| 2377 |
interrupts = <4>; |
| 2378 |
|
| 2379 |
clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>, |
| 2380 |
<&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>, |
| 2381 |
<&dispcc DISP_CC_MDSS_PCLK0_CLK>, |
| 2382 |
<&dispcc DISP_CC_MDSS_ESC0_CLK>, |
| 2383 |
<&dispcc DISP_CC_MDSS_AHB_CLK>, |
| 2384 |
<&gcc GCC_DISP_AXI_CLK>; |
| 2385 |
clock-names = "byte", |
| 2386 |
"byte_intf", |
| 2387 |
"pixel", |
| 2388 |
"core", |
| 2389 |
"iface", |
| 2390 |
"bus"; |
| 2391 |
|
| 2392 |
assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, |
| 2393 |
<&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>; |
| 2394 |
assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, |
| 2395 |
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; |
| 2396 |
|
| 2397 |
operating-points-v2 = <&mdss_dsi_opp_table>; |
| 2398 |
power-domains = <&rpmhpd SM6350_MX>; |
| 2399 |
|
| 2400 |
phys = <&mdss_dsi0_phy>; |
| 2401 |
phy-names = "dsi"; |
| 2402 |
|
| 2403 |
refgen-supply = <&refgen>; |
| 2404 |
|
| 2405 |
#address-cells = <1>; |
| 2406 |
#size-cells = <0>; |
| 2407 |
|
| 2408 |
status = "disabled"; |
| 2409 |
|
| 2410 |
ports { |
| 2411 |
#address-cells = <1>; |
| 2412 |
#size-cells = <0>; |
| 2413 |
|
| 2414 |
port@0 { |
| 2415 |
reg = <0>; |
| 2416 |
|
| 2417 |
mdss_dsi0_in: endpoint { |
| 2418 |
remote-endpoint = <&dpu_intf1_out>; |
| 2419 |
}; |
| 2420 |
}; |
| 2421 |
|
| 2422 |
port@1 { |
| 2423 |
reg = <1>; |
| 2424 |
|
| 2425 |
mdss_dsi0_out: endpoint { |
| 2426 |
}; |
| 2427 |
}; |
| 2428 |
}; |
| 2429 |
|
| 2430 |
mdss_dsi_opp_table: opp-table { |
| 2431 |
compatible = "operating-points-v2"; |
| 2432 |
|
| 2433 |
opp-187500000 { |
| 2434 |
opp-hz = /bits/ 64 <187500000>; |
| 2435 |
required-opps = <&rpmhpd_opp_low_svs>; |
| 2436 |
}; |
| 2437 |
|
| 2438 |
opp-300000000 { |
| 2439 |
opp-hz = /bits/ 64 <300000000>; |
| 2440 |
required-opps = <&rpmhpd_opp_svs>; |
| 2441 |
}; |
| 2442 |
|
| 2443 |
opp-358000000 { |
| 2444 |
opp-hz = /bits/ 64 <358000000>; |
| 2445 |
required-opps = <&rpmhpd_opp_svs_l1>; |
| 2446 |
}; |
| 2447 |
}; |
| 2448 |
}; |
| 2449 |
|
| 2450 |
mdss_dsi0_phy: phy@ae94400 { |
| 2451 |
compatible = "qcom,dsi-phy-10nm"; |
| 2452 |
reg = <0x0 0x0ae94400 0x0 0x200>, |
| 2453 |
<0x0 0x0ae94600 0x0 0x280>, |
| 2454 |
<0x0 0x0ae94a00 0x0 0x1e0>; |
| 2455 |
reg-names = "dsi_phy", |
| 2456 |
"dsi_phy_lane", |
| 2457 |
"dsi_pll"; |
| 2458 |
|
| 2459 |
#clock-cells = <1>; |
| 2460 |
#phy-cells = <0>; |
| 2461 |
|
| 2462 |
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>, |
| 2463 |
<&rpmhcc RPMH_CXO_CLK>; |
| 2464 |
clock-names = "iface", "ref"; |
| 2465 |
|
| 2466 |
status = "disabled"; |
| 2467 |
}; |
| 2468 |
}; |
| 2469 |
|
| 2470 |
dispcc: clock-controller@af00000 { |
| 2471 |
compatible = "qcom,sm6350-dispcc"; |
| 2472 |
reg = <0x0 0x0af00000 0x0 0x20000>; |
| 2473 |
clocks = <&rpmhcc RPMH_CXO_CLK>, |
| 2474 |
<&gcc GCC_DISP_GPLL0_CLK>, |
| 2475 |
<&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, |
| 2476 |
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, |
| 2477 |
<&usb_1_qmpphy QMP_USB43DP_DP_LINK_CLK>, |
| 2478 |
<&usb_1_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK>; |
| 2479 |
clock-names = "bi_tcxo", |
| 2480 |
"gcc_disp_gpll0_clk", |
| 2481 |
"dsi0_phy_pll_out_byteclk", |
| 2482 |
"dsi0_phy_pll_out_dsiclk", |
| 2483 |
"dp_phy_pll_link_clk", |
| 2484 |
"dp_phy_pll_vco_div_clk"; |
| 2485 |
#clock-cells = <1>; |
| 2486 |
#reset-cells = <1>; |
| 2487 |
#power-domain-cells = <1>; |
| 2488 |
}; |
| 2489 |
|
| 2490 |
pdc: interrupt-controller@b220000 { |
| 2491 |
compatible = "qcom,sm6350-pdc", "qcom,pdc"; |
| 2492 |
reg = <0x0 0x0b220000 0x0 0x30000>, <0x0 0x17c000f0 0x0 0x64>; |
| 2493 |
qcom,pdc-ranges = <0 480 94>, <94 609 31>, |
| 2494 |
<125 63 1>, <126 655 12>, <138 139 15>; |
| 2495 |
#interrupt-cells = <2>; |
| 2496 |
interrupt-parent = <&intc>; |
| 2497 |
interrupt-controller; |
| 2498 |
}; |
| 2499 |
|
| 2500 |
tsens0: thermal-sensor@c263000 { |
| 2501 |
compatible = "qcom,sm6350-tsens", "qcom,tsens-v2"; |
| 2502 |
reg = <0x0 0x0c263000 0x0 0x1ff>, /* TM */ |
| 2503 |
<0x0 0x0c222000 0x0 0x8>; /* SROT */ |
| 2504 |
#qcom,sensors = <16>; |
| 2505 |
interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>, |
| 2506 |
<&pdc 28 IRQ_TYPE_LEVEL_HIGH>; |
| 2507 |
interrupt-names = "uplow", "critical"; |
| 2508 |
#thermal-sensor-cells = <1>; |
| 2509 |
}; |
| 2510 |
|
| 2511 |
tsens1: thermal-sensor@c265000 { |
| 2512 |
compatible = "qcom,sm6350-tsens", "qcom,tsens-v2"; |
| 2513 |
reg = <0x0 0x0c265000 0x0 0x1ff>, /* TM */ |
| 2514 |
<0x0 0x0c223000 0x0 0x8>; /* SROT */ |
| 2515 |
#qcom,sensors = <16>; |
| 2516 |
interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>, |
| 2517 |
<&pdc 29 IRQ_TYPE_LEVEL_HIGH>; |
| 2518 |
interrupt-names = "uplow", "critical"; |
| 2519 |
#thermal-sensor-cells = <1>; |
| 2520 |
}; |
| 2521 |
|
| 2522 |
aoss_qmp: power-management@c300000 { |
| 2523 |
compatible = "qcom,sm6350-aoss-qmp", "qcom,aoss-qmp"; |
| 2524 |
reg = <0x0 0x0c300000 0x0 0x1000>; |
| 2525 |
interrupts-extended = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP |
| 2526 |
IRQ_TYPE_EDGE_RISING>; |
| 2527 |
mboxes = <&ipcc IPCC_CLIENT_AOP IPCC_MPROC_SIGNAL_GLINK_QMP>; |
| 2528 |
|
| 2529 |
#clock-cells = <0>; |
| 2530 |
}; |
| 2531 |
|
| 2532 |
sram@c3f0000 { |
| 2533 |
compatible = "qcom,rpmh-stats"; |
| 2534 |
reg = <0x0 0x0c3f0000 0x0 0x400>; |
| 2535 |
}; |
| 2536 |
|
| 2537 |
spmi_bus: spmi@c440000 { |
| 2538 |
compatible = "qcom,spmi-pmic-arb"; |
| 2539 |
reg = <0x0 0x0c440000 0x0 0x1100>, |
| 2540 |
<0x0 0x0c600000 0x0 0x2000000>, |
| 2541 |
<0x0 0x0e600000 0x0 0x100000>, |
| 2542 |
<0x0 0x0e700000 0x0 0xa0000>, |
| 2543 |
<0x0 0x0c40a000 0x0 0x26000>; |
| 2544 |
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 2545 |
interrupt-names = "periph_irq"; |
| 2546 |
interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>; |
| 2547 |
qcom,ee = <0>; |
| 2548 |
qcom,channel = <0>; |
| 2549 |
#address-cells = <2>; |
| 2550 |
#size-cells = <0>; |
| 2551 |
interrupt-controller; |
| 2552 |
#interrupt-cells = <4>; |
| 2553 |
}; |
| 2554 |
|
| 2555 |
tlmm: pinctrl@f100000 { |
| 2556 |
compatible = "qcom,sm6350-tlmm"; |
| 2557 |
reg = <0x0 0x0f100000 0x0 0x300000>; |
| 2558 |
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>, |
| 2559 |
<GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>, |
| 2560 |
<GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>, |
| 2561 |
<GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, |
| 2562 |
<GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>, |
| 2563 |
<GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, |
| 2564 |
<GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, |
| 2565 |
<GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, |
| 2566 |
<GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>; |
| 2567 |
gpio-controller; |
| 2568 |
#gpio-cells = <2>; |
| 2569 |
interrupt-controller; |
| 2570 |
#interrupt-cells = <2>; |
| 2571 |
gpio-ranges = <&tlmm 0 0 157>; |
| 2572 |
wakeup-parent = <&pdc>; |
| 2573 |
|
| 2574 |
cci0_default: cci0-default-state { |
| 2575 |
pins = "gpio39", "gpio40"; |
| 2576 |
function = "cci_i2c"; |
| 2577 |
drive-strength = <2>; |
| 2578 |
bias-pull-up; |
| 2579 |
}; |
| 2580 |
|
| 2581 |
cci0_sleep: cci0-sleep-state { |
| 2582 |
pins = "gpio39", "gpio40"; |
| 2583 |
function = "cci_i2c"; |
| 2584 |
drive-strength = <2>; |
| 2585 |
bias-pull-down; |
| 2586 |
}; |
| 2587 |
|
| 2588 |
cci1_default: cci1-default-state { |
| 2589 |
pins = "gpio41", "gpio42"; |
| 2590 |
function = "cci_i2c"; |
| 2591 |
drive-strength = <2>; |
| 2592 |
bias-pull-up; |
| 2593 |
}; |
| 2594 |
|
| 2595 |
cci1_sleep: cci1-sleep-state { |
| 2596 |
pins = "gpio41", "gpio42"; |
| 2597 |
function = "cci_i2c"; |
| 2598 |
drive-strength = <2>; |
| 2599 |
bias-pull-down; |
| 2600 |
}; |
| 2601 |
|
| 2602 |
cci2_default: cci2-default-state { |
| 2603 |
pins = "gpio43", "gpio44"; |
| 2604 |
function = "cci_i2c"; |
| 2605 |
drive-strength = <2>; |
| 2606 |
bias-pull-up; |
| 2607 |
}; |
| 2608 |
|
| 2609 |
cci2_sleep: cci2-sleep-state { |
| 2610 |
pins = "gpio43", "gpio44"; |
| 2611 |
function = "cci_i2c"; |
| 2612 |
drive-strength = <2>; |
| 2613 |
bias-pull-down; |
| 2614 |
}; |
| 2615 |
|
| 2616 |
sdc2_off_state: sdc2-off-state { |
| 2617 |
clk-pins { |
| 2618 |
pins = "sdc2_clk"; |
| 2619 |
drive-strength = <2>; |
| 2620 |
bias-disable; |
| 2621 |
}; |
| 2622 |
|
| 2623 |
cmd-pins { |
| 2624 |
pins = "sdc2_cmd"; |
| 2625 |
drive-strength = <2>; |
| 2626 |
bias-pull-up; |
| 2627 |
}; |
| 2628 |
|
| 2629 |
data-pins { |
| 2630 |
pins = "sdc2_data"; |
| 2631 |
drive-strength = <2>; |
| 2632 |
bias-pull-up; |
| 2633 |
}; |
| 2634 |
}; |
| 2635 |
|
| 2636 |
sdc2_on_state: sdc2-on-state { |
| 2637 |
clk-pins { |
| 2638 |
pins = "sdc2_clk"; |
| 2639 |
drive-strength = <16>; |
| 2640 |
bias-disable; |
| 2641 |
}; |
| 2642 |
|
| 2643 |
cmd-pins { |
| 2644 |
pins = "sdc2_cmd"; |
| 2645 |
drive-strength = <10>; |
| 2646 |
bias-pull-up; |
| 2647 |
}; |
| 2648 |
|
| 2649 |
data-pins { |
| 2650 |
pins = "sdc2_data"; |
| 2651 |
drive-strength = <10>; |
| 2652 |
bias-pull-up; |
| 2653 |
}; |
| 2654 |
}; |
| 2655 |
|
| 2656 |
qup_uart9_default: qup-uart9-default-state { |
| 2657 |
pins = "gpio25", "gpio26"; |
| 2658 |
function = "qup13_f2"; |
| 2659 |
drive-strength = <2>; |
| 2660 |
bias-disable; |
| 2661 |
}; |
| 2662 |
|
| 2663 |
qup_i2c0_default: qup-i2c0-default-state { |
| 2664 |
pins = "gpio0", "gpio1"; |
| 2665 |
function = "qup00"; |
| 2666 |
drive-strength = <2>; |
| 2667 |
bias-pull-up; |
| 2668 |
}; |
| 2669 |
|
| 2670 |
qup_i2c2_default: qup-i2c2-default-state { |
| 2671 |
pins = "gpio45", "gpio46"; |
| 2672 |
function = "qup02"; |
| 2673 |
drive-strength = <2>; |
| 2674 |
bias-pull-up; |
| 2675 |
}; |
| 2676 |
|
| 2677 |
qup_i2c6_default: qup-i2c6-default-state { |
| 2678 |
pins = "gpio13", "gpio14"; |
| 2679 |
function = "qup10"; |
| 2680 |
drive-strength = <2>; |
| 2681 |
bias-pull-up; |
| 2682 |
}; |
| 2683 |
|
| 2684 |
qup_i2c7_default: qup-i2c7-default-state { |
| 2685 |
pins = "gpio27", "gpio28"; |
| 2686 |
function = "qup11"; |
| 2687 |
drive-strength = <2>; |
| 2688 |
bias-pull-up; |
| 2689 |
}; |
| 2690 |
|
| 2691 |
qup_i2c8_default: qup-i2c8-default-state { |
| 2692 |
pins = "gpio19", "gpio20"; |
| 2693 |
function = "qup12"; |
| 2694 |
drive-strength = <2>; |
| 2695 |
bias-pull-up; |
| 2696 |
}; |
| 2697 |
|
| 2698 |
qup_i2c10_default: qup-i2c10-default-state { |
| 2699 |
pins = "gpio4", "gpio5"; |
| 2700 |
function = "qup14"; |
| 2701 |
drive-strength = <2>; |
| 2702 |
bias-pull-up; |
| 2703 |
}; |
| 2704 |
|
| 2705 |
qup_uart1_cts: qup-uart1-cts-default-state { |
| 2706 |
pins = "gpio61"; |
| 2707 |
function = "qup01"; |
| 2708 |
drive-strength = <2>; |
| 2709 |
bias-disable; |
| 2710 |
}; |
| 2711 |
|
| 2712 |
qup_uart1_rts: qup-uart1-rts-default-state { |
| 2713 |
pins = "gpio62"; |
| 2714 |
function = "qup01"; |
| 2715 |
drive-strength = <2>; |
| 2716 |
bias-pull-down; |
| 2717 |
}; |
| 2718 |
|
| 2719 |
qup_uart1_rx: qup-uart1-rx-default-state { |
| 2720 |
pins = "gpio64"; |
| 2721 |
function = "qup01"; |
| 2722 |
drive-strength = <2>; |
| 2723 |
bias-disable; |
| 2724 |
}; |
| 2725 |
|
| 2726 |
qup_uart1_tx: qup-uart1-tx-default-state { |
| 2727 |
pins = "gpio63"; |
| 2728 |
function = "qup01"; |
| 2729 |
drive-strength = <2>; |
| 2730 |
bias-pull-up; |
| 2731 |
}; |
| 2732 |
}; |
| 2733 |
|
| 2734 |
apps_smmu: iommu@15000000 { |
| 2735 |
compatible = "qcom,sm6350-smmu-500", "arm,mmu-500"; |
| 2736 |
reg = <0x0 0x15000000 0x0 0x100000>; |
| 2737 |
#iommu-cells = <2>; |
| 2738 |
#global-interrupts = <1>; |
| 2739 |
interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, |
| 2740 |
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, |
| 2741 |
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, |
| 2742 |
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, |
| 2743 |
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, |
| 2744 |
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, |
| 2745 |
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, |
| 2746 |
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, |
| 2747 |
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, |
| 2748 |
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, |
| 2749 |
<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, |
| 2750 |
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, |
| 2751 |
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, |
| 2752 |
<GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, |
| 2753 |
<GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, |
| 2754 |
<GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, |
| 2755 |
<GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 2756 |
<GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, |
| 2757 |
<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, |
| 2758 |
<GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, |
| 2759 |
<GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, |
| 2760 |
<GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, |
| 2761 |
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, |
| 2762 |
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 2763 |
<GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, |
| 2764 |
<GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>, |
| 2765 |
<GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>, |
| 2766 |
<GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>, |
| 2767 |
<GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, |
| 2768 |
<GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>, |
| 2769 |
<GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>, |
| 2770 |
<GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>, |
| 2771 |
<GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, |
| 2772 |
<GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, |
| 2773 |
<GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, |
| 2774 |
<GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, |
| 2775 |
<GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>, |
| 2776 |
<GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, |
| 2777 |
<GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, |
| 2778 |
<GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>, |
| 2779 |
<GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, |
| 2780 |
<GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, |
| 2781 |
<GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, |
| 2782 |
<GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, |
| 2783 |
<GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, |
| 2784 |
<GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, |
| 2785 |
<GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, |
| 2786 |
<GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>, |
| 2787 |
<GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, |
| 2788 |
<GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>, |
| 2789 |
<GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>, |
| 2790 |
<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, |
| 2791 |
<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, |
| 2792 |
<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, |
| 2793 |
<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, |
| 2794 |
<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>, |
| 2795 |
<GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, |
| 2796 |
<GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, |
| 2797 |
<GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, |
| 2798 |
<GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, |
| 2799 |
<GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, |
| 2800 |
<GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, |
| 2801 |
<GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, |
| 2802 |
<GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, |
| 2803 |
<GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, |
| 2804 |
<GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, |
| 2805 |
<GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>, |
| 2806 |
<GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>, |
| 2807 |
<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, |
| 2808 |
<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, |
| 2809 |
<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, |
| 2810 |
<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, |
| 2811 |
<GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, |
| 2812 |
<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, |
| 2813 |
<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, |
| 2814 |
<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>, |
| 2815 |
<GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>, |
| 2816 |
<GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>, |
| 2817 |
<GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>, |
| 2818 |
<GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>, |
| 2819 |
<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>; |
| 2820 |
dma-coherent; |
| 2821 |
}; |
| 2822 |
|
| 2823 |
intc: interrupt-controller@17a00000 { |
| 2824 |
compatible = "arm,gic-v3"; |
| 2825 |
#interrupt-cells = <3>; |
| 2826 |
interrupt-controller; |
| 2827 |
reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */ |
| 2828 |
<0x0 0x17a60000 0x0 0x100000>; /* GICR * 8 */ |
| 2829 |
interrupts = <GIC_PPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 2830 |
}; |
| 2831 |
|
| 2832 |
watchdog@17c10000 { |
| 2833 |
compatible = "qcom,apss-wdt-sm6350", "qcom,kpss-wdt"; |
| 2834 |
reg = <0x0 0x17c10000 0x0 0x1000>; |
| 2835 |
clocks = <&sleep_clk>; |
| 2836 |
interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>; |
| 2837 |
}; |
| 2838 |
|
| 2839 |
timer@17c20000 { |
| 2840 |
compatible = "arm,armv7-timer-mem"; |
| 2841 |
reg = <0x0 0x17c20000 0x0 0x1000>; |
| 2842 |
clock-frequency = <19200000>; |
| 2843 |
#address-cells = <1>; |
| 2844 |
#size-cells = <1>; |
| 2845 |
ranges = <0 0 0 0x20000000>; |
| 2846 |
|
| 2847 |
frame@17c21000 { |
| 2848 |
frame-number = <0>; |
| 2849 |
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 2850 |
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 2851 |
reg = <0x17c21000 0x1000>, |
| 2852 |
<0x17c22000 0x1000>; |
| 2853 |
}; |
| 2854 |
|
| 2855 |
frame@17c23000 { |
| 2856 |
frame-number = <1>; |
| 2857 |
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 2858 |
reg = <0x17c23000 0x1000>; |
| 2859 |
status = "disabled"; |
| 2860 |
}; |
| 2861 |
|
| 2862 |
frame@17c25000 { |
| 2863 |
frame-number = <2>; |
| 2864 |
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 2865 |
reg = <0x17c25000 0x1000>; |
| 2866 |
status = "disabled"; |
| 2867 |
}; |
| 2868 |
|
| 2869 |
frame@17c27000 { |
| 2870 |
frame-number = <3>; |
| 2871 |
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 2872 |
reg = <0x17c27000 0x1000>; |
| 2873 |
status = "disabled"; |
| 2874 |
}; |
| 2875 |
|
| 2876 |
frame@17c29000 { |
| 2877 |
frame-number = <4>; |
| 2878 |
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 2879 |
reg = <0x17c29000 0x1000>; |
| 2880 |
status = "disabled"; |
| 2881 |
}; |
| 2882 |
|
| 2883 |
frame@17c2b000 { |
| 2884 |
frame-number = <5>; |
| 2885 |
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 2886 |
reg = <0x17c2b000 0x1000>; |
| 2887 |
status = "disabled"; |
| 2888 |
}; |
| 2889 |
|
| 2890 |
frame@17c2d000 { |
| 2891 |
frame-number = <6>; |
| 2892 |
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 2893 |
reg = <0x17c2d000 0x1000>; |
| 2894 |
status = "disabled"; |
| 2895 |
}; |
| 2896 |
}; |
| 2897 |
|
| 2898 |
apps_rsc: rsc@18200000 { |
| 2899 |
compatible = "qcom,rpmh-rsc"; |
| 2900 |
label = "apps_rsc"; |
| 2901 |
reg = <0x0 0x18200000 0x0 0x10000>, |
| 2902 |
<0x0 0x18210000 0x0 0x10000>, |
| 2903 |
<0x0 0x18220000 0x0 0x10000>; |
| 2904 |
reg-names = "drv-0", "drv-1", "drv-2"; |
| 2905 |
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, |
| 2906 |
<GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, |
| 2907 |
<GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 2908 |
qcom,tcs-offset = <0xd00>; |
| 2909 |
qcom,drv-id = <2>; |
| 2910 |
qcom,tcs-config = <ACTIVE_TCS 2>, <SLEEP_TCS 3>, |
| 2911 |
<WAKE_TCS 3>, <CONTROL_TCS 1>; |
| 2912 |
power-domains = <&cluster_pd>; |
| 2913 |
|
| 2914 |
rpmhcc: clock-controller { |
| 2915 |
compatible = "qcom,sm6350-rpmh-clk"; |
| 2916 |
#clock-cells = <1>; |
| 2917 |
clock-names = "xo"; |
| 2918 |
clocks = <&xo_board>; |
| 2919 |
}; |
| 2920 |
|
| 2921 |
rpmhpd: power-controller { |
| 2922 |
compatible = "qcom,sm6350-rpmhpd"; |
| 2923 |
#power-domain-cells = <1>; |
| 2924 |
operating-points-v2 = <&rpmhpd_opp_table>; |
| 2925 |
|
| 2926 |
rpmhpd_opp_table: opp-table { |
| 2927 |
compatible = "operating-points-v2"; |
| 2928 |
|
| 2929 |
rpmhpd_opp_ret: opp1 { |
| 2930 |
opp-level = <RPMH_REGULATOR_LEVEL_RETENTION>; |
| 2931 |
}; |
| 2932 |
|
| 2933 |
rpmhpd_opp_min_svs: opp2 { |
| 2934 |
opp-level = <RPMH_REGULATOR_LEVEL_MIN_SVS>; |
| 2935 |
}; |
| 2936 |
|
| 2937 |
rpmhpd_opp_low_svs: opp3 { |
| 2938 |
opp-level = <RPMH_REGULATOR_LEVEL_LOW_SVS>; |
| 2939 |
}; |
| 2940 |
|
| 2941 |
rpmhpd_opp_svs: opp4 { |
| 2942 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS>; |
| 2943 |
}; |
| 2944 |
|
| 2945 |
rpmhpd_opp_svs_l1: opp5 { |
| 2946 |
opp-level = <RPMH_REGULATOR_LEVEL_SVS_L1>; |
| 2947 |
}; |
| 2948 |
|
| 2949 |
rpmhpd_opp_nom: opp6 { |
| 2950 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM>; |
| 2951 |
}; |
| 2952 |
|
| 2953 |
rpmhpd_opp_nom_l1: opp7 { |
| 2954 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L1>; |
| 2955 |
}; |
| 2956 |
|
| 2957 |
rpmhpd_opp_nom_l2: opp8 { |
| 2958 |
opp-level = <RPMH_REGULATOR_LEVEL_NOM_L2>; |
| 2959 |
}; |
| 2960 |
|
| 2961 |
rpmhpd_opp_turbo: opp9 { |
| 2962 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO>; |
| 2963 |
}; |
| 2964 |
|
| 2965 |
rpmhpd_opp_turbo_l1: opp10 { |
| 2966 |
opp-level = <RPMH_REGULATOR_LEVEL_TURBO_L1>; |
| 2967 |
}; |
| 2968 |
}; |
| 2969 |
}; |
| 2970 |
|
| 2971 |
apps_bcm_voter: bcm-voter { |
| 2972 |
compatible = "qcom,bcm-voter"; |
| 2973 |
}; |
| 2974 |
}; |
| 2975 |
|
| 2976 |
osm_l3: interconnect@18321000 { |
| 2977 |
compatible = "qcom,sm6350-osm-l3", "qcom,osm-l3"; |
| 2978 |
reg = <0x0 0x18321000 0x0 0x1000>; |
| 2979 |
|
| 2980 |
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; |
| 2981 |
clock-names = "xo", "alternate"; |
| 2982 |
|
| 2983 |
#interconnect-cells = <1>; |
| 2984 |
}; |
| 2985 |
|
| 2986 |
cpufreq_hw: cpufreq@18323000 { |
| 2987 |
compatible = "qcom,sm6350-cpufreq-hw", "qcom,cpufreq-hw"; |
| 2988 |
reg = <0x0 0x18323000 0x0 0x1000>, <0x0 0x18325800 0x0 0x1000>; |
| 2989 |
reg-names = "freq-domain0", "freq-domain1"; |
| 2990 |
clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; |
| 2991 |
clock-names = "xo", "alternate"; |
| 2992 |
|
| 2993 |
#freq-domain-cells = <1>; |
| 2994 |
#clock-cells = <1>; |
| 2995 |
}; |
| 2996 |
|
| 2997 |
wifi: wifi@18800000 { |
| 2998 |
compatible = "qcom,wcn3990-wifi"; |
| 2999 |
reg = <0x0 0x18800000 0x0 0x800000>; |
| 3000 |
reg-names = "membase"; |
| 3001 |
memory-region = <&wlan_fw_mem>; |
| 3002 |
interrupts = <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>, |
| 3003 |
<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, |
| 3004 |
<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, |
| 3005 |
<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, |
| 3006 |
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, |
| 3007 |
<GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, |
| 3008 |
<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>, |
| 3009 |
<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, |
| 3010 |
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, |
| 3011 |
<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, |
| 3012 |
<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, |
| 3013 |
<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>; |
| 3014 |
iommus = <&apps_smmu 0x20 0x1>; |
| 3015 |
qcom,msa-fixed-perm; |
| 3016 |
status = "disabled"; |
| 3017 |
}; |
| 3018 |
}; |
| 3019 |
|
| 3020 |
sound: sound { |
| 3021 |
}; |
| 3022 |
|
| 3023 |
thermal-zones { |
| 3024 |
aoss0-thermal { |
| 3025 |
thermal-sensors = <&tsens0 0>; |
| 3026 |
|
| 3027 |
trips { |
| 3028 |
aoss0-crit { |
| 3029 |
temperature = <125000>; |
| 3030 |
hysteresis = <0>; |
| 3031 |
type = "critical"; |
| 3032 |
}; |
| 3033 |
}; |
| 3034 |
}; |
| 3035 |
|
| 3036 |
aoss1-thermal { |
| 3037 |
thermal-sensors = <&tsens1 0>; |
| 3038 |
|
| 3039 |
trips { |
| 3040 |
aoss1-crit { |
| 3041 |
temperature = <125000>; |
| 3042 |
hysteresis = <0>; |
| 3043 |
type = "critical"; |
| 3044 |
}; |
| 3045 |
}; |
| 3046 |
}; |
| 3047 |
|
| 3048 |
audio-thermal { |
| 3049 |
thermal-sensors = <&tsens1 2>; |
| 3050 |
|
| 3051 |
trips { |
| 3052 |
audio-crit { |
| 3053 |
temperature = <125000>; |
| 3054 |
hysteresis = <0>; |
| 3055 |
type = "critical"; |
| 3056 |
}; |
| 3057 |
}; |
| 3058 |
}; |
| 3059 |
|
| 3060 |
camera-thermal { |
| 3061 |
thermal-sensors = <&tsens1 5>; |
| 3062 |
|
| 3063 |
trips { |
| 3064 |
camera-crit { |
| 3065 |
temperature = <125000>; |
| 3066 |
hysteresis = <0>; |
| 3067 |
type = "critical"; |
| 3068 |
}; |
| 3069 |
}; |
| 3070 |
}; |
| 3071 |
|
| 3072 |
cpu0-thermal { |
| 3073 |
thermal-sensors = <&tsens0 1>; |
| 3074 |
|
| 3075 |
trips { |
| 3076 |
cpu0_alert0: trip-point0 { |
| 3077 |
temperature = <95000>; |
| 3078 |
hysteresis = <2000>; |
| 3079 |
type = "passive"; |
| 3080 |
}; |
| 3081 |
|
| 3082 |
cpu0-crit { |
| 3083 |
temperature = <115000>; |
| 3084 |
hysteresis = <0>; |
| 3085 |
type = "critical"; |
| 3086 |
}; |
| 3087 |
}; |
| 3088 |
|
| 3089 |
cooling-maps { |
| 3090 |
map0 { |
| 3091 |
trip = <&cpu0_alert0>; |
| 3092 |
cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3093 |
}; |
| 3094 |
}; |
| 3095 |
}; |
| 3096 |
|
| 3097 |
cpu1-thermal { |
| 3098 |
thermal-sensors = <&tsens0 2>; |
| 3099 |
|
| 3100 |
trips { |
| 3101 |
cpu1_alert0: trip-point0 { |
| 3102 |
temperature = <95000>; |
| 3103 |
hysteresis = <2000>; |
| 3104 |
type = "passive"; |
| 3105 |
}; |
| 3106 |
|
| 3107 |
cpu1-crit { |
| 3108 |
temperature = <115000>; |
| 3109 |
hysteresis = <0>; |
| 3110 |
type = "critical"; |
| 3111 |
}; |
| 3112 |
}; |
| 3113 |
|
| 3114 |
cooling-maps { |
| 3115 |
map0 { |
| 3116 |
trip = <&cpu1_alert0>; |
| 3117 |
cooling-device = <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3118 |
}; |
| 3119 |
}; |
| 3120 |
}; |
| 3121 |
|
| 3122 |
cpu2-thermal { |
| 3123 |
thermal-sensors = <&tsens0 3>; |
| 3124 |
|
| 3125 |
trips { |
| 3126 |
cpu2_alert0: trip-point0 { |
| 3127 |
temperature = <95000>; |
| 3128 |
hysteresis = <2000>; |
| 3129 |
type = "passive"; |
| 3130 |
}; |
| 3131 |
|
| 3132 |
cpu2-crit { |
| 3133 |
temperature = <115000>; |
| 3134 |
hysteresis = <0>; |
| 3135 |
type = "critical"; |
| 3136 |
}; |
| 3137 |
}; |
| 3138 |
|
| 3139 |
cooling-maps { |
| 3140 |
map0 { |
| 3141 |
trip = <&cpu2_alert0>; |
| 3142 |
cooling-device = <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3143 |
}; |
| 3144 |
}; |
| 3145 |
}; |
| 3146 |
|
| 3147 |
cpu3-thermal { |
| 3148 |
thermal-sensors = <&tsens0 4>; |
| 3149 |
|
| 3150 |
trips { |
| 3151 |
cpu3_alert0: trip-point0 { |
| 3152 |
temperature = <95000>; |
| 3153 |
hysteresis = <2000>; |
| 3154 |
type = "passive"; |
| 3155 |
}; |
| 3156 |
|
| 3157 |
cpu3-crit { |
| 3158 |
temperature = <115000>; |
| 3159 |
hysteresis = <0>; |
| 3160 |
type = "critical"; |
| 3161 |
}; |
| 3162 |
}; |
| 3163 |
|
| 3164 |
cooling-maps { |
| 3165 |
map0 { |
| 3166 |
trip = <&cpu3_alert0>; |
| 3167 |
cooling-device = <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3168 |
}; |
| 3169 |
}; |
| 3170 |
}; |
| 3171 |
|
| 3172 |
cpu4-thermal { |
| 3173 |
thermal-sensors = <&tsens0 5>; |
| 3174 |
|
| 3175 |
trips { |
| 3176 |
cpu4_alert0: trip-point0 { |
| 3177 |
temperature = <95000>; |
| 3178 |
hysteresis = <2000>; |
| 3179 |
type = "passive"; |
| 3180 |
}; |
| 3181 |
|
| 3182 |
cpu4-crit { |
| 3183 |
temperature = <115000>; |
| 3184 |
hysteresis = <0>; |
| 3185 |
type = "critical"; |
| 3186 |
}; |
| 3187 |
}; |
| 3188 |
|
| 3189 |
cooling-maps { |
| 3190 |
map0 { |
| 3191 |
trip = <&cpu4_alert0>; |
| 3192 |
cooling-device = <&cpu4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3193 |
}; |
| 3194 |
}; |
| 3195 |
}; |
| 3196 |
|
| 3197 |
cpu5-thermal { |
| 3198 |
thermal-sensors = <&tsens0 6>; |
| 3199 |
|
| 3200 |
trips { |
| 3201 |
cpu5_alert0: trip-point0 { |
| 3202 |
temperature = <95000>; |
| 3203 |
hysteresis = <2000>; |
| 3204 |
type = "passive"; |
| 3205 |
}; |
| 3206 |
|
| 3207 |
cpu5-crit { |
| 3208 |
temperature = <115000>; |
| 3209 |
hysteresis = <0>; |
| 3210 |
type = "critical"; |
| 3211 |
}; |
| 3212 |
}; |
| 3213 |
|
| 3214 |
cooling-maps { |
| 3215 |
map0 { |
| 3216 |
trip = <&cpu5_alert0>; |
| 3217 |
cooling-device = <&cpu5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3218 |
}; |
| 3219 |
}; |
| 3220 |
}; |
| 3221 |
|
| 3222 |
cpu6-left-thermal { |
| 3223 |
thermal-sensors = <&tsens0 9>; |
| 3224 |
|
| 3225 |
trips { |
| 3226 |
cpu6_left_alert0: trip-point0 { |
| 3227 |
temperature = <95000>; |
| 3228 |
hysteresis = <2000>; |
| 3229 |
type = "passive"; |
| 3230 |
}; |
| 3231 |
|
| 3232 |
cpu6-left-crit { |
| 3233 |
temperature = <115000>; |
| 3234 |
hysteresis = <0>; |
| 3235 |
type = "critical"; |
| 3236 |
}; |
| 3237 |
}; |
| 3238 |
|
| 3239 |
cooling-maps { |
| 3240 |
map0 { |
| 3241 |
trip = <&cpu6_left_alert0>; |
| 3242 |
cooling-device = <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3243 |
}; |
| 3244 |
}; |
| 3245 |
}; |
| 3246 |
|
| 3247 |
cpu6-right-thermal { |
| 3248 |
thermal-sensors = <&tsens0 10>; |
| 3249 |
|
| 3250 |
trips { |
| 3251 |
cpu6_right_alert0: trip-point0 { |
| 3252 |
temperature = <95000>; |
| 3253 |
hysteresis = <2000>; |
| 3254 |
type = "passive"; |
| 3255 |
}; |
| 3256 |
|
| 3257 |
cpu6-right-crit { |
| 3258 |
temperature = <115000>; |
| 3259 |
hysteresis = <0>; |
| 3260 |
type = "critical"; |
| 3261 |
}; |
| 3262 |
}; |
| 3263 |
|
| 3264 |
cooling-maps { |
| 3265 |
map0 { |
| 3266 |
trip = <&cpu6_right_alert0>; |
| 3267 |
cooling-device = <&cpu6 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3268 |
}; |
| 3269 |
}; |
| 3270 |
}; |
| 3271 |
|
| 3272 |
cpu7-left-thermal { |
| 3273 |
thermal-sensors = <&tsens0 11>; |
| 3274 |
|
| 3275 |
trips { |
| 3276 |
cpu7_left_alert0: trip-point0 { |
| 3277 |
temperature = <95000>; |
| 3278 |
hysteresis = <2000>; |
| 3279 |
type = "passive"; |
| 3280 |
}; |
| 3281 |
|
| 3282 |
cpu7-left-crit { |
| 3283 |
temperature = <115000>; |
| 3284 |
hysteresis = <0>; |
| 3285 |
type = "critical"; |
| 3286 |
}; |
| 3287 |
}; |
| 3288 |
|
| 3289 |
cooling-maps { |
| 3290 |
map0 { |
| 3291 |
trip = <&cpu7_left_alert0>; |
| 3292 |
cooling-device = <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3293 |
}; |
| 3294 |
}; |
| 3295 |
}; |
| 3296 |
|
| 3297 |
cpu7-right-thermal { |
| 3298 |
thermal-sensors = <&tsens0 12>; |
| 3299 |
|
| 3300 |
trips { |
| 3301 |
cpu7_right_alert0: trip-point0 { |
| 3302 |
temperature = <95000>; |
| 3303 |
hysteresis = <2000>; |
| 3304 |
type = "passive"; |
| 3305 |
}; |
| 3306 |
|
| 3307 |
cpu7-right-crit { |
| 3308 |
temperature = <115000>; |
| 3309 |
hysteresis = <0>; |
| 3310 |
type = "critical"; |
| 3311 |
}; |
| 3312 |
}; |
| 3313 |
|
| 3314 |
cooling-maps { |
| 3315 |
map0 { |
| 3316 |
trip = <&cpu7_right_alert0>; |
| 3317 |
cooling-device = <&cpu7 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3318 |
}; |
| 3319 |
}; |
| 3320 |
}; |
| 3321 |
|
| 3322 |
cpuss0-thermal { |
| 3323 |
thermal-sensors = <&tsens0 7>; |
| 3324 |
|
| 3325 |
trips { |
| 3326 |
cpuss0-crit { |
| 3327 |
temperature = <125000>; |
| 3328 |
hysteresis = <0>; |
| 3329 |
type = "critical"; |
| 3330 |
}; |
| 3331 |
}; |
| 3332 |
}; |
| 3333 |
|
| 3334 |
cpuss1-thermal { |
| 3335 |
thermal-sensors = <&tsens0 8>; |
| 3336 |
|
| 3337 |
trips { |
| 3338 |
cpuss1-crit { |
| 3339 |
temperature = <125000>; |
| 3340 |
hysteresis = <0>; |
| 3341 |
type = "critical"; |
| 3342 |
}; |
| 3343 |
}; |
| 3344 |
}; |
| 3345 |
|
| 3346 |
cwlan-thermal { |
| 3347 |
thermal-sensors = <&tsens1 1>; |
| 3348 |
|
| 3349 |
trips { |
| 3350 |
cwlan-crit { |
| 3351 |
temperature = <125000>; |
| 3352 |
hysteresis = <0>; |
| 3353 |
type = "critical"; |
| 3354 |
}; |
| 3355 |
}; |
| 3356 |
}; |
| 3357 |
|
| 3358 |
ddr-thermal { |
| 3359 |
thermal-sensors = <&tsens1 3>; |
| 3360 |
|
| 3361 |
trips { |
| 3362 |
ddr-crit { |
| 3363 |
temperature = <125000>; |
| 3364 |
hysteresis = <0>; |
| 3365 |
type = "critical"; |
| 3366 |
}; |
| 3367 |
}; |
| 3368 |
}; |
| 3369 |
|
| 3370 |
gpuss0-thermal { |
| 3371 |
polling-delay-passive = <250>; |
| 3372 |
|
| 3373 |
thermal-sensors = <&tsens0 13>; |
| 3374 |
|
| 3375 |
trips { |
| 3376 |
gpuss0_alert0: trip-point0 { |
| 3377 |
temperature = <85000>; |
| 3378 |
hysteresis = <2000>; |
| 3379 |
type = "passive"; |
| 3380 |
}; |
| 3381 |
|
| 3382 |
gpuss0-crit { |
| 3383 |
temperature = <110000>; |
| 3384 |
hysteresis = <1000>; |
| 3385 |
type = "critical"; |
| 3386 |
}; |
| 3387 |
}; |
| 3388 |
|
| 3389 |
cooling-maps { |
| 3390 |
map0 { |
| 3391 |
trip = <&gpuss0_alert0>; |
| 3392 |
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3393 |
}; |
| 3394 |
}; |
| 3395 |
}; |
| 3396 |
|
| 3397 |
gpuss1-thermal { |
| 3398 |
polling-delay-passive = <250>; |
| 3399 |
|
| 3400 |
thermal-sensors = <&tsens0 14>; |
| 3401 |
|
| 3402 |
trips { |
| 3403 |
gpuss1_alert0: trip-point0 { |
| 3404 |
temperature = <85000>; |
| 3405 |
hysteresis = <2000>; |
| 3406 |
type = "passive"; |
| 3407 |
}; |
| 3408 |
|
| 3409 |
gpuss1-crit { |
| 3410 |
temperature = <110000>; |
| 3411 |
hysteresis = <1000>; |
| 3412 |
type = "critical"; |
| 3413 |
}; |
| 3414 |
}; |
| 3415 |
|
| 3416 |
cooling-maps { |
| 3417 |
map0 { |
| 3418 |
trip = <&gpuss1_alert0>; |
| 3419 |
cooling-device = <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 3420 |
}; |
| 3421 |
}; |
| 3422 |
}; |
| 3423 |
|
| 3424 |
modem-core0-thermal { |
| 3425 |
thermal-sensors = <&tsens1 6>; |
| 3426 |
|
| 3427 |
trips { |
| 3428 |
modem-core0-crit { |
| 3429 |
temperature = <125000>; |
| 3430 |
hysteresis = <0>; |
| 3431 |
type = "critical"; |
| 3432 |
}; |
| 3433 |
}; |
| 3434 |
}; |
| 3435 |
|
| 3436 |
modem-core1-thermal { |
| 3437 |
thermal-sensors = <&tsens1 7>; |
| 3438 |
|
| 3439 |
trips { |
| 3440 |
modem-core1-crit { |
| 3441 |
temperature = <125000>; |
| 3442 |
hysteresis = <0>; |
| 3443 |
type = "critical"; |
| 3444 |
}; |
| 3445 |
}; |
| 3446 |
}; |
| 3447 |
|
| 3448 |
modem-scl-thermal { |
| 3449 |
thermal-sensors = <&tsens1 9>; |
| 3450 |
|
| 3451 |
trips { |
| 3452 |
modem-scl-crit { |
| 3453 |
temperature = <125000>; |
| 3454 |
hysteresis = <0>; |
| 3455 |
type = "critical"; |
| 3456 |
}; |
| 3457 |
}; |
| 3458 |
}; |
| 3459 |
|
| 3460 |
modem-vec-thermal { |
| 3461 |
thermal-sensors = <&tsens1 8>; |
| 3462 |
|
| 3463 |
trips { |
| 3464 |
modem-vec-crit { |
| 3465 |
temperature = <125000>; |
| 3466 |
hysteresis = <0>; |
| 3467 |
type = "critical"; |
| 3468 |
}; |
| 3469 |
}; |
| 3470 |
}; |
| 3471 |
|
| 3472 |
npu-thermal { |
| 3473 |
thermal-sensors = <&tsens1 10>; |
| 3474 |
|
| 3475 |
trips { |
| 3476 |
npu-crit { |
| 3477 |
temperature = <125000>; |
| 3478 |
hysteresis = <0>; |
| 3479 |
type = "critical"; |
| 3480 |
}; |
| 3481 |
}; |
| 3482 |
}; |
| 3483 |
|
| 3484 |
q6-hvx-thermal { |
| 3485 |
thermal-sensors = <&tsens1 4>; |
| 3486 |
|
| 3487 |
trips { |
| 3488 |
q6-hvx-crit { |
| 3489 |
temperature = <125000>; |
| 3490 |
hysteresis = <0>; |
| 3491 |
type = "critical"; |
| 3492 |
}; |
| 3493 |
}; |
| 3494 |
}; |
| 3495 |
|
| 3496 |
video-thermal { |
| 3497 |
thermal-sensors = <&tsens1 11>; |
| 3498 |
|
| 3499 |
trips { |
| 3500 |
video-crit { |
| 3501 |
temperature = <125000>; |
| 3502 |
hysteresis = <0>; |
| 3503 |
type = "critical"; |
| 3504 |
}; |
| 3505 |
}; |
| 3506 |
}; |
| 3507 |
}; |
| 3508 |
|
| 3509 |
timer { |
| 3510 |
compatible = "arm,armv8-timer"; |
| 3511 |
clock-frequency = <19200000>; |
| 3512 |
interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 3513 |
<GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 3514 |
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>, |
| 3515 |
<GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; |
| 3516 |
}; |
| 3517 |
}; |