| 1 |
// SPDX-License-Identifier: BSD-3-Clause |
| 2 |
/* |
| 3 |
* Copyright (c) 2020, Konrad Dybcio <[email protected]> |
| 4 |
* Copyright (c) 2020, AngeloGioacchino Del Regno <[email protected]> |
| 5 |
*/ |
| 6 |
|
| 7 |
#include <dt-bindings/clock/qcom,dsi-phy-28nm.h> |
| 8 |
#include <dt-bindings/clock/qcom,gcc-sdm660.h> |
| 9 |
#include <dt-bindings/clock/qcom,gpucc-sdm660.h> |
| 10 |
#include <dt-bindings/clock/qcom,mmcc-sdm660.h> |
| 11 |
#include <dt-bindings/clock/qcom,rpmcc.h> |
| 12 |
#include <dt-bindings/firmware/qcom,scm.h> |
| 13 |
#include <dt-bindings/interconnect/qcom,sdm660.h> |
| 14 |
#include <dt-bindings/power/qcom-rpmpd.h> |
| 15 |
#include <dt-bindings/gpio/gpio.h> |
| 16 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 17 |
#include <dt-bindings/thermal/thermal.h> |
| 18 |
#include <dt-bindings/soc/qcom,apr.h> |
| 19 |
|
| 20 |
/ { |
| 21 |
interrupt-parent = <&intc>; |
| 22 |
|
| 23 |
#address-cells = <2>; |
| 24 |
#size-cells = <2>; |
| 25 |
|
| 26 |
aliases { |
| 27 |
mmc1 = &sdhc_1; |
| 28 |
mmc2 = &sdhc_2; |
| 29 |
}; |
| 30 |
|
| 31 |
chosen { }; |
| 32 |
|
| 33 |
clocks { |
| 34 |
xo_board: xo-board { |
| 35 |
compatible = "fixed-clock"; |
| 36 |
#clock-cells = <0>; |
| 37 |
clock-frequency = <19200000>; |
| 38 |
clock-output-names = "xo_board"; |
| 39 |
}; |
| 40 |
|
| 41 |
sleep_clk: sleep-clk { |
| 42 |
compatible = "fixed-clock"; |
| 43 |
#clock-cells = <0>; |
| 44 |
clock-frequency = <32764>; |
| 45 |
clock-output-names = "sleep_clk"; |
| 46 |
}; |
| 47 |
}; |
| 48 |
|
| 49 |
cpus { |
| 50 |
#address-cells = <2>; |
| 51 |
#size-cells = <0>; |
| 52 |
|
| 53 |
cpu0: cpu@100 { |
| 54 |
device_type = "cpu"; |
| 55 |
compatible = "arm,cortex-a53"; |
| 56 |
reg = <0x0 0x100>; |
| 57 |
enable-method = "psci"; |
| 58 |
cpu-idle-states = <&perf_cpu_sleep_0 |
| 59 |
&perf_cpu_sleep_1 |
| 60 |
&perf_cluster_sleep_0 |
| 61 |
&perf_cluster_sleep_1 |
| 62 |
&perf_cluster_sleep_2>; |
| 63 |
capacity-dmips-mhz = <1126>; |
| 64 |
#cooling-cells = <2>; |
| 65 |
next-level-cache = <&l2_1>; |
| 66 |
l2_1: l2-cache { |
| 67 |
compatible = "cache"; |
| 68 |
cache-level = <2>; |
| 69 |
cache-unified; |
| 70 |
}; |
| 71 |
}; |
| 72 |
|
| 73 |
cpu1: cpu@101 { |
| 74 |
device_type = "cpu"; |
| 75 |
compatible = "arm,cortex-a53"; |
| 76 |
reg = <0x0 0x101>; |
| 77 |
enable-method = "psci"; |
| 78 |
cpu-idle-states = <&perf_cpu_sleep_0 |
| 79 |
&perf_cpu_sleep_1 |
| 80 |
&perf_cluster_sleep_0 |
| 81 |
&perf_cluster_sleep_1 |
| 82 |
&perf_cluster_sleep_2>; |
| 83 |
capacity-dmips-mhz = <1126>; |
| 84 |
#cooling-cells = <2>; |
| 85 |
next-level-cache = <&l2_1>; |
| 86 |
}; |
| 87 |
|
| 88 |
cpu2: cpu@102 { |
| 89 |
device_type = "cpu"; |
| 90 |
compatible = "arm,cortex-a53"; |
| 91 |
reg = <0x0 0x102>; |
| 92 |
enable-method = "psci"; |
| 93 |
cpu-idle-states = <&perf_cpu_sleep_0 |
| 94 |
&perf_cpu_sleep_1 |
| 95 |
&perf_cluster_sleep_0 |
| 96 |
&perf_cluster_sleep_1 |
| 97 |
&perf_cluster_sleep_2>; |
| 98 |
capacity-dmips-mhz = <1126>; |
| 99 |
#cooling-cells = <2>; |
| 100 |
next-level-cache = <&l2_1>; |
| 101 |
}; |
| 102 |
|
| 103 |
cpu3: cpu@103 { |
| 104 |
device_type = "cpu"; |
| 105 |
compatible = "arm,cortex-a53"; |
| 106 |
reg = <0x0 0x103>; |
| 107 |
enable-method = "psci"; |
| 108 |
cpu-idle-states = <&perf_cpu_sleep_0 |
| 109 |
&perf_cpu_sleep_1 |
| 110 |
&perf_cluster_sleep_0 |
| 111 |
&perf_cluster_sleep_1 |
| 112 |
&perf_cluster_sleep_2>; |
| 113 |
capacity-dmips-mhz = <1126>; |
| 114 |
#cooling-cells = <2>; |
| 115 |
next-level-cache = <&l2_1>; |
| 116 |
}; |
| 117 |
|
| 118 |
cpu4: cpu@0 { |
| 119 |
device_type = "cpu"; |
| 120 |
compatible = "arm,cortex-a53"; |
| 121 |
reg = <0x0 0x0>; |
| 122 |
enable-method = "psci"; |
| 123 |
cpu-idle-states = <&pwr_cpu_sleep_0 |
| 124 |
&pwr_cpu_sleep_1 |
| 125 |
&pwr_cluster_sleep_0 |
| 126 |
&pwr_cluster_sleep_1 |
| 127 |
&pwr_cluster_sleep_2>; |
| 128 |
capacity-dmips-mhz = <1024>; |
| 129 |
#cooling-cells = <2>; |
| 130 |
next-level-cache = <&l2_0>; |
| 131 |
l2_0: l2-cache { |
| 132 |
compatible = "cache"; |
| 133 |
cache-level = <2>; |
| 134 |
cache-unified; |
| 135 |
}; |
| 136 |
}; |
| 137 |
|
| 138 |
cpu5: cpu@1 { |
| 139 |
device_type = "cpu"; |
| 140 |
compatible = "arm,cortex-a53"; |
| 141 |
reg = <0x0 0x1>; |
| 142 |
enable-method = "psci"; |
| 143 |
cpu-idle-states = <&pwr_cpu_sleep_0 |
| 144 |
&pwr_cpu_sleep_1 |
| 145 |
&pwr_cluster_sleep_0 |
| 146 |
&pwr_cluster_sleep_1 |
| 147 |
&pwr_cluster_sleep_2>; |
| 148 |
capacity-dmips-mhz = <1024>; |
| 149 |
#cooling-cells = <2>; |
| 150 |
next-level-cache = <&l2_0>; |
| 151 |
}; |
| 152 |
|
| 153 |
cpu6: cpu@2 { |
| 154 |
device_type = "cpu"; |
| 155 |
compatible = "arm,cortex-a53"; |
| 156 |
reg = <0x0 0x2>; |
| 157 |
enable-method = "psci"; |
| 158 |
cpu-idle-states = <&pwr_cpu_sleep_0 |
| 159 |
&pwr_cpu_sleep_1 |
| 160 |
&pwr_cluster_sleep_0 |
| 161 |
&pwr_cluster_sleep_1 |
| 162 |
&pwr_cluster_sleep_2>; |
| 163 |
capacity-dmips-mhz = <1024>; |
| 164 |
#cooling-cells = <2>; |
| 165 |
next-level-cache = <&l2_0>; |
| 166 |
}; |
| 167 |
|
| 168 |
cpu7: cpu@3 { |
| 169 |
device_type = "cpu"; |
| 170 |
compatible = "arm,cortex-a53"; |
| 171 |
reg = <0x0 0x3>; |
| 172 |
enable-method = "psci"; |
| 173 |
cpu-idle-states = <&pwr_cpu_sleep_0 |
| 174 |
&pwr_cpu_sleep_1 |
| 175 |
&pwr_cluster_sleep_0 |
| 176 |
&pwr_cluster_sleep_1 |
| 177 |
&pwr_cluster_sleep_2>; |
| 178 |
capacity-dmips-mhz = <1024>; |
| 179 |
#cooling-cells = <2>; |
| 180 |
next-level-cache = <&l2_0>; |
| 181 |
}; |
| 182 |
|
| 183 |
cpu-map { |
| 184 |
cluster0 { |
| 185 |
core0 { |
| 186 |
cpu = <&cpu4>; |
| 187 |
}; |
| 188 |
|
| 189 |
core1 { |
| 190 |
cpu = <&cpu5>; |
| 191 |
}; |
| 192 |
|
| 193 |
core2 { |
| 194 |
cpu = <&cpu6>; |
| 195 |
}; |
| 196 |
|
| 197 |
core3 { |
| 198 |
cpu = <&cpu7>; |
| 199 |
}; |
| 200 |
}; |
| 201 |
|
| 202 |
cluster1 { |
| 203 |
core0 { |
| 204 |
cpu = <&cpu0>; |
| 205 |
}; |
| 206 |
|
| 207 |
core1 { |
| 208 |
cpu = <&cpu1>; |
| 209 |
}; |
| 210 |
|
| 211 |
core2 { |
| 212 |
cpu = <&cpu2>; |
| 213 |
}; |
| 214 |
|
| 215 |
core3 { |
| 216 |
cpu = <&cpu3>; |
| 217 |
}; |
| 218 |
}; |
| 219 |
}; |
| 220 |
|
| 221 |
idle-states { |
| 222 |
entry-method = "psci"; |
| 223 |
|
| 224 |
pwr_cpu_sleep_0: cpu-sleep-0-0 { |
| 225 |
compatible = "arm,idle-state"; |
| 226 |
idle-state-name = "pwr-retention"; |
| 227 |
arm,psci-suspend-param = <0x40000002>; |
| 228 |
entry-latency-us = <338>; |
| 229 |
exit-latency-us = <423>; |
| 230 |
min-residency-us = <200>; |
| 231 |
}; |
| 232 |
|
| 233 |
pwr_cpu_sleep_1: cpu-sleep-0-1 { |
| 234 |
compatible = "arm,idle-state"; |
| 235 |
idle-state-name = "pwr-power-collapse"; |
| 236 |
arm,psci-suspend-param = <0x40000003>; |
| 237 |
entry-latency-us = <515>; |
| 238 |
exit-latency-us = <1821>; |
| 239 |
min-residency-us = <1000>; |
| 240 |
local-timer-stop; |
| 241 |
}; |
| 242 |
|
| 243 |
perf_cpu_sleep_0: cpu-sleep-1-0 { |
| 244 |
compatible = "arm,idle-state"; |
| 245 |
idle-state-name = "perf-retention"; |
| 246 |
arm,psci-suspend-param = <0x40000002>; |
| 247 |
entry-latency-us = <154>; |
| 248 |
exit-latency-us = <87>; |
| 249 |
min-residency-us = <200>; |
| 250 |
}; |
| 251 |
|
| 252 |
perf_cpu_sleep_1: cpu-sleep-1-1 { |
| 253 |
compatible = "arm,idle-state"; |
| 254 |
idle-state-name = "perf-power-collapse"; |
| 255 |
arm,psci-suspend-param = <0x40000003>; |
| 256 |
entry-latency-us = <262>; |
| 257 |
exit-latency-us = <301>; |
| 258 |
min-residency-us = <1000>; |
| 259 |
local-timer-stop; |
| 260 |
}; |
| 261 |
|
| 262 |
pwr_cluster_sleep_0: cluster-sleep-0-0 { |
| 263 |
compatible = "arm,idle-state"; |
| 264 |
idle-state-name = "pwr-cluster-dynamic-retention"; |
| 265 |
arm,psci-suspend-param = <0x400000f2>; |
| 266 |
entry-latency-us = <284>; |
| 267 |
exit-latency-us = <384>; |
| 268 |
min-residency-us = <9987>; |
| 269 |
local-timer-stop; |
| 270 |
}; |
| 271 |
|
| 272 |
pwr_cluster_sleep_1: cluster-sleep-0-1 { |
| 273 |
compatible = "arm,idle-state"; |
| 274 |
idle-state-name = "pwr-cluster-retention"; |
| 275 |
arm,psci-suspend-param = <0x400000f3>; |
| 276 |
entry-latency-us = <338>; |
| 277 |
exit-latency-us = <423>; |
| 278 |
min-residency-us = <9987>; |
| 279 |
local-timer-stop; |
| 280 |
}; |
| 281 |
|
| 282 |
pwr_cluster_sleep_2: cluster-sleep-0-2 { |
| 283 |
compatible = "arm,idle-state"; |
| 284 |
idle-state-name = "pwr-cluster-retention"; |
| 285 |
arm,psci-suspend-param = <0x400000f4>; |
| 286 |
entry-latency-us = <515>; |
| 287 |
exit-latency-us = <1821>; |
| 288 |
min-residency-us = <9987>; |
| 289 |
local-timer-stop; |
| 290 |
}; |
| 291 |
|
| 292 |
perf_cluster_sleep_0: cluster-sleep-1-0 { |
| 293 |
compatible = "arm,idle-state"; |
| 294 |
idle-state-name = "perf-cluster-dynamic-retention"; |
| 295 |
arm,psci-suspend-param = <0x400000f2>; |
| 296 |
entry-latency-us = <272>; |
| 297 |
exit-latency-us = <329>; |
| 298 |
min-residency-us = <9987>; |
| 299 |
local-timer-stop; |
| 300 |
}; |
| 301 |
|
| 302 |
perf_cluster_sleep_1: cluster-sleep-1-1 { |
| 303 |
compatible = "arm,idle-state"; |
| 304 |
idle-state-name = "perf-cluster-retention"; |
| 305 |
arm,psci-suspend-param = <0x400000f3>; |
| 306 |
entry-latency-us = <332>; |
| 307 |
exit-latency-us = <368>; |
| 308 |
min-residency-us = <9987>; |
| 309 |
local-timer-stop; |
| 310 |
}; |
| 311 |
|
| 312 |
perf_cluster_sleep_2: cluster-sleep-1-2 { |
| 313 |
compatible = "arm,idle-state"; |
| 314 |
idle-state-name = "perf-cluster-retention"; |
| 315 |
arm,psci-suspend-param = <0x400000f4>; |
| 316 |
entry-latency-us = <545>; |
| 317 |
exit-latency-us = <1609>; |
| 318 |
min-residency-us = <9987>; |
| 319 |
local-timer-stop; |
| 320 |
}; |
| 321 |
}; |
| 322 |
}; |
| 323 |
|
| 324 |
firmware { |
| 325 |
scm { |
| 326 |
compatible = "qcom,scm-msm8998", "qcom,scm"; |
| 327 |
}; |
| 328 |
}; |
| 329 |
|
| 330 |
memory@80000000 { |
| 331 |
device_type = "memory"; |
| 332 |
/* We expect the bootloader to fill in the reg */ |
| 333 |
reg = <0x0 0x80000000 0x0 0x0>; |
| 334 |
}; |
| 335 |
|
| 336 |
dsi_opp_table: opp-table-dsi { |
| 337 |
compatible = "operating-points-v2"; |
| 338 |
|
| 339 |
opp-131250000 { |
| 340 |
opp-hz = /bits/ 64 <131250000>; |
| 341 |
required-opps = <&rpmpd_opp_svs>; |
| 342 |
}; |
| 343 |
|
| 344 |
opp-210000000 { |
| 345 |
opp-hz = /bits/ 64 <210000000>; |
| 346 |
required-opps = <&rpmpd_opp_svs_plus>; |
| 347 |
}; |
| 348 |
|
| 349 |
opp-262500000 { |
| 350 |
opp-hz = /bits/ 64 <262500000>; |
| 351 |
required-opps = <&rpmpd_opp_nom>; |
| 352 |
}; |
| 353 |
}; |
| 354 |
|
| 355 |
pmu { |
| 356 |
compatible = "arm,armv8-pmuv3"; |
| 357 |
interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 358 |
}; |
| 359 |
|
| 360 |
psci { |
| 361 |
compatible = "arm,psci-1.0"; |
| 362 |
method = "smc"; |
| 363 |
}; |
| 364 |
|
| 365 |
rpm: remoteproc { |
| 366 |
compatible = "qcom,sdm660-rpm-proc", "qcom,rpm-proc"; |
| 367 |
|
| 368 |
glink-edge { |
| 369 |
compatible = "qcom,glink-rpm"; |
| 370 |
|
| 371 |
interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; |
| 372 |
qcom,rpm-msg-ram = <&rpm_msg_ram>; |
| 373 |
mboxes = <&apcs_glb 0>; |
| 374 |
|
| 375 |
rpm_requests: rpm-requests { |
| 376 |
compatible = "qcom,rpm-sdm660", "qcom,glink-smd-rpm"; |
| 377 |
qcom,glink-channels = "rpm_requests"; |
| 378 |
|
| 379 |
rpmcc: clock-controller { |
| 380 |
compatible = "qcom,rpmcc-sdm660", "qcom,rpmcc"; |
| 381 |
#clock-cells = <1>; |
| 382 |
}; |
| 383 |
|
| 384 |
rpmpd: power-controller { |
| 385 |
compatible = "qcom,sdm660-rpmpd"; |
| 386 |
#power-domain-cells = <1>; |
| 387 |
operating-points-v2 = <&rpmpd_opp_table>; |
| 388 |
|
| 389 |
rpmpd_opp_table: opp-table { |
| 390 |
compatible = "operating-points-v2"; |
| 391 |
|
| 392 |
rpmpd_opp_ret: opp1 { |
| 393 |
opp-level = <RPM_SMD_LEVEL_RETENTION>; |
| 394 |
}; |
| 395 |
|
| 396 |
rpmpd_opp_ret_plus: opp2 { |
| 397 |
opp-level = <RPM_SMD_LEVEL_RETENTION_PLUS>; |
| 398 |
}; |
| 399 |
|
| 400 |
rpmpd_opp_min_svs: opp3 { |
| 401 |
opp-level = <RPM_SMD_LEVEL_MIN_SVS>; |
| 402 |
}; |
| 403 |
|
| 404 |
rpmpd_opp_low_svs: opp4 { |
| 405 |
opp-level = <RPM_SMD_LEVEL_LOW_SVS>; |
| 406 |
}; |
| 407 |
|
| 408 |
rpmpd_opp_svs: opp5 { |
| 409 |
opp-level = <RPM_SMD_LEVEL_SVS>; |
| 410 |
}; |
| 411 |
|
| 412 |
rpmpd_opp_svs_plus: opp6 { |
| 413 |
opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; |
| 414 |
}; |
| 415 |
|
| 416 |
rpmpd_opp_nom: opp7 { |
| 417 |
opp-level = <RPM_SMD_LEVEL_NOM>; |
| 418 |
}; |
| 419 |
|
| 420 |
rpmpd_opp_nom_plus: opp8 { |
| 421 |
opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; |
| 422 |
}; |
| 423 |
|
| 424 |
rpmpd_opp_turbo: opp9 { |
| 425 |
opp-level = <RPM_SMD_LEVEL_TURBO>; |
| 426 |
}; |
| 427 |
}; |
| 428 |
}; |
| 429 |
}; |
| 430 |
}; |
| 431 |
}; |
| 432 |
|
| 433 |
reserved-memory { |
| 434 |
#address-cells = <2>; |
| 435 |
#size-cells = <2>; |
| 436 |
ranges; |
| 437 |
|
| 438 |
wlan_msa_guard: wlan-msa-guard@85600000 { |
| 439 |
reg = <0x0 0x85600000 0x0 0x100000>; |
| 440 |
no-map; |
| 441 |
}; |
| 442 |
|
| 443 |
wlan_msa_mem: wlan-msa-mem@85700000 { |
| 444 |
reg = <0x0 0x85700000 0x0 0x100000>; |
| 445 |
no-map; |
| 446 |
}; |
| 447 |
|
| 448 |
qhee_code: qhee-code@85800000 { |
| 449 |
reg = <0x0 0x85800000 0x0 0x600000>; |
| 450 |
no-map; |
| 451 |
}; |
| 452 |
|
| 453 |
rmtfs_mem: memory@85e00000 { |
| 454 |
compatible = "qcom,rmtfs-mem"; |
| 455 |
reg = <0x0 0x85e00000 0x0 0x200000>; |
| 456 |
no-map; |
| 457 |
|
| 458 |
qcom,client-id = <1>; |
| 459 |
qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>; |
| 460 |
}; |
| 461 |
|
| 462 |
smem_region: smem-mem@86000000 { |
| 463 |
reg = <0 0x86000000 0 0x200000>; |
| 464 |
no-map; |
| 465 |
}; |
| 466 |
|
| 467 |
tz_mem: memory@86200000 { |
| 468 |
reg = <0x0 0x86200000 0x0 0x3300000>; |
| 469 |
no-map; |
| 470 |
}; |
| 471 |
|
| 472 |
mpss_region: mpss@8ac00000 { |
| 473 |
reg = <0x0 0x8ac00000 0x0 0x7e00000>; |
| 474 |
no-map; |
| 475 |
}; |
| 476 |
|
| 477 |
adsp_region: adsp@92a00000 { |
| 478 |
reg = <0x0 0x92a00000 0x0 0x1e00000>; |
| 479 |
no-map; |
| 480 |
}; |
| 481 |
|
| 482 |
mba_region: mba@94800000 { |
| 483 |
reg = <0x0 0x94800000 0x0 0x200000>; |
| 484 |
no-map; |
| 485 |
}; |
| 486 |
|
| 487 |
buffer_mem: tzbuffer@94a00000 { |
| 488 |
reg = <0x0 0x94a00000 0x0 0x100000>; |
| 489 |
no-map; |
| 490 |
}; |
| 491 |
|
| 492 |
venus_region: venus@9f800000 { |
| 493 |
reg = <0x0 0x9f800000 0x0 0x800000>; |
| 494 |
no-map; |
| 495 |
}; |
| 496 |
|
| 497 |
adsp_mem: adsp-region@f6000000 { |
| 498 |
reg = <0x0 0xf6000000 0x0 0x800000>; |
| 499 |
no-map; |
| 500 |
}; |
| 501 |
|
| 502 |
qseecom_mem: qseecom-region@f6800000 { |
| 503 |
reg = <0x0 0xf6800000 0x0 0x1400000>; |
| 504 |
no-map; |
| 505 |
}; |
| 506 |
|
| 507 |
zap_shader_region: gpu@fed00000 { |
| 508 |
compatible = "shared-dma-pool"; |
| 509 |
reg = <0x0 0xfed00000 0x0 0xa00000>; |
| 510 |
no-map; |
| 511 |
}; |
| 512 |
|
| 513 |
mdata_mem: mpss-metadata { |
| 514 |
alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>; |
| 515 |
size = <0x0 0x4000>; |
| 516 |
no-map; |
| 517 |
}; |
| 518 |
}; |
| 519 |
|
| 520 |
smem: smem { |
| 521 |
compatible = "qcom,smem"; |
| 522 |
memory-region = <&smem_region>; |
| 523 |
hwlocks = <&tcsr_mutex 3>; |
| 524 |
}; |
| 525 |
|
| 526 |
smp2p-adsp { |
| 527 |
compatible = "qcom,smp2p"; |
| 528 |
qcom,smem = <443>, <429>; |
| 529 |
interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; |
| 530 |
mboxes = <&apcs_glb 10>; |
| 531 |
qcom,local-pid = <0>; |
| 532 |
qcom,remote-pid = <2>; |
| 533 |
|
| 534 |
adsp_smp2p_out: master-kernel { |
| 535 |
qcom,entry-name = "master-kernel"; |
| 536 |
#qcom,smem-state-cells = <1>; |
| 537 |
}; |
| 538 |
|
| 539 |
adsp_smp2p_in: slave-kernel { |
| 540 |
qcom,entry-name = "slave-kernel"; |
| 541 |
interrupt-controller; |
| 542 |
#interrupt-cells = <2>; |
| 543 |
}; |
| 544 |
}; |
| 545 |
|
| 546 |
smp2p-mpss { |
| 547 |
compatible = "qcom,smp2p"; |
| 548 |
qcom,smem = <435>, <428>; |
| 549 |
interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>; |
| 550 |
mboxes = <&apcs_glb 14>; |
| 551 |
qcom,local-pid = <0>; |
| 552 |
qcom,remote-pid = <1>; |
| 553 |
|
| 554 |
modem_smp2p_out: master-kernel { |
| 555 |
qcom,entry-name = "master-kernel"; |
| 556 |
#qcom,smem-state-cells = <1>; |
| 557 |
}; |
| 558 |
|
| 559 |
modem_smp2p_in: slave-kernel { |
| 560 |
qcom,entry-name = "slave-kernel"; |
| 561 |
interrupt-controller; |
| 562 |
#interrupt-cells = <2>; |
| 563 |
}; |
| 564 |
}; |
| 565 |
|
| 566 |
soc: soc@0 { |
| 567 |
#address-cells = <1>; |
| 568 |
#size-cells = <1>; |
| 569 |
ranges = <0 0 0 0xffffffff>; |
| 570 |
compatible = "simple-bus"; |
| 571 |
|
| 572 |
gcc: clock-controller@100000 { |
| 573 |
compatible = "qcom,gcc-sdm630"; |
| 574 |
#clock-cells = <1>; |
| 575 |
#reset-cells = <1>; |
| 576 |
#power-domain-cells = <1>; |
| 577 |
reg = <0x00100000 0x94000>; |
| 578 |
|
| 579 |
clock-names = "xo", "sleep_clk"; |
| 580 |
clocks = <&xo_board>, |
| 581 |
<&sleep_clk>; |
| 582 |
}; |
| 583 |
|
| 584 |
rpm_msg_ram: sram@778000 { |
| 585 |
compatible = "qcom,rpm-msg-ram"; |
| 586 |
reg = <0x00778000 0x7000>; |
| 587 |
}; |
| 588 |
|
| 589 |
qfprom: qfprom@780000 { |
| 590 |
compatible = "qcom,sdm630-qfprom", "qcom,qfprom"; |
| 591 |
reg = <0x00780000 0x621c>; |
| 592 |
#address-cells = <1>; |
| 593 |
#size-cells = <1>; |
| 594 |
|
| 595 |
qusb2_hstx_trim: hstx-trim@240 { |
| 596 |
reg = <0x243 0x1>; |
| 597 |
bits = <1 3>; |
| 598 |
}; |
| 599 |
|
| 600 |
gpu_speed_bin: gpu-speed-bin@41a0 { |
| 601 |
reg = <0x41a2 0x2>; |
| 602 |
bits = <5 8>; |
| 603 |
}; |
| 604 |
}; |
| 605 |
|
| 606 |
rng: rng@793000 { |
| 607 |
compatible = "qcom,prng-ee"; |
| 608 |
reg = <0x00793000 0x1000>; |
| 609 |
clocks = <&gcc GCC_PRNG_AHB_CLK>; |
| 610 |
clock-names = "core"; |
| 611 |
}; |
| 612 |
|
| 613 |
bimc: interconnect@1008000 { |
| 614 |
compatible = "qcom,sdm660-bimc"; |
| 615 |
reg = <0x01008000 0x78000>; |
| 616 |
#interconnect-cells = <1>; |
| 617 |
}; |
| 618 |
|
| 619 |
restart@10ac000 { |
| 620 |
compatible = "qcom,pshold"; |
| 621 |
reg = <0x010ac000 0x4>; |
| 622 |
}; |
| 623 |
|
| 624 |
cnoc: interconnect@1500000 { |
| 625 |
compatible = "qcom,sdm660-cnoc"; |
| 626 |
reg = <0x01500000 0x10000>; |
| 627 |
#interconnect-cells = <1>; |
| 628 |
}; |
| 629 |
|
| 630 |
snoc: interconnect@1626000 { |
| 631 |
compatible = "qcom,sdm660-snoc"; |
| 632 |
reg = <0x01626000 0x7090>; |
| 633 |
#interconnect-cells = <1>; |
| 634 |
}; |
| 635 |
|
| 636 |
anoc2_smmu: iommu@16c0000 { |
| 637 |
compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; |
| 638 |
reg = <0x016c0000 0x40000>; |
| 639 |
#global-interrupts = <2>; |
| 640 |
#iommu-cells = <1>; |
| 641 |
|
| 642 |
interrupts = |
| 643 |
<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
| 644 |
<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, |
| 645 |
|
| 646 |
<GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>, |
| 647 |
<GIC_SPI 374 IRQ_TYPE_LEVEL_LOW>, |
| 648 |
<GIC_SPI 375 IRQ_TYPE_LEVEL_LOW>, |
| 649 |
<GIC_SPI 376 IRQ_TYPE_LEVEL_LOW>, |
| 650 |
<GIC_SPI 377 IRQ_TYPE_LEVEL_LOW>, |
| 651 |
<GIC_SPI 378 IRQ_TYPE_LEVEL_LOW>, |
| 652 |
<GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>, |
| 653 |
<GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>, |
| 654 |
<GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>, |
| 655 |
<GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>, |
| 656 |
<GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>, |
| 657 |
<GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>, |
| 658 |
<GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>, |
| 659 |
<GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>, |
| 660 |
<GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>, |
| 661 |
<GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>, |
| 662 |
<GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>, |
| 663 |
<GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, |
| 664 |
<GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, |
| 665 |
<GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, |
| 666 |
<GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>, |
| 667 |
<GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>, |
| 668 |
<GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, |
| 669 |
<GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>, |
| 670 |
<GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>, |
| 671 |
<GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>, |
| 672 |
<GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>, |
| 673 |
<GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>, |
| 674 |
<GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>; |
| 675 |
}; |
| 676 |
|
| 677 |
a2noc: interconnect@1704000 { |
| 678 |
compatible = "qcom,sdm660-a2noc"; |
| 679 |
reg = <0x01704000 0xc100>; |
| 680 |
#interconnect-cells = <1>; |
| 681 |
clock-names = "ipa", |
| 682 |
"ufs_axi", |
| 683 |
"aggre2_ufs_axi", |
| 684 |
"aggre2_usb3_axi", |
| 685 |
"cfg_noc_usb2_axi"; |
| 686 |
clocks = <&rpmcc RPM_SMD_IPA_CLK>, |
| 687 |
<&gcc GCC_UFS_AXI_CLK>, |
| 688 |
<&gcc GCC_AGGRE2_UFS_AXI_CLK>, |
| 689 |
<&gcc GCC_AGGRE2_USB3_AXI_CLK>, |
| 690 |
<&gcc GCC_CFG_NOC_USB2_AXI_CLK>; |
| 691 |
}; |
| 692 |
|
| 693 |
mnoc: interconnect@1745000 { |
| 694 |
compatible = "qcom,sdm660-mnoc"; |
| 695 |
reg = <0x01745000 0xa010>; |
| 696 |
#interconnect-cells = <1>; |
| 697 |
clock-names = "iface"; |
| 698 |
clocks = <&mmcc AHB_CLK_SRC>; |
| 699 |
}; |
| 700 |
|
| 701 |
tsens: thermal-sensor@10ae000 { |
| 702 |
compatible = "qcom,sdm630-tsens", "qcom,tsens-v2"; |
| 703 |
reg = <0x010ae000 0x1000>, /* TM */ |
| 704 |
<0x010ad000 0x1000>; /* SROT */ |
| 705 |
#qcom,sensors = <12>; |
| 706 |
interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>, |
| 707 |
<GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>; |
| 708 |
interrupt-names = "uplow", "critical"; |
| 709 |
#thermal-sensor-cells = <1>; |
| 710 |
}; |
| 711 |
|
| 712 |
tcsr_mutex: hwlock@1f40000 { |
| 713 |
compatible = "qcom,tcsr-mutex"; |
| 714 |
reg = <0x01f40000 0x20000>; |
| 715 |
#hwlock-cells = <1>; |
| 716 |
}; |
| 717 |
|
| 718 |
tcsr_regs_1: syscon@1f60000 { |
| 719 |
compatible = "qcom,sdm630-tcsr", "syscon"; |
| 720 |
reg = <0x01f60000 0x20000>; |
| 721 |
}; |
| 722 |
|
| 723 |
tlmm: pinctrl@3100000 { |
| 724 |
compatible = "qcom,sdm630-pinctrl"; |
| 725 |
reg = <0x03100000 0x400000>, |
| 726 |
<0x03500000 0x400000>, |
| 727 |
<0x03900000 0x400000>; |
| 728 |
reg-names = "south", "center", "north"; |
| 729 |
interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; |
| 730 |
gpio-controller; |
| 731 |
gpio-ranges = <&tlmm 0 0 114>; |
| 732 |
#gpio-cells = <2>; |
| 733 |
interrupt-controller; |
| 734 |
#interrupt-cells = <2>; |
| 735 |
|
| 736 |
blsp1_uart1_default: blsp1-uart1-default-state { |
| 737 |
pins = "gpio0", "gpio1", "gpio2", "gpio3"; |
| 738 |
function = "blsp_uart1"; |
| 739 |
drive-strength = <2>; |
| 740 |
bias-disable; |
| 741 |
}; |
| 742 |
|
| 743 |
blsp1_uart1_sleep: blsp1-uart1-sleep-state { |
| 744 |
pins = "gpio0", "gpio1", "gpio2", "gpio3"; |
| 745 |
function = "gpio"; |
| 746 |
drive-strength = <2>; |
| 747 |
bias-disable; |
| 748 |
}; |
| 749 |
|
| 750 |
blsp1_uart2_default: blsp1-uart2-default-state { |
| 751 |
pins = "gpio4", "gpio5"; |
| 752 |
function = "blsp_uart2"; |
| 753 |
drive-strength = <2>; |
| 754 |
bias-disable; |
| 755 |
}; |
| 756 |
|
| 757 |
blsp2_uart1_default: blsp2-uart1-active-state { |
| 758 |
tx-rts-pins { |
| 759 |
pins = "gpio16", "gpio19"; |
| 760 |
function = "blsp_uart5"; |
| 761 |
drive-strength = <2>; |
| 762 |
bias-disable; |
| 763 |
}; |
| 764 |
|
| 765 |
rx-pins { |
| 766 |
/* |
| 767 |
* Avoid garbage data while BT module |
| 768 |
* is powered off or not driving signal |
| 769 |
*/ |
| 770 |
pins = "gpio17"; |
| 771 |
function = "blsp_uart5"; |
| 772 |
drive-strength = <2>; |
| 773 |
bias-pull-up; |
| 774 |
}; |
| 775 |
|
| 776 |
cts-pins { |
| 777 |
/* Match the pull of the BT module */ |
| 778 |
pins = "gpio18"; |
| 779 |
function = "blsp_uart5"; |
| 780 |
drive-strength = <2>; |
| 781 |
bias-pull-down; |
| 782 |
}; |
| 783 |
}; |
| 784 |
|
| 785 |
blsp2_uart1_sleep: blsp2-uart1-sleep-state { |
| 786 |
tx-pins { |
| 787 |
pins = "gpio16"; |
| 788 |
function = "gpio"; |
| 789 |
drive-strength = <2>; |
| 790 |
bias-pull-up; |
| 791 |
}; |
| 792 |
|
| 793 |
rx-cts-rts-pins { |
| 794 |
pins = "gpio17", "gpio18", "gpio19"; |
| 795 |
function = "gpio"; |
| 796 |
drive-strength = <2>; |
| 797 |
bias-disable; |
| 798 |
}; |
| 799 |
}; |
| 800 |
|
| 801 |
i2c1_default: i2c1-default-state { |
| 802 |
pins = "gpio2", "gpio3"; |
| 803 |
function = "blsp_i2c1"; |
| 804 |
drive-strength = <2>; |
| 805 |
bias-disable; |
| 806 |
}; |
| 807 |
|
| 808 |
i2c1_sleep: i2c1-sleep-state { |
| 809 |
pins = "gpio2", "gpio3"; |
| 810 |
function = "blsp_i2c1"; |
| 811 |
drive-strength = <2>; |
| 812 |
bias-pull-up; |
| 813 |
}; |
| 814 |
|
| 815 |
i2c2_default: i2c2-default-state { |
| 816 |
pins = "gpio6", "gpio7"; |
| 817 |
function = "blsp_i2c2"; |
| 818 |
drive-strength = <2>; |
| 819 |
bias-disable; |
| 820 |
}; |
| 821 |
|
| 822 |
i2c2_sleep: i2c2-sleep-state { |
| 823 |
pins = "gpio6", "gpio7"; |
| 824 |
function = "blsp_i2c2"; |
| 825 |
drive-strength = <2>; |
| 826 |
bias-pull-up; |
| 827 |
}; |
| 828 |
|
| 829 |
i2c3_default: i2c3-default-state { |
| 830 |
pins = "gpio10", "gpio11"; |
| 831 |
function = "blsp_i2c3"; |
| 832 |
drive-strength = <2>; |
| 833 |
bias-disable; |
| 834 |
}; |
| 835 |
|
| 836 |
i2c3_sleep: i2c3-sleep-state { |
| 837 |
pins = "gpio10", "gpio11"; |
| 838 |
function = "blsp_i2c3"; |
| 839 |
drive-strength = <2>; |
| 840 |
bias-pull-up; |
| 841 |
}; |
| 842 |
|
| 843 |
i2c4_default: i2c4-default-state { |
| 844 |
pins = "gpio14", "gpio15"; |
| 845 |
function = "blsp_i2c4"; |
| 846 |
drive-strength = <2>; |
| 847 |
bias-disable; |
| 848 |
}; |
| 849 |
|
| 850 |
i2c4_sleep: i2c4-sleep-state { |
| 851 |
pins = "gpio14", "gpio15"; |
| 852 |
function = "blsp_i2c4"; |
| 853 |
drive-strength = <2>; |
| 854 |
bias-pull-up; |
| 855 |
}; |
| 856 |
|
| 857 |
i2c5_default: i2c5-default-state { |
| 858 |
pins = "gpio18", "gpio19"; |
| 859 |
function = "blsp_i2c5"; |
| 860 |
drive-strength = <2>; |
| 861 |
bias-disable; |
| 862 |
}; |
| 863 |
|
| 864 |
i2c5_sleep: i2c5-sleep-state { |
| 865 |
pins = "gpio18", "gpio19"; |
| 866 |
function = "blsp_i2c5"; |
| 867 |
drive-strength = <2>; |
| 868 |
bias-pull-up; |
| 869 |
}; |
| 870 |
|
| 871 |
i2c6_default: i2c6-default-state { |
| 872 |
pins = "gpio22", "gpio23"; |
| 873 |
function = "blsp_i2c6"; |
| 874 |
drive-strength = <2>; |
| 875 |
bias-disable; |
| 876 |
}; |
| 877 |
|
| 878 |
i2c6_sleep: i2c6-sleep-state { |
| 879 |
pins = "gpio22", "gpio23"; |
| 880 |
function = "blsp_i2c6"; |
| 881 |
drive-strength = <2>; |
| 882 |
bias-pull-up; |
| 883 |
}; |
| 884 |
|
| 885 |
i2c7_default: i2c7-default-state { |
| 886 |
pins = "gpio26", "gpio27"; |
| 887 |
function = "blsp_i2c7"; |
| 888 |
drive-strength = <2>; |
| 889 |
bias-disable; |
| 890 |
}; |
| 891 |
|
| 892 |
i2c7_sleep: i2c7-sleep-state { |
| 893 |
pins = "gpio26", "gpio27"; |
| 894 |
function = "blsp_i2c7"; |
| 895 |
drive-strength = <2>; |
| 896 |
bias-pull-up; |
| 897 |
}; |
| 898 |
|
| 899 |
i2c8_default: i2c8-default-state { |
| 900 |
pins = "gpio30", "gpio31"; |
| 901 |
function = "blsp_i2c8_a"; |
| 902 |
drive-strength = <2>; |
| 903 |
bias-disable; |
| 904 |
}; |
| 905 |
|
| 906 |
i2c8_sleep: i2c8-sleep-state { |
| 907 |
pins = "gpio30", "gpio31"; |
| 908 |
function = "blsp_i2c8_a"; |
| 909 |
drive-strength = <2>; |
| 910 |
bias-pull-up; |
| 911 |
}; |
| 912 |
|
| 913 |
cci0_default: cci0-default-state { |
| 914 |
pins = "gpio36","gpio37"; |
| 915 |
function = "cci_i2c"; |
| 916 |
bias-pull-up; |
| 917 |
drive-strength = <2>; |
| 918 |
}; |
| 919 |
|
| 920 |
cci1_default: cci1-default-state { |
| 921 |
pins = "gpio38","gpio39"; |
| 922 |
function = "cci_i2c"; |
| 923 |
bias-pull-up; |
| 924 |
drive-strength = <2>; |
| 925 |
}; |
| 926 |
|
| 927 |
sdc1_state_on: sdc1-on-state { |
| 928 |
clk-pins { |
| 929 |
pins = "sdc1_clk"; |
| 930 |
bias-disable; |
| 931 |
drive-strength = <16>; |
| 932 |
}; |
| 933 |
|
| 934 |
cmd-pins { |
| 935 |
pins = "sdc1_cmd"; |
| 936 |
bias-pull-up; |
| 937 |
drive-strength = <10>; |
| 938 |
}; |
| 939 |
|
| 940 |
data-pins { |
| 941 |
pins = "sdc1_data"; |
| 942 |
bias-pull-up; |
| 943 |
drive-strength = <10>; |
| 944 |
}; |
| 945 |
|
| 946 |
rclk-pins { |
| 947 |
pins = "sdc1_rclk"; |
| 948 |
bias-pull-down; |
| 949 |
}; |
| 950 |
}; |
| 951 |
|
| 952 |
sdc1_state_off: sdc1-off-state { |
| 953 |
clk-pins { |
| 954 |
pins = "sdc1_clk"; |
| 955 |
bias-disable; |
| 956 |
drive-strength = <2>; |
| 957 |
}; |
| 958 |
|
| 959 |
cmd-pins { |
| 960 |
pins = "sdc1_cmd"; |
| 961 |
bias-pull-up; |
| 962 |
drive-strength = <2>; |
| 963 |
}; |
| 964 |
|
| 965 |
data-pins { |
| 966 |
pins = "sdc1_data"; |
| 967 |
bias-pull-up; |
| 968 |
drive-strength = <2>; |
| 969 |
}; |
| 970 |
|
| 971 |
rclk-pins { |
| 972 |
pins = "sdc1_rclk"; |
| 973 |
bias-pull-down; |
| 974 |
}; |
| 975 |
}; |
| 976 |
|
| 977 |
sdc2_state_on: sdc2-on-state { |
| 978 |
clk-pins { |
| 979 |
pins = "sdc2_clk"; |
| 980 |
bias-disable; |
| 981 |
drive-strength = <16>; |
| 982 |
}; |
| 983 |
|
| 984 |
cmd-pins { |
| 985 |
pins = "sdc2_cmd"; |
| 986 |
bias-pull-up; |
| 987 |
drive-strength = <10>; |
| 988 |
}; |
| 989 |
|
| 990 |
data-pins { |
| 991 |
pins = "sdc2_data"; |
| 992 |
bias-pull-up; |
| 993 |
drive-strength = <10>; |
| 994 |
}; |
| 995 |
}; |
| 996 |
|
| 997 |
sdc2_state_off: sdc2-off-state { |
| 998 |
clk-pins { |
| 999 |
pins = "sdc2_clk"; |
| 1000 |
bias-disable; |
| 1001 |
drive-strength = <2>; |
| 1002 |
}; |
| 1003 |
|
| 1004 |
cmd-pins { |
| 1005 |
pins = "sdc2_cmd"; |
| 1006 |
bias-pull-up; |
| 1007 |
drive-strength = <2>; |
| 1008 |
}; |
| 1009 |
|
| 1010 |
data-pins { |
| 1011 |
pins = "sdc2_data"; |
| 1012 |
bias-pull-up; |
| 1013 |
drive-strength = <2>; |
| 1014 |
}; |
| 1015 |
}; |
| 1016 |
}; |
| 1017 |
|
| 1018 |
remoteproc_mss: remoteproc@4080000 { |
| 1019 |
compatible = "qcom,sdm660-mss-pil"; |
| 1020 |
reg = <0x04080000 0x100>, <0x04180000 0x40>; |
| 1021 |
reg-names = "qdsp6", "rmb"; |
| 1022 |
|
| 1023 |
interrupts-extended = <&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>, |
| 1024 |
<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 1025 |
<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, |
| 1026 |
<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, |
| 1027 |
<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, |
| 1028 |
<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; |
| 1029 |
interrupt-names = "wdog", |
| 1030 |
"fatal", |
| 1031 |
"ready", |
| 1032 |
"handover", |
| 1033 |
"stop-ack", |
| 1034 |
"shutdown-ack"; |
| 1035 |
|
| 1036 |
clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, |
| 1037 |
<&gcc GCC_BIMC_MSS_Q6_AXI_CLK>, |
| 1038 |
<&gcc GCC_BOOT_ROM_AHB_CLK>, |
| 1039 |
<&gcc GPLL0_OUT_MSSCC>, |
| 1040 |
<&gcc GCC_MSS_SNOC_AXI_CLK>, |
| 1041 |
<&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>, |
| 1042 |
<&rpmcc RPM_SMD_QDSS_CLK>, |
| 1043 |
<&rpmcc RPM_SMD_XO_CLK_SRC>; |
| 1044 |
clock-names = "iface", |
| 1045 |
"bus", |
| 1046 |
"mem", |
| 1047 |
"gpll0_mss", |
| 1048 |
"snoc_axi", |
| 1049 |
"mnoc_axi", |
| 1050 |
"qdss", |
| 1051 |
"xo"; |
| 1052 |
|
| 1053 |
qcom,smem-states = <&modem_smp2p_out 0>; |
| 1054 |
qcom,smem-state-names = "stop"; |
| 1055 |
|
| 1056 |
resets = <&gcc GCC_MSS_RESTART>; |
| 1057 |
reset-names = "mss_restart"; |
| 1058 |
|
| 1059 |
qcom,halt-regs = <&tcsr_regs_1 0x3000 0x5000 0x4000>; |
| 1060 |
|
| 1061 |
power-domains = <&rpmpd RPMPD_VDDCX>, |
| 1062 |
<&rpmpd RPMPD_VDDMX>; |
| 1063 |
power-domain-names = "cx", "mx"; |
| 1064 |
|
| 1065 |
memory-region = <&mba_region>, <&mpss_region>, <&mdata_mem>; |
| 1066 |
|
| 1067 |
status = "disabled"; |
| 1068 |
|
| 1069 |
glink-edge { |
| 1070 |
interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>; |
| 1071 |
label = "modem"; |
| 1072 |
qcom,remote-pid = <1>; |
| 1073 |
mboxes = <&apcs_glb 15>; |
| 1074 |
}; |
| 1075 |
}; |
| 1076 |
|
| 1077 |
adreno_gpu: gpu@5000000 { |
| 1078 |
compatible = "qcom,adreno-508.0", "qcom,adreno"; |
| 1079 |
|
| 1080 |
reg = <0x05000000 0x40000>; |
| 1081 |
reg-names = "kgsl_3d0_reg_memory"; |
| 1082 |
|
| 1083 |
interrupts = <GIC_SPI 300 IRQ_TYPE_LEVEL_HIGH>; |
| 1084 |
|
| 1085 |
clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, |
| 1086 |
<&gpucc GPUCC_RBBMTIMER_CLK>, |
| 1087 |
<&gcc GCC_BIMC_GFX_CLK>, |
| 1088 |
<&gcc GCC_GPU_BIMC_GFX_CLK>, |
| 1089 |
<&gpucc GPUCC_RBCPR_CLK>, |
| 1090 |
<&gpucc GPUCC_GFX3D_CLK>; |
| 1091 |
|
| 1092 |
clock-names = "iface", |
| 1093 |
"rbbmtimer", |
| 1094 |
"mem", |
| 1095 |
"mem_iface", |
| 1096 |
"rbcpr", |
| 1097 |
"core"; |
| 1098 |
|
| 1099 |
power-domains = <&rpmpd RPMPD_VDDMX>; |
| 1100 |
iommus = <&kgsl_smmu 0>; |
| 1101 |
|
| 1102 |
nvmem-cells = <&gpu_speed_bin>; |
| 1103 |
nvmem-cell-names = "speed_bin"; |
| 1104 |
|
| 1105 |
interconnects = <&bimc MASTER_OXILI &bimc SLAVE_EBI>; |
| 1106 |
interconnect-names = "gfx-mem"; |
| 1107 |
|
| 1108 |
operating-points-v2 = <&gpu_sdm630_opp_table>; |
| 1109 |
#cooling-cells = <2>; |
| 1110 |
|
| 1111 |
status = "disabled"; |
| 1112 |
|
| 1113 |
gpu_sdm630_opp_table: opp-table { |
| 1114 |
compatible = "operating-points-v2"; |
| 1115 |
opp-775000000 { |
| 1116 |
opp-hz = /bits/ 64 <775000000>; |
| 1117 |
opp-level = <RPM_SMD_LEVEL_TURBO>; |
| 1118 |
opp-peak-kBps = <5412000>; |
| 1119 |
opp-supported-hw = <0xa2>; |
| 1120 |
}; |
| 1121 |
opp-647000000 { |
| 1122 |
opp-hz = /bits/ 64 <647000000>; |
| 1123 |
opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; |
| 1124 |
opp-peak-kBps = <4068000>; |
| 1125 |
opp-supported-hw = <0xff>; |
| 1126 |
}; |
| 1127 |
opp-588000000 { |
| 1128 |
opp-hz = /bits/ 64 <588000000>; |
| 1129 |
opp-level = <RPM_SMD_LEVEL_NOM>; |
| 1130 |
opp-peak-kBps = <3072000>; |
| 1131 |
opp-supported-hw = <0xff>; |
| 1132 |
}; |
| 1133 |
opp-465000000 { |
| 1134 |
opp-hz = /bits/ 64 <465000000>; |
| 1135 |
opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; |
| 1136 |
opp-peak-kBps = <2724000>; |
| 1137 |
opp-supported-hw = <0xff>; |
| 1138 |
}; |
| 1139 |
opp-370000000 { |
| 1140 |
opp-hz = /bits/ 64 <370000000>; |
| 1141 |
opp-level = <RPM_SMD_LEVEL_SVS>; |
| 1142 |
opp-peak-kBps = <2188000>; |
| 1143 |
opp-supported-hw = <0xff>; |
| 1144 |
}; |
| 1145 |
opp-240000000 { |
| 1146 |
opp-hz = /bits/ 64 <240000000>; |
| 1147 |
opp-level = <RPM_SMD_LEVEL_LOW_SVS>; |
| 1148 |
opp-peak-kBps = <1648000>; |
| 1149 |
opp-supported-hw = <0xff>; |
| 1150 |
}; |
| 1151 |
opp-160000000 { |
| 1152 |
opp-hz = /bits/ 64 <160000000>; |
| 1153 |
opp-level = <RPM_SMD_LEVEL_MIN_SVS>; |
| 1154 |
opp-peak-kBps = <1200000>; |
| 1155 |
opp-supported-hw = <0xff>; |
| 1156 |
}; |
| 1157 |
}; |
| 1158 |
|
| 1159 |
adreno_gpu_zap: zap-shader { |
| 1160 |
memory-region = <&zap_shader_region>; |
| 1161 |
}; |
| 1162 |
}; |
| 1163 |
|
| 1164 |
kgsl_smmu: iommu@5040000 { |
| 1165 |
compatible = "qcom,sdm630-smmu-v2", |
| 1166 |
"qcom,adreno-smmu", "qcom,smmu-v2"; |
| 1167 |
reg = <0x05040000 0x10000>; |
| 1168 |
|
| 1169 |
/* |
| 1170 |
* GX GDSC parent is CX. We need to bring up CX for SMMU |
| 1171 |
* but we need both up for Adreno. On the other hand, we |
| 1172 |
* need to manage the GX rpmpd domain in the adreno driver. |
| 1173 |
* Enable CX/GX GDSCs here so that we can manage just the GX |
| 1174 |
* RPM Power Domain in the Adreno driver. |
| 1175 |
*/ |
| 1176 |
power-domains = <&gpucc GPU_GX_GDSC>; |
| 1177 |
clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, |
| 1178 |
<&gcc GCC_BIMC_GFX_CLK>, |
| 1179 |
<&gcc GCC_GPU_BIMC_GFX_CLK>; |
| 1180 |
clock-names = "iface", |
| 1181 |
"mem", |
| 1182 |
"mem_iface"; |
| 1183 |
#global-interrupts = <2>; |
| 1184 |
#iommu-cells = <1>; |
| 1185 |
|
| 1186 |
interrupts = |
| 1187 |
<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
| 1188 |
<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, |
| 1189 |
|
| 1190 |
<GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, |
| 1191 |
<GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, |
| 1192 |
<GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, |
| 1193 |
<GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, |
| 1194 |
<GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, |
| 1195 |
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, |
| 1196 |
<GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>, |
| 1197 |
<GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>; |
| 1198 |
}; |
| 1199 |
|
| 1200 |
gpucc: clock-controller@5065000 { |
| 1201 |
compatible = "qcom,gpucc-sdm630"; |
| 1202 |
#clock-cells = <1>; |
| 1203 |
#reset-cells = <1>; |
| 1204 |
#power-domain-cells = <1>; |
| 1205 |
reg = <0x05065000 0x9038>; |
| 1206 |
|
| 1207 |
clocks = <&xo_board>, |
| 1208 |
<&gcc GCC_GPU_GPLL0_CLK>, |
| 1209 |
<&gcc GCC_GPU_GPLL0_DIV_CLK>; |
| 1210 |
clock-names = "xo", |
| 1211 |
"gcc_gpu_gpll0_clk", |
| 1212 |
"gcc_gpu_gpll0_div_clk"; |
| 1213 |
}; |
| 1214 |
|
| 1215 |
lpass_smmu: iommu@5100000 { |
| 1216 |
compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; |
| 1217 |
reg = <0x05100000 0x40000>; |
| 1218 |
#iommu-cells = <1>; |
| 1219 |
|
| 1220 |
clocks = <&gcc GCC_HLOS1_VOTE_LPASS_ADSP_SMMU_CLK>; |
| 1221 |
clock-names = "bus"; |
| 1222 |
|
| 1223 |
power-domains = <&gcc HLOS1_VOTE_LPASS_ADSP_GDSC>; |
| 1224 |
|
| 1225 |
#global-interrupts = <2>; |
| 1226 |
interrupts = |
| 1227 |
<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
| 1228 |
<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, |
| 1229 |
|
| 1230 |
<GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, |
| 1231 |
<GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>, |
| 1232 |
<GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>, |
| 1233 |
<GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, |
| 1234 |
<GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, |
| 1235 |
<GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, |
| 1236 |
<GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, |
| 1237 |
<GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, |
| 1238 |
<GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, |
| 1239 |
<GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, |
| 1240 |
<GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, |
| 1241 |
<GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, |
| 1242 |
<GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, |
| 1243 |
<GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, |
| 1244 |
<GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>, |
| 1245 |
<GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>, |
| 1246 |
<GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>; |
| 1247 |
}; |
| 1248 |
|
| 1249 |
sram@290000 { |
| 1250 |
compatible = "qcom,rpm-stats"; |
| 1251 |
reg = <0x00290000 0x10000>; |
| 1252 |
}; |
| 1253 |
|
| 1254 |
spmi_bus: spmi@800f000 { |
| 1255 |
compatible = "qcom,spmi-pmic-arb"; |
| 1256 |
reg = <0x0800f000 0x1000>, |
| 1257 |
<0x08400000 0x1000000>, |
| 1258 |
<0x09400000 0x1000000>, |
| 1259 |
<0x0a400000 0x220000>, |
| 1260 |
<0x0800a000 0x3000>; |
| 1261 |
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; |
| 1262 |
interrupt-names = "periph_irq"; |
| 1263 |
interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>; |
| 1264 |
qcom,ee = <0>; |
| 1265 |
qcom,channel = <0>; |
| 1266 |
#address-cells = <2>; |
| 1267 |
#size-cells = <0>; |
| 1268 |
interrupt-controller; |
| 1269 |
#interrupt-cells = <4>; |
| 1270 |
}; |
| 1271 |
|
| 1272 |
usb3: usb@a8f8800 { |
| 1273 |
compatible = "qcom,sdm660-dwc3", "qcom,dwc3"; |
| 1274 |
reg = <0x0a8f8800 0x400>; |
| 1275 |
status = "disabled"; |
| 1276 |
#address-cells = <1>; |
| 1277 |
#size-cells = <1>; |
| 1278 |
ranges; |
| 1279 |
|
| 1280 |
clocks = <&gcc GCC_CFG_NOC_USB3_AXI_CLK>, |
| 1281 |
<&gcc GCC_USB30_MASTER_CLK>, |
| 1282 |
<&gcc GCC_AGGRE2_USB3_AXI_CLK>, |
| 1283 |
<&gcc GCC_USB30_SLEEP_CLK>, |
| 1284 |
<&gcc GCC_USB30_MOCK_UTMI_CLK>; |
| 1285 |
clock-names = "cfg_noc", |
| 1286 |
"core", |
| 1287 |
"iface", |
| 1288 |
"sleep", |
| 1289 |
"mock_utmi"; |
| 1290 |
|
| 1291 |
assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, |
| 1292 |
<&gcc GCC_USB30_MASTER_CLK>; |
| 1293 |
assigned-clock-rates = <19200000>, <120000000>; |
| 1294 |
|
| 1295 |
interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>, |
| 1296 |
<GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>, |
| 1297 |
<GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, |
| 1298 |
<GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; |
| 1299 |
interrupt-names = "pwr_event", |
| 1300 |
"qusb2_phy", |
| 1301 |
"hs_phy_irq", |
| 1302 |
"ss_phy_irq"; |
| 1303 |
|
| 1304 |
power-domains = <&gcc USB_30_GDSC>; |
| 1305 |
|
| 1306 |
resets = <&gcc GCC_USB_30_BCR>; |
| 1307 |
|
| 1308 |
usb3_dwc3: usb@a800000 { |
| 1309 |
compatible = "snps,dwc3"; |
| 1310 |
reg = <0x0a800000 0xc8d0>; |
| 1311 |
interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; |
| 1312 |
snps,dis_u2_susphy_quirk; |
| 1313 |
snps,dis_enblslpm_quirk; |
| 1314 |
snps,parkmode-disable-ss-quirk; |
| 1315 |
snps,dis-u1-entry-quirk; |
| 1316 |
snps,dis-u2-entry-quirk; |
| 1317 |
|
| 1318 |
phys = <&qusb2phy0>, <&usb3_qmpphy>; |
| 1319 |
phy-names = "usb2-phy", "usb3-phy"; |
| 1320 |
snps,hird-threshold = /bits/ 8 <0>; |
| 1321 |
}; |
| 1322 |
}; |
| 1323 |
|
| 1324 |
usb3_qmpphy: phy@c010000 { |
| 1325 |
compatible = "qcom,sdm660-qmp-usb3-phy"; |
| 1326 |
reg = <0x0c010000 0x1000>; |
| 1327 |
|
| 1328 |
clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, |
| 1329 |
<&gcc GCC_USB3_CLKREF_CLK>, |
| 1330 |
<&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| 1331 |
<&gcc GCC_USB3_PHY_PIPE_CLK>; |
| 1332 |
clock-names = "aux", |
| 1333 |
"ref", |
| 1334 |
"cfg_ahb", |
| 1335 |
"pipe"; |
| 1336 |
clock-output-names = "usb3_phy_pipe_clk_src"; |
| 1337 |
#clock-cells = <0>; |
| 1338 |
#phy-cells = <0>; |
| 1339 |
|
| 1340 |
resets = <&gcc GCC_USB3_PHY_BCR>, |
| 1341 |
<&gcc GCC_USB3PHY_PHY_BCR>; |
| 1342 |
reset-names = "phy", |
| 1343 |
"phy_phy"; |
| 1344 |
|
| 1345 |
qcom,tcsr-reg = <&tcsr_regs_1 0x6b244>; |
| 1346 |
|
| 1347 |
status = "disabled"; |
| 1348 |
}; |
| 1349 |
|
| 1350 |
qusb2phy0: phy@c012000 { |
| 1351 |
compatible = "qcom,sdm660-qusb2-phy"; |
| 1352 |
reg = <0x0c012000 0x180>; |
| 1353 |
#phy-cells = <0>; |
| 1354 |
|
| 1355 |
clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| 1356 |
<&gcc GCC_RX0_USB2_CLKREF_CLK>; |
| 1357 |
clock-names = "cfg_ahb", "ref"; |
| 1358 |
|
| 1359 |
resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; |
| 1360 |
nvmem-cells = <&qusb2_hstx_trim>; |
| 1361 |
status = "disabled"; |
| 1362 |
}; |
| 1363 |
|
| 1364 |
qusb2phy1: phy@c014000 { |
| 1365 |
compatible = "qcom,sdm660-qusb2-phy"; |
| 1366 |
reg = <0x0c014000 0x180>; |
| 1367 |
#phy-cells = <0>; |
| 1368 |
|
| 1369 |
clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, |
| 1370 |
<&gcc GCC_RX1_USB2_CLKREF_CLK>; |
| 1371 |
clock-names = "cfg_ahb", "ref"; |
| 1372 |
|
| 1373 |
resets = <&gcc GCC_QUSB2PHY_SEC_BCR>; |
| 1374 |
nvmem-cells = <&qusb2_hstx_trim>; |
| 1375 |
status = "disabled"; |
| 1376 |
}; |
| 1377 |
|
| 1378 |
sdhc_2: mmc@c084000 { |
| 1379 |
compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; |
| 1380 |
reg = <0x0c084000 0x1000>; |
| 1381 |
reg-names = "hc"; |
| 1382 |
|
| 1383 |
interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, |
| 1384 |
<GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; |
| 1385 |
interrupt-names = "hc_irq", "pwr_irq"; |
| 1386 |
|
| 1387 |
bus-width = <4>; |
| 1388 |
|
| 1389 |
clocks = <&gcc GCC_SDCC2_AHB_CLK>, |
| 1390 |
<&gcc GCC_SDCC2_APPS_CLK>, |
| 1391 |
<&xo_board>; |
| 1392 |
clock-names = "iface", "core", "xo"; |
| 1393 |
|
| 1394 |
resets = <&gcc GCC_SDCC2_BCR>; |
| 1395 |
|
| 1396 |
interconnects = <&a2noc 3 &a2noc 10>, |
| 1397 |
<&gnoc 0 &cnoc 28>; |
| 1398 |
interconnect-names = "sdhc-ddr","cpu-sdhc"; |
| 1399 |
operating-points-v2 = <&sdhc2_opp_table>; |
| 1400 |
|
| 1401 |
pinctrl-names = "default", "sleep"; |
| 1402 |
pinctrl-0 = <&sdc2_state_on>; |
| 1403 |
pinctrl-1 = <&sdc2_state_off>; |
| 1404 |
power-domains = <&rpmpd RPMPD_VDDCX>; |
| 1405 |
|
| 1406 |
status = "disabled"; |
| 1407 |
|
| 1408 |
sdhc2_opp_table: opp-table { |
| 1409 |
compatible = "operating-points-v2"; |
| 1410 |
|
| 1411 |
opp-50000000 { |
| 1412 |
opp-hz = /bits/ 64 <50000000>; |
| 1413 |
required-opps = <&rpmpd_opp_low_svs>; |
| 1414 |
opp-peak-kBps = <200000 140000>; |
| 1415 |
opp-avg-kBps = <130718 133320>; |
| 1416 |
}; |
| 1417 |
opp-100000000 { |
| 1418 |
opp-hz = /bits/ 64 <100000000>; |
| 1419 |
required-opps = <&rpmpd_opp_svs>; |
| 1420 |
opp-peak-kBps = <250000 160000>; |
| 1421 |
opp-avg-kBps = <196078 150000>; |
| 1422 |
}; |
| 1423 |
opp-200000000 { |
| 1424 |
opp-hz = /bits/ 64 <200000000>; |
| 1425 |
required-opps = <&rpmpd_opp_nom>; |
| 1426 |
opp-peak-kBps = <4096000 4096000>; |
| 1427 |
opp-avg-kBps = <1338562 1338562>; |
| 1428 |
}; |
| 1429 |
}; |
| 1430 |
}; |
| 1431 |
|
| 1432 |
sdhc_1: mmc@c0c4000 { |
| 1433 |
compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; |
| 1434 |
reg = <0x0c0c4000 0x1000>, |
| 1435 |
<0x0c0c5000 0x1000>, |
| 1436 |
<0x0c0c8000 0x8000>; |
| 1437 |
reg-names = "hc", "cqhci", "ice"; |
| 1438 |
|
| 1439 |
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, |
| 1440 |
<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; |
| 1441 |
interrupt-names = "hc_irq", "pwr_irq"; |
| 1442 |
|
| 1443 |
clocks = <&gcc GCC_SDCC1_AHB_CLK>, |
| 1444 |
<&gcc GCC_SDCC1_APPS_CLK>, |
| 1445 |
<&xo_board>, |
| 1446 |
<&gcc GCC_SDCC1_ICE_CORE_CLK>; |
| 1447 |
clock-names = "iface", "core", "xo", "ice"; |
| 1448 |
|
| 1449 |
resets = <&gcc GCC_SDCC1_BCR>; |
| 1450 |
|
| 1451 |
interconnects = <&a2noc 2 &a2noc 10>, |
| 1452 |
<&gnoc 0 &cnoc 27>; |
| 1453 |
interconnect-names = "sdhc-ddr", "cpu-sdhc"; |
| 1454 |
operating-points-v2 = <&sdhc1_opp_table>; |
| 1455 |
pinctrl-names = "default", "sleep"; |
| 1456 |
pinctrl-0 = <&sdc1_state_on>; |
| 1457 |
pinctrl-1 = <&sdc1_state_off>; |
| 1458 |
power-domains = <&rpmpd RPMPD_VDDCX>; |
| 1459 |
|
| 1460 |
bus-width = <8>; |
| 1461 |
non-removable; |
| 1462 |
|
| 1463 |
status = "disabled"; |
| 1464 |
|
| 1465 |
sdhc1_opp_table: opp-table { |
| 1466 |
compatible = "operating-points-v2"; |
| 1467 |
|
| 1468 |
opp-50000000 { |
| 1469 |
opp-hz = /bits/ 64 <50000000>; |
| 1470 |
required-opps = <&rpmpd_opp_low_svs>; |
| 1471 |
opp-peak-kBps = <200000 140000>; |
| 1472 |
opp-avg-kBps = <130718 133320>; |
| 1473 |
}; |
| 1474 |
opp-100000000 { |
| 1475 |
opp-hz = /bits/ 64 <100000000>; |
| 1476 |
required-opps = <&rpmpd_opp_svs>; |
| 1477 |
opp-peak-kBps = <250000 160000>; |
| 1478 |
opp-avg-kBps = <196078 150000>; |
| 1479 |
}; |
| 1480 |
opp-384000000 { |
| 1481 |
opp-hz = /bits/ 64 <384000000>; |
| 1482 |
required-opps = <&rpmpd_opp_nom>; |
| 1483 |
opp-peak-kBps = <4096000 4096000>; |
| 1484 |
opp-avg-kBps = <1338562 1338562>; |
| 1485 |
}; |
| 1486 |
}; |
| 1487 |
}; |
| 1488 |
|
| 1489 |
usb2: usb@c2f8800 { |
| 1490 |
compatible = "qcom,sdm660-dwc3", "qcom,dwc3"; |
| 1491 |
reg = <0x0c2f8800 0x400>; |
| 1492 |
status = "disabled"; |
| 1493 |
#address-cells = <1>; |
| 1494 |
#size-cells = <1>; |
| 1495 |
ranges; |
| 1496 |
|
| 1497 |
clocks = <&gcc GCC_CFG_NOC_USB2_AXI_CLK>, |
| 1498 |
<&gcc GCC_USB20_MASTER_CLK>, |
| 1499 |
<&gcc GCC_USB20_SLEEP_CLK>, |
| 1500 |
<&gcc GCC_USB20_MOCK_UTMI_CLK>; |
| 1501 |
clock-names = "cfg_noc", "core", |
| 1502 |
"sleep", "mock_utmi"; |
| 1503 |
|
| 1504 |
assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, |
| 1505 |
<&gcc GCC_USB20_MASTER_CLK>; |
| 1506 |
assigned-clock-rates = <19200000>, <60000000>; |
| 1507 |
|
| 1508 |
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, |
| 1509 |
<GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>, |
| 1510 |
<GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; |
| 1511 |
interrupt-names = "pwr_event", |
| 1512 |
"qusb2_phy", |
| 1513 |
"hs_phy_irq"; |
| 1514 |
|
| 1515 |
qcom,select-utmi-as-pipe-clk; |
| 1516 |
|
| 1517 |
resets = <&gcc GCC_USB_20_BCR>; |
| 1518 |
|
| 1519 |
usb2_dwc3: usb@c200000 { |
| 1520 |
compatible = "snps,dwc3"; |
| 1521 |
reg = <0x0c200000 0xc8d0>; |
| 1522 |
interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; |
| 1523 |
snps,dis_u2_susphy_quirk; |
| 1524 |
snps,dis_enblslpm_quirk; |
| 1525 |
snps,dis-u1-entry-quirk; |
| 1526 |
snps,dis-u2-entry-quirk; |
| 1527 |
|
| 1528 |
/* This is the HS-only host */ |
| 1529 |
maximum-speed = "high-speed"; |
| 1530 |
phys = <&qusb2phy1>; |
| 1531 |
phy-names = "usb2-phy"; |
| 1532 |
snps,hird-threshold = /bits/ 8 <0>; |
| 1533 |
}; |
| 1534 |
}; |
| 1535 |
|
| 1536 |
mmcc: clock-controller@c8c0000 { |
| 1537 |
compatible = "qcom,mmcc-sdm630"; |
| 1538 |
reg = <0x0c8c0000 0x40000>; |
| 1539 |
#clock-cells = <1>; |
| 1540 |
#reset-cells = <1>; |
| 1541 |
#power-domain-cells = <1>; |
| 1542 |
clock-names = "xo", |
| 1543 |
"sleep_clk", |
| 1544 |
"gpll0", |
| 1545 |
"gpll0_div", |
| 1546 |
"dsi0pll", |
| 1547 |
"dsi0pllbyte", |
| 1548 |
"dsi1pll", |
| 1549 |
"dsi1pllbyte", |
| 1550 |
"dp_link_2x_clk_divsel_five", |
| 1551 |
"dp_vco_divided_clk_src_mux"; |
| 1552 |
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, |
| 1553 |
<&sleep_clk>, |
| 1554 |
<&gcc GCC_MMSS_GPLL0_CLK>, |
| 1555 |
<&gcc GCC_MMSS_GPLL0_DIV_CLK>, |
| 1556 |
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>, |
| 1557 |
<&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, |
| 1558 |
<0>, |
| 1559 |
<0>, |
| 1560 |
<0>, |
| 1561 |
<0>; |
| 1562 |
}; |
| 1563 |
|
| 1564 |
mdss: display-subsystem@c900000 { |
| 1565 |
compatible = "qcom,mdss"; |
| 1566 |
reg = <0x0c900000 0x1000>, |
| 1567 |
<0x0c9b0000 0x1040>; |
| 1568 |
reg-names = "mdss_phys", "vbif_phys"; |
| 1569 |
|
| 1570 |
power-domains = <&mmcc MDSS_GDSC>; |
| 1571 |
resets = <&mmcc MDSS_BCR>; |
| 1572 |
|
| 1573 |
clocks = <&mmcc MDSS_AHB_CLK>, |
| 1574 |
<&mmcc MDSS_AXI_CLK>, |
| 1575 |
<&mmcc MDSS_VSYNC_CLK>, |
| 1576 |
<&mmcc MDSS_MDP_CLK>; |
| 1577 |
clock-names = "iface", |
| 1578 |
"bus", |
| 1579 |
"vsync", |
| 1580 |
"core"; |
| 1581 |
|
| 1582 |
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; |
| 1583 |
|
| 1584 |
interrupt-controller; |
| 1585 |
#interrupt-cells = <1>; |
| 1586 |
|
| 1587 |
#address-cells = <1>; |
| 1588 |
#size-cells = <1>; |
| 1589 |
ranges; |
| 1590 |
status = "disabled"; |
| 1591 |
|
| 1592 |
mdp: display-controller@c901000 { |
| 1593 |
compatible = "qcom,sdm630-mdp5", "qcom,mdp5"; |
| 1594 |
reg = <0x0c901000 0x89000>; |
| 1595 |
reg-names = "mdp_phys"; |
| 1596 |
|
| 1597 |
interrupt-parent = <&mdss>; |
| 1598 |
interrupts = <0>; |
| 1599 |
|
| 1600 |
assigned-clocks = <&mmcc MDSS_MDP_CLK>, |
| 1601 |
<&mmcc MDSS_VSYNC_CLK>; |
| 1602 |
assigned-clock-rates = <300000000>, |
| 1603 |
<19200000>; |
| 1604 |
clocks = <&mmcc MDSS_AHB_CLK>, |
| 1605 |
<&mmcc MDSS_AXI_CLK>, |
| 1606 |
<&mmcc MDSS_MDP_CLK>, |
| 1607 |
<&mmcc MDSS_VSYNC_CLK>; |
| 1608 |
clock-names = "iface", |
| 1609 |
"bus", |
| 1610 |
"core", |
| 1611 |
"vsync"; |
| 1612 |
|
| 1613 |
interconnects = <&mnoc 2 &bimc 5>, |
| 1614 |
<&mnoc 3 &bimc 5>, |
| 1615 |
<&gnoc 0 &mnoc 17>; |
| 1616 |
interconnect-names = "mdp0-mem", |
| 1617 |
"mdp1-mem", |
| 1618 |
"rotator-mem"; |
| 1619 |
iommus = <&mmss_smmu 0>; |
| 1620 |
operating-points-v2 = <&mdp_opp_table>; |
| 1621 |
power-domains = <&rpmpd RPMPD_VDDCX>; |
| 1622 |
|
| 1623 |
ports { |
| 1624 |
#address-cells = <1>; |
| 1625 |
#size-cells = <0>; |
| 1626 |
|
| 1627 |
port@0 { |
| 1628 |
reg = <0>; |
| 1629 |
mdp5_intf1_out: endpoint { |
| 1630 |
remote-endpoint = <&mdss_dsi0_in>; |
| 1631 |
}; |
| 1632 |
}; |
| 1633 |
}; |
| 1634 |
|
| 1635 |
mdp_opp_table: opp-table { |
| 1636 |
compatible = "operating-points-v2"; |
| 1637 |
|
| 1638 |
opp-150000000 { |
| 1639 |
opp-hz = /bits/ 64 <150000000>; |
| 1640 |
opp-peak-kBps = <320000 320000 76800>; |
| 1641 |
required-opps = <&rpmpd_opp_low_svs>; |
| 1642 |
}; |
| 1643 |
opp-275000000 { |
| 1644 |
opp-hz = /bits/ 64 <275000000>; |
| 1645 |
opp-peak-kBps = <6400000 6400000 160000>; |
| 1646 |
required-opps = <&rpmpd_opp_svs>; |
| 1647 |
}; |
| 1648 |
opp-300000000 { |
| 1649 |
opp-hz = /bits/ 64 <300000000>; |
| 1650 |
opp-peak-kBps = <6400000 6400000 190000>; |
| 1651 |
required-opps = <&rpmpd_opp_svs_plus>; |
| 1652 |
}; |
| 1653 |
opp-330000000 { |
| 1654 |
opp-hz = /bits/ 64 <330000000>; |
| 1655 |
opp-peak-kBps = <6400000 6400000 240000>; |
| 1656 |
required-opps = <&rpmpd_opp_nom>; |
| 1657 |
}; |
| 1658 |
opp-412500000 { |
| 1659 |
opp-hz = /bits/ 64 <412500000>; |
| 1660 |
opp-peak-kBps = <6400000 6400000 320000>; |
| 1661 |
required-opps = <&rpmpd_opp_turbo>; |
| 1662 |
}; |
| 1663 |
}; |
| 1664 |
}; |
| 1665 |
|
| 1666 |
mdss_dsi0: dsi@c994000 { |
| 1667 |
compatible = "qcom,sdm660-dsi-ctrl", |
| 1668 |
"qcom,mdss-dsi-ctrl"; |
| 1669 |
reg = <0x0c994000 0x400>; |
| 1670 |
reg-names = "dsi_ctrl"; |
| 1671 |
|
| 1672 |
operating-points-v2 = <&dsi_opp_table>; |
| 1673 |
power-domains = <&rpmpd RPMPD_VDDCX>; |
| 1674 |
|
| 1675 |
interrupt-parent = <&mdss>; |
| 1676 |
interrupts = <4>; |
| 1677 |
|
| 1678 |
assigned-clocks = <&mmcc BYTE0_CLK_SRC>, |
| 1679 |
<&mmcc PCLK0_CLK_SRC>; |
| 1680 |
assigned-clock-parents = <&mdss_dsi0_phy DSI_BYTE_PLL_CLK>, |
| 1681 |
<&mdss_dsi0_phy DSI_PIXEL_PLL_CLK>; |
| 1682 |
|
| 1683 |
clocks = <&mmcc MDSS_MDP_CLK>, |
| 1684 |
<&mmcc MDSS_BYTE0_CLK>, |
| 1685 |
<&mmcc MDSS_BYTE0_INTF_CLK>, |
| 1686 |
<&mmcc MNOC_AHB_CLK>, |
| 1687 |
<&mmcc MDSS_AHB_CLK>, |
| 1688 |
<&mmcc MDSS_AXI_CLK>, |
| 1689 |
<&mmcc MISC_AHB_CLK>, |
| 1690 |
<&mmcc MDSS_PCLK0_CLK>, |
| 1691 |
<&mmcc MDSS_ESC0_CLK>; |
| 1692 |
clock-names = "mdp_core", |
| 1693 |
"byte", |
| 1694 |
"byte_intf", |
| 1695 |
"mnoc", |
| 1696 |
"iface", |
| 1697 |
"bus", |
| 1698 |
"core_mmss", |
| 1699 |
"pixel", |
| 1700 |
"core"; |
| 1701 |
|
| 1702 |
phys = <&mdss_dsi0_phy>; |
| 1703 |
|
| 1704 |
status = "disabled"; |
| 1705 |
|
| 1706 |
ports { |
| 1707 |
#address-cells = <1>; |
| 1708 |
#size-cells = <0>; |
| 1709 |
|
| 1710 |
port@0 { |
| 1711 |
reg = <0>; |
| 1712 |
mdss_dsi0_in: endpoint { |
| 1713 |
remote-endpoint = <&mdp5_intf1_out>; |
| 1714 |
}; |
| 1715 |
}; |
| 1716 |
|
| 1717 |
port@1 { |
| 1718 |
reg = <1>; |
| 1719 |
mdss_dsi0_out: endpoint { |
| 1720 |
}; |
| 1721 |
}; |
| 1722 |
}; |
| 1723 |
}; |
| 1724 |
|
| 1725 |
mdss_dsi0_phy: phy@c994400 { |
| 1726 |
compatible = "qcom,dsi-phy-14nm-660"; |
| 1727 |
reg = <0x0c994400 0x100>, |
| 1728 |
<0x0c994500 0x300>, |
| 1729 |
<0x0c994800 0x188>; |
| 1730 |
reg-names = "dsi_phy", |
| 1731 |
"dsi_phy_lane", |
| 1732 |
"dsi_pll"; |
| 1733 |
|
| 1734 |
#clock-cells = <1>; |
| 1735 |
#phy-cells = <0>; |
| 1736 |
|
| 1737 |
clocks = <&mmcc MDSS_AHB_CLK>, <&xo_board>; |
| 1738 |
clock-names = "iface", "ref"; |
| 1739 |
status = "disabled"; |
| 1740 |
}; |
| 1741 |
}; |
| 1742 |
|
| 1743 |
blsp1_dma: dma-controller@c144000 { |
| 1744 |
compatible = "qcom,bam-v1.7.0"; |
| 1745 |
reg = <0x0c144000 0x1f000>; |
| 1746 |
interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; |
| 1747 |
clocks = <&gcc GCC_BLSP1_AHB_CLK>; |
| 1748 |
clock-names = "bam_clk"; |
| 1749 |
#dma-cells = <1>; |
| 1750 |
qcom,ee = <0>; |
| 1751 |
qcom,controlled-remotely; |
| 1752 |
num-channels = <18>; |
| 1753 |
qcom,num-ees = <4>; |
| 1754 |
}; |
| 1755 |
|
| 1756 |
blsp1_uart1: serial@c16f000 { |
| 1757 |
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 1758 |
reg = <0x0c16f000 0x200>; |
| 1759 |
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
| 1760 |
clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, |
| 1761 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1762 |
clock-names = "core", "iface"; |
| 1763 |
dmas = <&blsp1_dma 0>, <&blsp1_dma 1>; |
| 1764 |
dma-names = "tx", "rx"; |
| 1765 |
pinctrl-names = "default", "sleep"; |
| 1766 |
pinctrl-0 = <&blsp1_uart1_default>; |
| 1767 |
pinctrl-1 = <&blsp1_uart1_sleep>; |
| 1768 |
status = "disabled"; |
| 1769 |
}; |
| 1770 |
|
| 1771 |
blsp1_uart2: serial@c170000 { |
| 1772 |
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 1773 |
reg = <0x0c170000 0x1000>; |
| 1774 |
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
| 1775 |
clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, |
| 1776 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1777 |
clock-names = "core", "iface"; |
| 1778 |
dmas = <&blsp1_dma 2>, <&blsp1_dma 3>; |
| 1779 |
dma-names = "tx", "rx"; |
| 1780 |
pinctrl-names = "default"; |
| 1781 |
pinctrl-0 = <&blsp1_uart2_default>; |
| 1782 |
status = "disabled"; |
| 1783 |
}; |
| 1784 |
|
| 1785 |
blsp_i2c1: i2c@c175000 { |
| 1786 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1787 |
reg = <0x0c175000 0x600>; |
| 1788 |
interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; |
| 1789 |
|
| 1790 |
clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, |
| 1791 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1792 |
clock-names = "core", "iface"; |
| 1793 |
clock-frequency = <400000>; |
| 1794 |
dmas = <&blsp1_dma 4>, <&blsp1_dma 5>; |
| 1795 |
dma-names = "tx", "rx"; |
| 1796 |
|
| 1797 |
pinctrl-names = "default", "sleep"; |
| 1798 |
pinctrl-0 = <&i2c1_default>; |
| 1799 |
pinctrl-1 = <&i2c1_sleep>; |
| 1800 |
#address-cells = <1>; |
| 1801 |
#size-cells = <0>; |
| 1802 |
status = "disabled"; |
| 1803 |
}; |
| 1804 |
|
| 1805 |
blsp_i2c2: i2c@c176000 { |
| 1806 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1807 |
reg = <0x0c176000 0x600>; |
| 1808 |
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; |
| 1809 |
|
| 1810 |
clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, |
| 1811 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1812 |
clock-names = "core", "iface"; |
| 1813 |
clock-frequency = <400000>; |
| 1814 |
dmas = <&blsp1_dma 6>, <&blsp1_dma 7>; |
| 1815 |
dma-names = "tx", "rx"; |
| 1816 |
|
| 1817 |
pinctrl-names = "default", "sleep"; |
| 1818 |
pinctrl-0 = <&i2c2_default>; |
| 1819 |
pinctrl-1 = <&i2c2_sleep>; |
| 1820 |
#address-cells = <1>; |
| 1821 |
#size-cells = <0>; |
| 1822 |
status = "disabled"; |
| 1823 |
}; |
| 1824 |
|
| 1825 |
blsp_i2c3: i2c@c177000 { |
| 1826 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1827 |
reg = <0x0c177000 0x600>; |
| 1828 |
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; |
| 1829 |
|
| 1830 |
clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, |
| 1831 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1832 |
clock-names = "core", "iface"; |
| 1833 |
clock-frequency = <400000>; |
| 1834 |
dmas = <&blsp1_dma 8>, <&blsp1_dma 9>; |
| 1835 |
dma-names = "tx", "rx"; |
| 1836 |
|
| 1837 |
pinctrl-names = "default", "sleep"; |
| 1838 |
pinctrl-0 = <&i2c3_default>; |
| 1839 |
pinctrl-1 = <&i2c3_sleep>; |
| 1840 |
#address-cells = <1>; |
| 1841 |
#size-cells = <0>; |
| 1842 |
status = "disabled"; |
| 1843 |
}; |
| 1844 |
|
| 1845 |
blsp_i2c4: i2c@c178000 { |
| 1846 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1847 |
reg = <0x0c178000 0x600>; |
| 1848 |
interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; |
| 1849 |
|
| 1850 |
clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, |
| 1851 |
<&gcc GCC_BLSP1_AHB_CLK>; |
| 1852 |
clock-names = "core", "iface"; |
| 1853 |
clock-frequency = <400000>; |
| 1854 |
dmas = <&blsp1_dma 10>, <&blsp1_dma 11>; |
| 1855 |
dma-names = "tx", "rx"; |
| 1856 |
|
| 1857 |
pinctrl-names = "default", "sleep"; |
| 1858 |
pinctrl-0 = <&i2c4_default>; |
| 1859 |
pinctrl-1 = <&i2c4_sleep>; |
| 1860 |
#address-cells = <1>; |
| 1861 |
#size-cells = <0>; |
| 1862 |
status = "disabled"; |
| 1863 |
}; |
| 1864 |
|
| 1865 |
blsp2_dma: dma-controller@c184000 { |
| 1866 |
compatible = "qcom,bam-v1.7.0"; |
| 1867 |
reg = <0x0c184000 0x1f000>; |
| 1868 |
interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; |
| 1869 |
clocks = <&gcc GCC_BLSP2_AHB_CLK>; |
| 1870 |
clock-names = "bam_clk"; |
| 1871 |
#dma-cells = <1>; |
| 1872 |
qcom,ee = <0>; |
| 1873 |
qcom,controlled-remotely; |
| 1874 |
num-channels = <18>; |
| 1875 |
qcom,num-ees = <4>; |
| 1876 |
}; |
| 1877 |
|
| 1878 |
blsp2_uart1: serial@c1af000 { |
| 1879 |
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; |
| 1880 |
reg = <0x0c1af000 0x200>; |
| 1881 |
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 1882 |
clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, |
| 1883 |
<&gcc GCC_BLSP2_AHB_CLK>; |
| 1884 |
clock-names = "core", "iface"; |
| 1885 |
dmas = <&blsp2_dma 0>, <&blsp2_dma 1>; |
| 1886 |
dma-names = "tx", "rx"; |
| 1887 |
pinctrl-names = "default", "sleep"; |
| 1888 |
pinctrl-0 = <&blsp2_uart1_default>; |
| 1889 |
pinctrl-1 = <&blsp2_uart1_sleep>; |
| 1890 |
status = "disabled"; |
| 1891 |
}; |
| 1892 |
|
| 1893 |
blsp_i2c5: i2c@c1b5000 { |
| 1894 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1895 |
reg = <0x0c1b5000 0x600>; |
| 1896 |
interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; |
| 1897 |
|
| 1898 |
clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>, |
| 1899 |
<&gcc GCC_BLSP2_AHB_CLK>; |
| 1900 |
clock-names = "core", "iface"; |
| 1901 |
clock-frequency = <400000>; |
| 1902 |
dmas = <&blsp2_dma 4>, <&blsp2_dma 5>; |
| 1903 |
dma-names = "tx", "rx"; |
| 1904 |
|
| 1905 |
pinctrl-names = "default", "sleep"; |
| 1906 |
pinctrl-0 = <&i2c5_default>; |
| 1907 |
pinctrl-1 = <&i2c5_sleep>; |
| 1908 |
#address-cells = <1>; |
| 1909 |
#size-cells = <0>; |
| 1910 |
status = "disabled"; |
| 1911 |
}; |
| 1912 |
|
| 1913 |
blsp_i2c6: i2c@c1b6000 { |
| 1914 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1915 |
reg = <0x0c1b6000 0x600>; |
| 1916 |
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; |
| 1917 |
|
| 1918 |
clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, |
| 1919 |
<&gcc GCC_BLSP2_AHB_CLK>; |
| 1920 |
clock-names = "core", "iface"; |
| 1921 |
clock-frequency = <400000>; |
| 1922 |
dmas = <&blsp2_dma 6>, <&blsp2_dma 7>; |
| 1923 |
dma-names = "tx", "rx"; |
| 1924 |
|
| 1925 |
pinctrl-names = "default", "sleep"; |
| 1926 |
pinctrl-0 = <&i2c6_default>; |
| 1927 |
pinctrl-1 = <&i2c6_sleep>; |
| 1928 |
#address-cells = <1>; |
| 1929 |
#size-cells = <0>; |
| 1930 |
status = "disabled"; |
| 1931 |
}; |
| 1932 |
|
| 1933 |
blsp_i2c7: i2c@c1b7000 { |
| 1934 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1935 |
reg = <0x0c1b7000 0x600>; |
| 1936 |
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
| 1937 |
|
| 1938 |
clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>, |
| 1939 |
<&gcc GCC_BLSP2_AHB_CLK>; |
| 1940 |
clock-names = "core", "iface"; |
| 1941 |
clock-frequency = <400000>; |
| 1942 |
dmas = <&blsp2_dma 8>, <&blsp2_dma 9>; |
| 1943 |
dma-names = "tx", "rx"; |
| 1944 |
|
| 1945 |
pinctrl-names = "default", "sleep"; |
| 1946 |
pinctrl-0 = <&i2c7_default>; |
| 1947 |
pinctrl-1 = <&i2c7_sleep>; |
| 1948 |
#address-cells = <1>; |
| 1949 |
#size-cells = <0>; |
| 1950 |
status = "disabled"; |
| 1951 |
}; |
| 1952 |
|
| 1953 |
blsp_i2c8: i2c@c1b8000 { |
| 1954 |
compatible = "qcom,i2c-qup-v2.2.1"; |
| 1955 |
reg = <0x0c1b8000 0x600>; |
| 1956 |
interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; |
| 1957 |
|
| 1958 |
clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, |
| 1959 |
<&gcc GCC_BLSP2_AHB_CLK>; |
| 1960 |
clock-names = "core", "iface"; |
| 1961 |
clock-frequency = <400000>; |
| 1962 |
dmas = <&blsp2_dma 10>, <&blsp2_dma 11>; |
| 1963 |
dma-names = "tx", "rx"; |
| 1964 |
|
| 1965 |
pinctrl-names = "default", "sleep"; |
| 1966 |
pinctrl-0 = <&i2c8_default>; |
| 1967 |
pinctrl-1 = <&i2c8_sleep>; |
| 1968 |
#address-cells = <1>; |
| 1969 |
#size-cells = <0>; |
| 1970 |
status = "disabled"; |
| 1971 |
}; |
| 1972 |
|
| 1973 |
sram@146bf000 { |
| 1974 |
compatible = "qcom,sdm630-imem", "syscon", "simple-mfd"; |
| 1975 |
reg = <0x146bf000 0x1000>; |
| 1976 |
|
| 1977 |
#address-cells = <1>; |
| 1978 |
#size-cells = <1>; |
| 1979 |
|
| 1980 |
ranges = <0 0x146bf000 0x1000>; |
| 1981 |
|
| 1982 |
pil-reloc@94c { |
| 1983 |
compatible = "qcom,pil-reloc-info"; |
| 1984 |
reg = <0x94c 0xc8>; |
| 1985 |
}; |
| 1986 |
}; |
| 1987 |
|
| 1988 |
camss: camss@ca00020 { |
| 1989 |
compatible = "qcom,sdm660-camss"; |
| 1990 |
reg = <0x0ca00020 0x10>, |
| 1991 |
<0x0ca30000 0x100>, |
| 1992 |
<0x0ca30400 0x100>, |
| 1993 |
<0x0ca30800 0x100>, |
| 1994 |
<0x0ca30c00 0x100>, |
| 1995 |
<0x0c824000 0x1000>, |
| 1996 |
<0x0ca00120 0x4>, |
| 1997 |
<0x0c825000 0x1000>, |
| 1998 |
<0x0ca00124 0x4>, |
| 1999 |
<0x0c826000 0x1000>, |
| 2000 |
<0x0ca00128 0x4>, |
| 2001 |
<0x0ca31000 0x500>, |
| 2002 |
<0x0ca10000 0x1000>, |
| 2003 |
<0x0ca14000 0x1000>; |
| 2004 |
reg-names = "csi_clk_mux", |
| 2005 |
"csid0", |
| 2006 |
"csid1", |
| 2007 |
"csid2", |
| 2008 |
"csid3", |
| 2009 |
"csiphy0", |
| 2010 |
"csiphy0_clk_mux", |
| 2011 |
"csiphy1", |
| 2012 |
"csiphy1_clk_mux", |
| 2013 |
"csiphy2", |
| 2014 |
"csiphy2_clk_mux", |
| 2015 |
"ispif", |
| 2016 |
"vfe0", |
| 2017 |
"vfe1"; |
| 2018 |
interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>, |
| 2019 |
<GIC_SPI 297 IRQ_TYPE_EDGE_RISING>, |
| 2020 |
<GIC_SPI 298 IRQ_TYPE_EDGE_RISING>, |
| 2021 |
<GIC_SPI 299 IRQ_TYPE_EDGE_RISING>, |
| 2022 |
<GIC_SPI 78 IRQ_TYPE_EDGE_RISING>, |
| 2023 |
<GIC_SPI 79 IRQ_TYPE_EDGE_RISING>, |
| 2024 |
<GIC_SPI 80 IRQ_TYPE_EDGE_RISING>, |
| 2025 |
<GIC_SPI 309 IRQ_TYPE_EDGE_RISING>, |
| 2026 |
<GIC_SPI 314 IRQ_TYPE_EDGE_RISING>, |
| 2027 |
<GIC_SPI 315 IRQ_TYPE_EDGE_RISING>; |
| 2028 |
interrupt-names = "csid0", |
| 2029 |
"csid1", |
| 2030 |
"csid2", |
| 2031 |
"csid3", |
| 2032 |
"csiphy0", |
| 2033 |
"csiphy1", |
| 2034 |
"csiphy2", |
| 2035 |
"ispif", |
| 2036 |
"vfe0", |
| 2037 |
"vfe1"; |
| 2038 |
clocks = <&mmcc CAMSS_AHB_CLK>, |
| 2039 |
<&mmcc CAMSS_CPHY_CSID0_CLK>, |
| 2040 |
<&mmcc CAMSS_CPHY_CSID1_CLK>, |
| 2041 |
<&mmcc CAMSS_CPHY_CSID2_CLK>, |
| 2042 |
<&mmcc CAMSS_CPHY_CSID3_CLK>, |
| 2043 |
<&mmcc CAMSS_CSI0_AHB_CLK>, |
| 2044 |
<&mmcc CAMSS_CSI0_CLK>, |
| 2045 |
<&mmcc CAMSS_CPHY_CSID0_CLK>, |
| 2046 |
<&mmcc CAMSS_CSI0PIX_CLK>, |
| 2047 |
<&mmcc CAMSS_CSI0RDI_CLK>, |
| 2048 |
<&mmcc CAMSS_CSI1_AHB_CLK>, |
| 2049 |
<&mmcc CAMSS_CSI1_CLK>, |
| 2050 |
<&mmcc CAMSS_CPHY_CSID1_CLK>, |
| 2051 |
<&mmcc CAMSS_CSI1PIX_CLK>, |
| 2052 |
<&mmcc CAMSS_CSI1RDI_CLK>, |
| 2053 |
<&mmcc CAMSS_CSI2_AHB_CLK>, |
| 2054 |
<&mmcc CAMSS_CSI2_CLK>, |
| 2055 |
<&mmcc CAMSS_CPHY_CSID2_CLK>, |
| 2056 |
<&mmcc CAMSS_CSI2PIX_CLK>, |
| 2057 |
<&mmcc CAMSS_CSI2RDI_CLK>, |
| 2058 |
<&mmcc CAMSS_CSI3_AHB_CLK>, |
| 2059 |
<&mmcc CAMSS_CSI3_CLK>, |
| 2060 |
<&mmcc CAMSS_CPHY_CSID3_CLK>, |
| 2061 |
<&mmcc CAMSS_CSI3PIX_CLK>, |
| 2062 |
<&mmcc CAMSS_CSI3RDI_CLK>, |
| 2063 |
<&mmcc CAMSS_CSI0PHYTIMER_CLK>, |
| 2064 |
<&mmcc CAMSS_CSI1PHYTIMER_CLK>, |
| 2065 |
<&mmcc CAMSS_CSI2PHYTIMER_CLK>, |
| 2066 |
<&mmcc CSIPHY_AHB2CRIF_CLK>, |
| 2067 |
<&mmcc CAMSS_CSI_VFE0_CLK>, |
| 2068 |
<&mmcc CAMSS_CSI_VFE1_CLK>, |
| 2069 |
<&mmcc CAMSS_ISPIF_AHB_CLK>, |
| 2070 |
<&mmcc THROTTLE_CAMSS_AXI_CLK>, |
| 2071 |
<&mmcc CAMSS_TOP_AHB_CLK>, |
| 2072 |
<&mmcc CAMSS_VFE0_AHB_CLK>, |
| 2073 |
<&mmcc CAMSS_VFE0_CLK>, |
| 2074 |
<&mmcc CAMSS_VFE0_STREAM_CLK>, |
| 2075 |
<&mmcc CAMSS_VFE1_AHB_CLK>, |
| 2076 |
<&mmcc CAMSS_VFE1_CLK>, |
| 2077 |
<&mmcc CAMSS_VFE1_STREAM_CLK>, |
| 2078 |
<&mmcc CAMSS_VFE_VBIF_AHB_CLK>, |
| 2079 |
<&mmcc CAMSS_VFE_VBIF_AXI_CLK>; |
| 2080 |
clock-names = "ahb", |
| 2081 |
"cphy_csid0", |
| 2082 |
"cphy_csid1", |
| 2083 |
"cphy_csid2", |
| 2084 |
"cphy_csid3", |
| 2085 |
"csi0_ahb", |
| 2086 |
"csi0", |
| 2087 |
"csi0_phy", |
| 2088 |
"csi0_pix", |
| 2089 |
"csi0_rdi", |
| 2090 |
"csi1_ahb", |
| 2091 |
"csi1", |
| 2092 |
"csi1_phy", |
| 2093 |
"csi1_pix", |
| 2094 |
"csi1_rdi", |
| 2095 |
"csi2_ahb", |
| 2096 |
"csi2", |
| 2097 |
"csi2_phy", |
| 2098 |
"csi2_pix", |
| 2099 |
"csi2_rdi", |
| 2100 |
"csi3_ahb", |
| 2101 |
"csi3", |
| 2102 |
"csi3_phy", |
| 2103 |
"csi3_pix", |
| 2104 |
"csi3_rdi", |
| 2105 |
"csiphy0_timer", |
| 2106 |
"csiphy1_timer", |
| 2107 |
"csiphy2_timer", |
| 2108 |
"csiphy_ahb2crif", |
| 2109 |
"csi_vfe0", |
| 2110 |
"csi_vfe1", |
| 2111 |
"ispif_ahb", |
| 2112 |
"throttle_axi", |
| 2113 |
"top_ahb", |
| 2114 |
"vfe0_ahb", |
| 2115 |
"vfe0", |
| 2116 |
"vfe0_stream", |
| 2117 |
"vfe1_ahb", |
| 2118 |
"vfe1", |
| 2119 |
"vfe1_stream", |
| 2120 |
"vfe_ahb", |
| 2121 |
"vfe_axi"; |
| 2122 |
interconnects = <&mnoc 5 &bimc 5>; |
| 2123 |
interconnect-names = "vfe-mem"; |
| 2124 |
iommus = <&mmss_smmu 0xc00>, |
| 2125 |
<&mmss_smmu 0xc01>, |
| 2126 |
<&mmss_smmu 0xc02>, |
| 2127 |
<&mmss_smmu 0xc03>; |
| 2128 |
power-domains = <&mmcc CAMSS_VFE0_GDSC>, |
| 2129 |
<&mmcc CAMSS_VFE1_GDSC>; |
| 2130 |
status = "disabled"; |
| 2131 |
|
| 2132 |
ports { |
| 2133 |
#address-cells = <1>; |
| 2134 |
#size-cells = <0>; |
| 2135 |
}; |
| 2136 |
}; |
| 2137 |
|
| 2138 |
cci: cci@ca0c000 { |
| 2139 |
compatible = "qcom,msm8996-cci"; |
| 2140 |
#address-cells = <1>; |
| 2141 |
#size-cells = <0>; |
| 2142 |
reg = <0x0ca0c000 0x1000>; |
| 2143 |
interrupts = <GIC_SPI 295 IRQ_TYPE_EDGE_RISING>; |
| 2144 |
|
| 2145 |
assigned-clocks = <&mmcc CAMSS_CCI_AHB_CLK>, |
| 2146 |
<&mmcc CAMSS_CCI_CLK>; |
| 2147 |
assigned-clock-rates = <80800000>, <37500000>; |
| 2148 |
clocks = <&mmcc CAMSS_TOP_AHB_CLK>, |
| 2149 |
<&mmcc CAMSS_CCI_AHB_CLK>, |
| 2150 |
<&mmcc CAMSS_CCI_CLK>, |
| 2151 |
<&mmcc CAMSS_AHB_CLK>; |
| 2152 |
clock-names = "camss_top_ahb", |
| 2153 |
"cci_ahb", |
| 2154 |
"cci", |
| 2155 |
"camss_ahb"; |
| 2156 |
|
| 2157 |
pinctrl-names = "default"; |
| 2158 |
pinctrl-0 = <&cci0_default &cci1_default>; |
| 2159 |
power-domains = <&mmcc CAMSS_TOP_GDSC>; |
| 2160 |
status = "disabled"; |
| 2161 |
|
| 2162 |
cci_i2c0: i2c-bus@0 { |
| 2163 |
reg = <0>; |
| 2164 |
clock-frequency = <400000>; |
| 2165 |
#address-cells = <1>; |
| 2166 |
#size-cells = <0>; |
| 2167 |
}; |
| 2168 |
|
| 2169 |
cci_i2c1: i2c-bus@1 { |
| 2170 |
reg = <1>; |
| 2171 |
clock-frequency = <400000>; |
| 2172 |
#address-cells = <1>; |
| 2173 |
#size-cells = <0>; |
| 2174 |
}; |
| 2175 |
}; |
| 2176 |
|
| 2177 |
venus: video-codec@cc00000 { |
| 2178 |
compatible = "qcom,sdm660-venus"; |
| 2179 |
reg = <0x0cc00000 0xff000>; |
| 2180 |
clocks = <&mmcc VIDEO_CORE_CLK>, |
| 2181 |
<&mmcc VIDEO_AHB_CLK>, |
| 2182 |
<&mmcc VIDEO_AXI_CLK>, |
| 2183 |
<&mmcc THROTTLE_VIDEO_AXI_CLK>; |
| 2184 |
clock-names = "core", "iface", "bus", "bus_throttle"; |
| 2185 |
interconnects = <&gnoc 0 &mnoc 13>, |
| 2186 |
<&mnoc 4 &bimc 5>; |
| 2187 |
interconnect-names = "cpu-cfg", "video-mem"; |
| 2188 |
interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; |
| 2189 |
iommus = <&mmss_smmu 0x400>, |
| 2190 |
<&mmss_smmu 0x401>, |
| 2191 |
<&mmss_smmu 0x40a>, |
| 2192 |
<&mmss_smmu 0x407>, |
| 2193 |
<&mmss_smmu 0x40e>, |
| 2194 |
<&mmss_smmu 0x40f>, |
| 2195 |
<&mmss_smmu 0x408>, |
| 2196 |
<&mmss_smmu 0x409>, |
| 2197 |
<&mmss_smmu 0x40b>, |
| 2198 |
<&mmss_smmu 0x40c>, |
| 2199 |
<&mmss_smmu 0x40d>, |
| 2200 |
<&mmss_smmu 0x410>, |
| 2201 |
<&mmss_smmu 0x421>, |
| 2202 |
<&mmss_smmu 0x428>, |
| 2203 |
<&mmss_smmu 0x429>, |
| 2204 |
<&mmss_smmu 0x42b>, |
| 2205 |
<&mmss_smmu 0x42c>, |
| 2206 |
<&mmss_smmu 0x42d>, |
| 2207 |
<&mmss_smmu 0x411>, |
| 2208 |
<&mmss_smmu 0x431>; |
| 2209 |
memory-region = <&venus_region>; |
| 2210 |
power-domains = <&mmcc VENUS_GDSC>; |
| 2211 |
status = "disabled"; |
| 2212 |
|
| 2213 |
video-decoder { |
| 2214 |
compatible = "venus-decoder"; |
| 2215 |
clocks = <&mmcc VIDEO_SUBCORE0_CLK>; |
| 2216 |
clock-names = "vcodec0_core"; |
| 2217 |
power-domains = <&mmcc VENUS_CORE0_GDSC>; |
| 2218 |
}; |
| 2219 |
|
| 2220 |
video-encoder { |
| 2221 |
compatible = "venus-encoder"; |
| 2222 |
clocks = <&mmcc VIDEO_SUBCORE0_CLK>; |
| 2223 |
clock-names = "vcodec0_core"; |
| 2224 |
power-domains = <&mmcc VENUS_CORE0_GDSC>; |
| 2225 |
}; |
| 2226 |
}; |
| 2227 |
|
| 2228 |
mmss_smmu: iommu@cd00000 { |
| 2229 |
compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; |
| 2230 |
reg = <0x0cd00000 0x40000>; |
| 2231 |
|
| 2232 |
clocks = <&mmcc MNOC_AHB_CLK>, |
| 2233 |
<&mmcc BIMC_SMMU_AHB_CLK>, |
| 2234 |
<&mmcc BIMC_SMMU_AXI_CLK>; |
| 2235 |
clock-names = "iface-mm", "iface-smmu", |
| 2236 |
"bus-smmu"; |
| 2237 |
#global-interrupts = <2>; |
| 2238 |
#iommu-cells = <1>; |
| 2239 |
|
| 2240 |
interrupts = |
| 2241 |
<GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, |
| 2242 |
<GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, |
| 2243 |
|
| 2244 |
<GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>, |
| 2245 |
<GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, |
| 2246 |
<GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, |
| 2247 |
<GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, |
| 2248 |
<GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, |
| 2249 |
<GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, |
| 2250 |
<GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, |
| 2251 |
<GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, |
| 2252 |
<GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, |
| 2253 |
<GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, |
| 2254 |
<GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, |
| 2255 |
<GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, |
| 2256 |
<GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, |
| 2257 |
<GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, |
| 2258 |
<GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, |
| 2259 |
<GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, |
| 2260 |
<GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, |
| 2261 |
<GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, |
| 2262 |
<GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>, |
| 2263 |
<GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>, |
| 2264 |
<GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, |
| 2265 |
<GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, |
| 2266 |
<GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, |
| 2267 |
<GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>; |
| 2268 |
|
| 2269 |
status = "disabled"; |
| 2270 |
}; |
| 2271 |
|
| 2272 |
lpi_tlmm: pinctrl@15070000 { |
| 2273 |
compatible = "qcom,sdm660-lpass-lpi-pinctrl"; |
| 2274 |
reg = <0x15070000 0x20000>; |
| 2275 |
gpio-controller; |
| 2276 |
#gpio-cells = <2>; |
| 2277 |
gpio-ranges = <&lpi_tlmm 0 0 32>; |
| 2278 |
|
| 2279 |
cdc_pdm_default: cdc-pdm-default-state { |
| 2280 |
clk-pins { |
| 2281 |
pins = "gpio18"; |
| 2282 |
function = "pdm_clk"; |
| 2283 |
drive-strength = <8>; |
| 2284 |
output-high; |
| 2285 |
}; |
| 2286 |
|
| 2287 |
sync-pins { |
| 2288 |
pins = "gpio19"; |
| 2289 |
function = "pdm_sync"; |
| 2290 |
drive-strength = <4>; |
| 2291 |
output-high; |
| 2292 |
}; |
| 2293 |
|
| 2294 |
tx-pins { |
| 2295 |
pins = "gpio20"; |
| 2296 |
function = "pdm_tx"; |
| 2297 |
drive-strength = <8>; |
| 2298 |
}; |
| 2299 |
|
| 2300 |
rx-pins { |
| 2301 |
pins = "gpio21", "gpio23", "gpio25"; |
| 2302 |
function = "pdm_rx"; |
| 2303 |
drive-strength = <4>; |
| 2304 |
output-high; |
| 2305 |
}; |
| 2306 |
}; |
| 2307 |
|
| 2308 |
cdc_comp_default: cdc-comp-default-state { |
| 2309 |
pins = "gpio22", "gpio24"; |
| 2310 |
function = "comp_rx"; |
| 2311 |
drive-strength = <8>; |
| 2312 |
}; |
| 2313 |
|
| 2314 |
cdc_dmic_default: cdc-dmic-default-state { |
| 2315 |
dmic1-clk-pins { |
| 2316 |
pins = "gpio26"; |
| 2317 |
function = "dmic1_clk"; |
| 2318 |
drive-strength = <8>; |
| 2319 |
output-high; |
| 2320 |
}; |
| 2321 |
|
| 2322 |
dmic1-data-pins { |
| 2323 |
pins = "gpio27"; |
| 2324 |
function = "dmic1_data"; |
| 2325 |
drive-strength = <8>; |
| 2326 |
output-high; |
| 2327 |
}; |
| 2328 |
|
| 2329 |
dmic2-clk-pins { |
| 2330 |
pins = "gpio28"; |
| 2331 |
function = "dmic2_clk"; |
| 2332 |
drive-strength = <8>; |
| 2333 |
input-enable; |
| 2334 |
}; |
| 2335 |
|
| 2336 |
dmic2-data-pins { |
| 2337 |
pins = "gpio29"; |
| 2338 |
function = "dmic2_data"; |
| 2339 |
drive-strength = <8>; |
| 2340 |
input-enable; |
| 2341 |
}; |
| 2342 |
}; |
| 2343 |
}; |
| 2344 |
|
| 2345 |
adsp_pil: remoteproc@15700000 { |
| 2346 |
compatible = "qcom,sdm660-adsp-pas"; |
| 2347 |
reg = <0x15700000 0x4040>; |
| 2348 |
|
| 2349 |
interrupts-extended = |
| 2350 |
<&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, |
| 2351 |
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, |
| 2352 |
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, |
| 2353 |
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, |
| 2354 |
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; |
| 2355 |
interrupt-names = "wdog", "fatal", "ready", |
| 2356 |
"handover", "stop-ack"; |
| 2357 |
|
| 2358 |
clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; |
| 2359 |
clock-names = "xo"; |
| 2360 |
|
| 2361 |
memory-region = <&adsp_region>; |
| 2362 |
power-domains = <&rpmpd RPMPD_VDDCX>; |
| 2363 |
power-domain-names = "cx"; |
| 2364 |
|
| 2365 |
qcom,smem-states = <&adsp_smp2p_out 0>; |
| 2366 |
qcom,smem-state-names = "stop"; |
| 2367 |
|
| 2368 |
glink-edge { |
| 2369 |
interrupts = <GIC_SPI 157 IRQ_TYPE_EDGE_RISING>; |
| 2370 |
|
| 2371 |
label = "lpass"; |
| 2372 |
mboxes = <&apcs_glb 9>; |
| 2373 |
qcom,remote-pid = <2>; |
| 2374 |
|
| 2375 |
apr { |
| 2376 |
compatible = "qcom,apr-v2"; |
| 2377 |
qcom,glink-channels = "apr_audio_svc"; |
| 2378 |
qcom,domain = <APR_DOMAIN_ADSP>; |
| 2379 |
#address-cells = <1>; |
| 2380 |
#size-cells = <0>; |
| 2381 |
|
| 2382 |
service@3 { |
| 2383 |
reg = <APR_SVC_ADSP_CORE>; |
| 2384 |
compatible = "qcom,q6core"; |
| 2385 |
}; |
| 2386 |
|
| 2387 |
q6afe: service@4 { |
| 2388 |
compatible = "qcom,q6afe"; |
| 2389 |
reg = <APR_SVC_AFE>; |
| 2390 |
q6afedai: dais { |
| 2391 |
compatible = "qcom,q6afe-dais"; |
| 2392 |
#address-cells = <1>; |
| 2393 |
#size-cells = <0>; |
| 2394 |
#sound-dai-cells = <1>; |
| 2395 |
}; |
| 2396 |
}; |
| 2397 |
|
| 2398 |
q6asm: service@7 { |
| 2399 |
compatible = "qcom,q6asm"; |
| 2400 |
reg = <APR_SVC_ASM>; |
| 2401 |
q6asmdai: dais { |
| 2402 |
compatible = "qcom,q6asm-dais"; |
| 2403 |
#address-cells = <1>; |
| 2404 |
#size-cells = <0>; |
| 2405 |
#sound-dai-cells = <1>; |
| 2406 |
iommus = <&lpass_smmu 1>; |
| 2407 |
}; |
| 2408 |
}; |
| 2409 |
|
| 2410 |
q6adm: service@8 { |
| 2411 |
compatible = "qcom,q6adm"; |
| 2412 |
reg = <APR_SVC_ADM>; |
| 2413 |
q6routing: routing { |
| 2414 |
compatible = "qcom,q6adm-routing"; |
| 2415 |
#sound-dai-cells = <0>; |
| 2416 |
}; |
| 2417 |
}; |
| 2418 |
}; |
| 2419 |
|
| 2420 |
fastrpc { |
| 2421 |
compatible = "qcom,fastrpc"; |
| 2422 |
qcom,glink-channels = "fastrpcglink-apps-dsp"; |
| 2423 |
label = "adsp"; |
| 2424 |
qcom,non-secure-domain; |
| 2425 |
#address-cells = <1>; |
| 2426 |
#size-cells = <0>; |
| 2427 |
|
| 2428 |
compute-cb@1 { |
| 2429 |
compatible = "qcom,fastrpc-compute-cb"; |
| 2430 |
reg = <1>; |
| 2431 |
iommus = <&lpass_smmu 3>; |
| 2432 |
}; |
| 2433 |
|
| 2434 |
compute-cb@2 { |
| 2435 |
compatible = "qcom,fastrpc-compute-cb"; |
| 2436 |
reg = <2>; |
| 2437 |
iommus = <&lpass_smmu 7>; |
| 2438 |
}; |
| 2439 |
|
| 2440 |
compute-cb@3 { |
| 2441 |
compatible = "qcom,fastrpc-compute-cb"; |
| 2442 |
reg = <3>; |
| 2443 |
iommus = <&lpass_smmu 8>; |
| 2444 |
}; |
| 2445 |
|
| 2446 |
compute-cb@4 { |
| 2447 |
compatible = "qcom,fastrpc-compute-cb"; |
| 2448 |
reg = <4>; |
| 2449 |
iommus = <&lpass_smmu 9>; |
| 2450 |
}; |
| 2451 |
}; |
| 2452 |
}; |
| 2453 |
}; |
| 2454 |
|
| 2455 |
gnoc: interconnect@17900000 { |
| 2456 |
compatible = "qcom,sdm660-gnoc"; |
| 2457 |
reg = <0x17900000 0xe000>; |
| 2458 |
#interconnect-cells = <1>; |
| 2459 |
}; |
| 2460 |
|
| 2461 |
apcs_glb: mailbox@17911000 { |
| 2462 |
compatible = "qcom,sdm660-apcs-hmss-global", |
| 2463 |
"qcom,msm8994-apcs-kpss-global"; |
| 2464 |
reg = <0x17911000 0x1000>; |
| 2465 |
|
| 2466 |
#mbox-cells = <1>; |
| 2467 |
}; |
| 2468 |
|
| 2469 |
timer@17920000 { |
| 2470 |
#address-cells = <1>; |
| 2471 |
#size-cells = <1>; |
| 2472 |
ranges; |
| 2473 |
compatible = "arm,armv7-timer-mem"; |
| 2474 |
reg = <0x17920000 0x1000>; |
| 2475 |
clock-frequency = <19200000>; |
| 2476 |
|
| 2477 |
frame@17921000 { |
| 2478 |
frame-number = <0>; |
| 2479 |
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, |
| 2480 |
<GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 2481 |
reg = <0x17921000 0x1000>, |
| 2482 |
<0x17922000 0x1000>; |
| 2483 |
}; |
| 2484 |
|
| 2485 |
frame@17923000 { |
| 2486 |
frame-number = <1>; |
| 2487 |
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 2488 |
reg = <0x17923000 0x1000>; |
| 2489 |
status = "disabled"; |
| 2490 |
}; |
| 2491 |
|
| 2492 |
frame@17924000 { |
| 2493 |
frame-number = <2>; |
| 2494 |
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 2495 |
reg = <0x17924000 0x1000>; |
| 2496 |
status = "disabled"; |
| 2497 |
}; |
| 2498 |
|
| 2499 |
frame@17925000 { |
| 2500 |
frame-number = <3>; |
| 2501 |
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 2502 |
reg = <0x17925000 0x1000>; |
| 2503 |
status = "disabled"; |
| 2504 |
}; |
| 2505 |
|
| 2506 |
frame@17926000 { |
| 2507 |
frame-number = <4>; |
| 2508 |
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; |
| 2509 |
reg = <0x17926000 0x1000>; |
| 2510 |
status = "disabled"; |
| 2511 |
}; |
| 2512 |
|
| 2513 |
frame@17927000 { |
| 2514 |
frame-number = <5>; |
| 2515 |
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; |
| 2516 |
reg = <0x17927000 0x1000>; |
| 2517 |
status = "disabled"; |
| 2518 |
}; |
| 2519 |
|
| 2520 |
frame@17928000 { |
| 2521 |
frame-number = <6>; |
| 2522 |
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
| 2523 |
reg = <0x17928000 0x1000>; |
| 2524 |
status = "disabled"; |
| 2525 |
}; |
| 2526 |
}; |
| 2527 |
|
| 2528 |
intc: interrupt-controller@17a00000 { |
| 2529 |
compatible = "arm,gic-v3"; |
| 2530 |
reg = <0x17a00000 0x10000>, /* GICD */ |
| 2531 |
<0x17b00000 0x100000>; /* GICR * 8 */ |
| 2532 |
#interrupt-cells = <3>; |
| 2533 |
#address-cells = <1>; |
| 2534 |
#size-cells = <1>; |
| 2535 |
ranges; |
| 2536 |
interrupt-controller; |
| 2537 |
#redistributor-regions = <1>; |
| 2538 |
redistributor-stride = <0x0 0x20000>; |
| 2539 |
interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 2540 |
}; |
| 2541 |
|
| 2542 |
wifi: wifi@18800000 { |
| 2543 |
compatible = "qcom,wcn3990-wifi"; |
| 2544 |
reg = <0x18800000 0x800000>; |
| 2545 |
reg-names = "membase"; |
| 2546 |
memory-region = <&wlan_msa_mem>; |
| 2547 |
clocks = <&rpmcc RPM_SMD_RF_CLK1_PIN>; |
| 2548 |
clock-names = "cxo_ref_clk_pin"; |
| 2549 |
interrupts = |
| 2550 |
<GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>, |
| 2551 |
<GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>, |
| 2552 |
<GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, |
| 2553 |
<GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, |
| 2554 |
<GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>, |
| 2555 |
<GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, |
| 2556 |
<GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>, |
| 2557 |
<GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, |
| 2558 |
<GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, |
| 2559 |
<GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, |
| 2560 |
<GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, |
| 2561 |
<GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>; |
| 2562 |
iommus = <&anoc2_smmu 0x1a00>, |
| 2563 |
<&anoc2_smmu 0x1a01>; |
| 2564 |
qcom,snoc-host-cap-8bit-quirk; |
| 2565 |
qcom,no-msa-ready-indicator; |
| 2566 |
status = "disabled"; |
| 2567 |
}; |
| 2568 |
}; |
| 2569 |
|
| 2570 |
sound: sound { |
| 2571 |
}; |
| 2572 |
|
| 2573 |
thermal-zones { |
| 2574 |
aoss-thermal { |
| 2575 |
polling-delay-passive = <250>; |
| 2576 |
|
| 2577 |
thermal-sensors = <&tsens 0>; |
| 2578 |
|
| 2579 |
trips { |
| 2580 |
aoss_alert0: trip-point0 { |
| 2581 |
temperature = <105000>; |
| 2582 |
hysteresis = <1000>; |
| 2583 |
type = "hot"; |
| 2584 |
}; |
| 2585 |
}; |
| 2586 |
}; |
| 2587 |
|
| 2588 |
cpuss0-thermal { |
| 2589 |
polling-delay-passive = <250>; |
| 2590 |
|
| 2591 |
thermal-sensors = <&tsens 1>; |
| 2592 |
|
| 2593 |
trips { |
| 2594 |
cpuss0_alert0: trip-point0 { |
| 2595 |
temperature = <125000>; |
| 2596 |
hysteresis = <1000>; |
| 2597 |
type = "hot"; |
| 2598 |
}; |
| 2599 |
}; |
| 2600 |
}; |
| 2601 |
|
| 2602 |
cpuss1-thermal { |
| 2603 |
polling-delay-passive = <250>; |
| 2604 |
|
| 2605 |
thermal-sensors = <&tsens 2>; |
| 2606 |
|
| 2607 |
trips { |
| 2608 |
cpuss1_alert0: trip-point0 { |
| 2609 |
temperature = <125000>; |
| 2610 |
hysteresis = <1000>; |
| 2611 |
type = "hot"; |
| 2612 |
}; |
| 2613 |
}; |
| 2614 |
}; |
| 2615 |
|
| 2616 |
cpu0-thermal { |
| 2617 |
polling-delay-passive = <250>; |
| 2618 |
|
| 2619 |
thermal-sensors = <&tsens 3>; |
| 2620 |
|
| 2621 |
trips { |
| 2622 |
cpu0_alert0: trip-point0 { |
| 2623 |
temperature = <70000>; |
| 2624 |
hysteresis = <1000>; |
| 2625 |
type = "passive"; |
| 2626 |
}; |
| 2627 |
|
| 2628 |
cpu0_crit: cpu-crit { |
| 2629 |
temperature = <110000>; |
| 2630 |
hysteresis = <1000>; |
| 2631 |
type = "critical"; |
| 2632 |
}; |
| 2633 |
}; |
| 2634 |
}; |
| 2635 |
|
| 2636 |
cpu1-thermal { |
| 2637 |
polling-delay-passive = <250>; |
| 2638 |
|
| 2639 |
thermal-sensors = <&tsens 4>; |
| 2640 |
|
| 2641 |
trips { |
| 2642 |
cpu1_alert0: trip-point0 { |
| 2643 |
temperature = <70000>; |
| 2644 |
hysteresis = <1000>; |
| 2645 |
type = "passive"; |
| 2646 |
}; |
| 2647 |
|
| 2648 |
cpu1_crit: cpu-crit { |
| 2649 |
temperature = <110000>; |
| 2650 |
hysteresis = <1000>; |
| 2651 |
type = "critical"; |
| 2652 |
}; |
| 2653 |
}; |
| 2654 |
}; |
| 2655 |
|
| 2656 |
cpu2-thermal { |
| 2657 |
polling-delay-passive = <250>; |
| 2658 |
|
| 2659 |
thermal-sensors = <&tsens 5>; |
| 2660 |
|
| 2661 |
trips { |
| 2662 |
cpu2_alert0: trip-point0 { |
| 2663 |
temperature = <70000>; |
| 2664 |
hysteresis = <1000>; |
| 2665 |
type = "passive"; |
| 2666 |
}; |
| 2667 |
|
| 2668 |
cpu2_crit: cpu-crit { |
| 2669 |
temperature = <110000>; |
| 2670 |
hysteresis = <1000>; |
| 2671 |
type = "critical"; |
| 2672 |
}; |
| 2673 |
}; |
| 2674 |
}; |
| 2675 |
|
| 2676 |
cpu3-thermal { |
| 2677 |
polling-delay-passive = <250>; |
| 2678 |
|
| 2679 |
thermal-sensors = <&tsens 6>; |
| 2680 |
|
| 2681 |
trips { |
| 2682 |
cpu3_alert0: trip-point0 { |
| 2683 |
temperature = <70000>; |
| 2684 |
hysteresis = <1000>; |
| 2685 |
type = "passive"; |
| 2686 |
}; |
| 2687 |
|
| 2688 |
cpu3_crit: cpu-crit { |
| 2689 |
temperature = <110000>; |
| 2690 |
hysteresis = <1000>; |
| 2691 |
type = "critical"; |
| 2692 |
}; |
| 2693 |
}; |
| 2694 |
}; |
| 2695 |
|
| 2696 |
/* |
| 2697 |
* According to what downstream DTS says, |
| 2698 |
* the entire power efficient cluster has |
| 2699 |
* only a single thermal sensor. |
| 2700 |
*/ |
| 2701 |
|
| 2702 |
pwr-cluster-thermal { |
| 2703 |
polling-delay-passive = <250>; |
| 2704 |
|
| 2705 |
thermal-sensors = <&tsens 7>; |
| 2706 |
|
| 2707 |
trips { |
| 2708 |
pwr_cluster_alert0: trip-point0 { |
| 2709 |
temperature = <70000>; |
| 2710 |
hysteresis = <1000>; |
| 2711 |
type = "passive"; |
| 2712 |
}; |
| 2713 |
|
| 2714 |
pwr_cluster_crit: cpu-crit { |
| 2715 |
temperature = <110000>; |
| 2716 |
hysteresis = <1000>; |
| 2717 |
type = "critical"; |
| 2718 |
}; |
| 2719 |
}; |
| 2720 |
}; |
| 2721 |
|
| 2722 |
gpu-thermal { |
| 2723 |
polling-delay-passive = <250>; |
| 2724 |
|
| 2725 |
thermal-sensors = <&tsens 8>; |
| 2726 |
|
| 2727 |
cooling-maps { |
| 2728 |
map0 { |
| 2729 |
trip = <&gpu_alert0>; |
| 2730 |
cooling-device = <&adreno_gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
| 2731 |
}; |
| 2732 |
}; |
| 2733 |
|
| 2734 |
trips { |
| 2735 |
gpu_alert0: trip-point0 { |
| 2736 |
temperature = <85000>; |
| 2737 |
hysteresis = <1000>; |
| 2738 |
type = "passive"; |
| 2739 |
}; |
| 2740 |
|
| 2741 |
trip-point1 { |
| 2742 |
temperature = <90000>; |
| 2743 |
hysteresis = <1000>; |
| 2744 |
type = "hot"; |
| 2745 |
}; |
| 2746 |
|
| 2747 |
trip-point2 { |
| 2748 |
temperature = <110000>; |
| 2749 |
hysteresis = <1000>; |
| 2750 |
type = "critical"; |
| 2751 |
}; |
| 2752 |
}; |
| 2753 |
}; |
| 2754 |
}; |
| 2755 |
|
| 2756 |
timer { |
| 2757 |
compatible = "arm,armv8-timer"; |
| 2758 |
interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 2759 |
<GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 2760 |
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, |
| 2761 |
<GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; |
| 2762 |
}; |
| 2763 |
}; |
| 2764 |
|