1 // SPDX-License-Identifier: BSD-3-Clause 1 // SPDX-License-Identifier: BSD-3-Clause 2 /* 2 /* 3 * Copyright (c) 2020, Konrad Dybcio <konradybc !! 3 * Copyright (c) 2020, Konrad Dybcio 4 * Copyright (c) 2020, AngeloGioacchino Del Re< << 5 */ 4 */ 6 5 7 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 6 #include <dt-bindings/clock/qcom,gcc-sdm660.h> 8 #include <dt-bindings/clock/qcom,gpucc-sdm660. << 9 #include <dt-bindings/clock/qcom,mmcc-sdm660.h << 10 #include <dt-bindings/clock/qcom,rpmcc.h> 7 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/firmware/qcom,scm.h> << 12 #include <dt-bindings/interconnect/qcom,sdm660 << 13 #include <dt-bindings/power/qcom-rpmpd.h> << 14 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/thermal/thermal.h> << 17 #include <dt-bindings/soc/qcom,apr.h> << 18 10 19 / { 11 / { 20 interrupt-parent = <&intc>; 12 interrupt-parent = <&intc>; 21 13 22 #address-cells = <2>; 14 #address-cells = <2>; 23 #size-cells = <2>; 15 #size-cells = <2>; 24 16 25 aliases { << 26 mmc1 = &sdhc_1; << 27 mmc2 = &sdhc_2; << 28 }; << 29 << 30 chosen { }; 17 chosen { }; 31 18 32 clocks { 19 clocks { 33 xo_board: xo-board { 20 xo_board: xo-board { 34 compatible = "fixed-cl 21 compatible = "fixed-clock"; 35 #clock-cells = <0>; 22 #clock-cells = <0>; 36 clock-frequency = <192 23 clock-frequency = <19200000>; 37 clock-output-names = " 24 clock-output-names = "xo_board"; 38 }; 25 }; 39 26 40 sleep_clk: sleep-clk { 27 sleep_clk: sleep-clk { 41 compatible = "fixed-cl 28 compatible = "fixed-clock"; 42 #clock-cells = <0>; 29 #clock-cells = <0>; 43 clock-frequency = <327 30 clock-frequency = <32764>; 44 clock-output-names = " 31 clock-output-names = "sleep_clk"; 45 }; 32 }; 46 }; 33 }; 47 34 48 cpus { 35 cpus { 49 #address-cells = <2>; 36 #address-cells = <2>; 50 #size-cells = <0>; 37 #size-cells = <0>; 51 38 52 CPU0: cpu@100 { 39 CPU0: cpu@100 { 53 device_type = "cpu"; 40 device_type = "cpu"; 54 compatible = "arm,cort 41 compatible = "arm,cortex-a53"; 55 reg = <0x0 0x100>; 42 reg = <0x0 0x100>; 56 enable-method = "psci" 43 enable-method = "psci"; 57 cpu-idle-states = <&PE 44 cpu-idle-states = <&PERF_CPU_SLEEP_0 58 45 &PERF_CPU_SLEEP_1 59 46 &PERF_CLUSTER_SLEEP_0 60 47 &PERF_CLUSTER_SLEEP_1 61 48 &PERF_CLUSTER_SLEEP_2>; 62 capacity-dmips-mhz = < 49 capacity-dmips-mhz = <1126>; 63 #cooling-cells = <2>; 50 #cooling-cells = <2>; 64 next-level-cache = <&L 51 next-level-cache = <&L2_1>; 65 L2_1: l2-cache { 52 L2_1: l2-cache { 66 compatible = " 53 compatible = "cache"; 67 cache-level = 54 cache-level = <2>; 68 cache-unified; << 69 }; 55 }; 70 }; 56 }; 71 57 72 CPU1: cpu@101 { 58 CPU1: cpu@101 { 73 device_type = "cpu"; 59 device_type = "cpu"; 74 compatible = "arm,cort 60 compatible = "arm,cortex-a53"; 75 reg = <0x0 0x101>; 61 reg = <0x0 0x101>; 76 enable-method = "psci" 62 enable-method = "psci"; 77 cpu-idle-states = <&PE 63 cpu-idle-states = <&PERF_CPU_SLEEP_0 78 64 &PERF_CPU_SLEEP_1 79 65 &PERF_CLUSTER_SLEEP_0 80 66 &PERF_CLUSTER_SLEEP_1 81 67 &PERF_CLUSTER_SLEEP_2>; 82 capacity-dmips-mhz = < 68 capacity-dmips-mhz = <1126>; 83 #cooling-cells = <2>; 69 #cooling-cells = <2>; 84 next-level-cache = <&L 70 next-level-cache = <&L2_1>; 85 }; 71 }; 86 72 87 CPU2: cpu@102 { 73 CPU2: cpu@102 { 88 device_type = "cpu"; 74 device_type = "cpu"; 89 compatible = "arm,cort 75 compatible = "arm,cortex-a53"; 90 reg = <0x0 0x102>; 76 reg = <0x0 0x102>; 91 enable-method = "psci" 77 enable-method = "psci"; 92 cpu-idle-states = <&PE 78 cpu-idle-states = <&PERF_CPU_SLEEP_0 93 79 &PERF_CPU_SLEEP_1 94 80 &PERF_CLUSTER_SLEEP_0 95 81 &PERF_CLUSTER_SLEEP_1 96 82 &PERF_CLUSTER_SLEEP_2>; 97 capacity-dmips-mhz = < 83 capacity-dmips-mhz = <1126>; 98 #cooling-cells = <2>; 84 #cooling-cells = <2>; 99 next-level-cache = <&L 85 next-level-cache = <&L2_1>; 100 }; 86 }; 101 87 102 CPU3: cpu@103 { 88 CPU3: cpu@103 { 103 device_type = "cpu"; 89 device_type = "cpu"; 104 compatible = "arm,cort 90 compatible = "arm,cortex-a53"; 105 reg = <0x0 0x103>; 91 reg = <0x0 0x103>; 106 enable-method = "psci" 92 enable-method = "psci"; 107 cpu-idle-states = <&PE 93 cpu-idle-states = <&PERF_CPU_SLEEP_0 108 94 &PERF_CPU_SLEEP_1 109 95 &PERF_CLUSTER_SLEEP_0 110 96 &PERF_CLUSTER_SLEEP_1 111 97 &PERF_CLUSTER_SLEEP_2>; 112 capacity-dmips-mhz = < 98 capacity-dmips-mhz = <1126>; 113 #cooling-cells = <2>; 99 #cooling-cells = <2>; 114 next-level-cache = <&L 100 next-level-cache = <&L2_1>; 115 }; 101 }; 116 102 117 CPU4: cpu@0 { 103 CPU4: cpu@0 { 118 device_type = "cpu"; 104 device_type = "cpu"; 119 compatible = "arm,cort 105 compatible = "arm,cortex-a53"; 120 reg = <0x0 0x0>; 106 reg = <0x0 0x0>; 121 enable-method = "psci" 107 enable-method = "psci"; 122 cpu-idle-states = <&PW 108 cpu-idle-states = <&PWR_CPU_SLEEP_0 123 109 &PWR_CPU_SLEEP_1 124 110 &PWR_CLUSTER_SLEEP_0 125 111 &PWR_CLUSTER_SLEEP_1 126 112 &PWR_CLUSTER_SLEEP_2>; 127 capacity-dmips-mhz = < 113 capacity-dmips-mhz = <1024>; 128 #cooling-cells = <2>; 114 #cooling-cells = <2>; 129 next-level-cache = <&L 115 next-level-cache = <&L2_0>; 130 L2_0: l2-cache { 116 L2_0: l2-cache { 131 compatible = " 117 compatible = "cache"; 132 cache-level = 118 cache-level = <2>; 133 cache-unified; << 134 }; 119 }; 135 }; 120 }; 136 121 137 CPU5: cpu@1 { 122 CPU5: cpu@1 { 138 device_type = "cpu"; 123 device_type = "cpu"; 139 compatible = "arm,cort 124 compatible = "arm,cortex-a53"; 140 reg = <0x0 0x1>; 125 reg = <0x0 0x1>; 141 enable-method = "psci" 126 enable-method = "psci"; 142 cpu-idle-states = <&PW 127 cpu-idle-states = <&PWR_CPU_SLEEP_0 143 128 &PWR_CPU_SLEEP_1 144 129 &PWR_CLUSTER_SLEEP_0 145 130 &PWR_CLUSTER_SLEEP_1 146 131 &PWR_CLUSTER_SLEEP_2>; 147 capacity-dmips-mhz = < 132 capacity-dmips-mhz = <1024>; 148 #cooling-cells = <2>; 133 #cooling-cells = <2>; 149 next-level-cache = <&L 134 next-level-cache = <&L2_0>; 150 }; 135 }; 151 136 152 CPU6: cpu@2 { 137 CPU6: cpu@2 { 153 device_type = "cpu"; 138 device_type = "cpu"; 154 compatible = "arm,cort 139 compatible = "arm,cortex-a53"; 155 reg = <0x0 0x2>; 140 reg = <0x0 0x2>; 156 enable-method = "psci" 141 enable-method = "psci"; 157 cpu-idle-states = <&PW 142 cpu-idle-states = <&PWR_CPU_SLEEP_0 158 143 &PWR_CPU_SLEEP_1 159 144 &PWR_CLUSTER_SLEEP_0 160 145 &PWR_CLUSTER_SLEEP_1 161 146 &PWR_CLUSTER_SLEEP_2>; 162 capacity-dmips-mhz = < 147 capacity-dmips-mhz = <1024>; 163 #cooling-cells = <2>; 148 #cooling-cells = <2>; 164 next-level-cache = <&L 149 next-level-cache = <&L2_0>; 165 }; 150 }; 166 151 167 CPU7: cpu@3 { 152 CPU7: cpu@3 { 168 device_type = "cpu"; 153 device_type = "cpu"; 169 compatible = "arm,cort 154 compatible = "arm,cortex-a53"; 170 reg = <0x0 0x3>; 155 reg = <0x0 0x3>; 171 enable-method = "psci" 156 enable-method = "psci"; 172 cpu-idle-states = <&PW 157 cpu-idle-states = <&PWR_CPU_SLEEP_0 173 158 &PWR_CPU_SLEEP_1 174 159 &PWR_CLUSTER_SLEEP_0 175 160 &PWR_CLUSTER_SLEEP_1 176 161 &PWR_CLUSTER_SLEEP_2>; 177 capacity-dmips-mhz = < 162 capacity-dmips-mhz = <1024>; 178 #cooling-cells = <2>; 163 #cooling-cells = <2>; 179 next-level-cache = <&L 164 next-level-cache = <&L2_0>; 180 }; 165 }; 181 166 182 cpu-map { 167 cpu-map { 183 cluster0 { 168 cluster0 { 184 core0 { 169 core0 { 185 cpu = 170 cpu = <&CPU4>; 186 }; 171 }; 187 172 188 core1 { 173 core1 { 189 cpu = 174 cpu = <&CPU5>; 190 }; 175 }; 191 176 192 core2 { 177 core2 { 193 cpu = 178 cpu = <&CPU6>; 194 }; 179 }; 195 180 196 core3 { 181 core3 { 197 cpu = 182 cpu = <&CPU7>; 198 }; 183 }; 199 }; 184 }; 200 185 201 cluster1 { 186 cluster1 { 202 core0 { 187 core0 { 203 cpu = 188 cpu = <&CPU0>; 204 }; 189 }; 205 190 206 core1 { 191 core1 { 207 cpu = 192 cpu = <&CPU1>; 208 }; 193 }; 209 194 210 core2 { 195 core2 { 211 cpu = 196 cpu = <&CPU2>; 212 }; 197 }; 213 198 214 core3 { 199 core3 { 215 cpu = 200 cpu = <&CPU3>; 216 }; 201 }; 217 }; 202 }; 218 }; 203 }; 219 204 220 idle-states { 205 idle-states { 221 entry-method = "psci"; 206 entry-method = "psci"; 222 207 223 PWR_CPU_SLEEP_0: cpu-s 208 PWR_CPU_SLEEP_0: cpu-sleep-0-0 { 224 compatible = " 209 compatible = "arm,idle-state"; 225 idle-state-nam 210 idle-state-name = "pwr-retention"; 226 arm,psci-suspe 211 arm,psci-suspend-param = <0x40000002>; 227 entry-latency- 212 entry-latency-us = <338>; 228 exit-latency-u 213 exit-latency-us = <423>; 229 min-residency- 214 min-residency-us = <200>; 230 }; 215 }; 231 216 232 PWR_CPU_SLEEP_1: cpu-s 217 PWR_CPU_SLEEP_1: cpu-sleep-0-1 { 233 compatible = " 218 compatible = "arm,idle-state"; 234 idle-state-nam 219 idle-state-name = "pwr-power-collapse"; 235 arm,psci-suspe 220 arm,psci-suspend-param = <0x40000003>; 236 entry-latency- 221 entry-latency-us = <515>; 237 exit-latency-u 222 exit-latency-us = <1821>; 238 min-residency- 223 min-residency-us = <1000>; 239 local-timer-st 224 local-timer-stop; 240 }; 225 }; 241 226 242 PERF_CPU_SLEEP_0: cpu- 227 PERF_CPU_SLEEP_0: cpu-sleep-1-0 { 243 compatible = " 228 compatible = "arm,idle-state"; 244 idle-state-nam 229 idle-state-name = "perf-retention"; 245 arm,psci-suspe 230 arm,psci-suspend-param = <0x40000002>; 246 entry-latency- 231 entry-latency-us = <154>; 247 exit-latency-u 232 exit-latency-us = <87>; 248 min-residency- 233 min-residency-us = <200>; 249 }; 234 }; 250 235 251 PERF_CPU_SLEEP_1: cpu- 236 PERF_CPU_SLEEP_1: cpu-sleep-1-1 { 252 compatible = " 237 compatible = "arm,idle-state"; 253 idle-state-nam 238 idle-state-name = "perf-power-collapse"; 254 arm,psci-suspe 239 arm,psci-suspend-param = <0x40000003>; 255 entry-latency- 240 entry-latency-us = <262>; 256 exit-latency-u 241 exit-latency-us = <301>; 257 min-residency- 242 min-residency-us = <1000>; 258 local-timer-st 243 local-timer-stop; 259 }; 244 }; 260 245 261 PWR_CLUSTER_SLEEP_0: c 246 PWR_CLUSTER_SLEEP_0: cluster-sleep-0-0 { 262 compatible = " 247 compatible = "arm,idle-state"; 263 idle-state-nam 248 idle-state-name = "pwr-cluster-dynamic-retention"; 264 arm,psci-suspe 249 arm,psci-suspend-param = <0x400000F2>; 265 entry-latency- 250 entry-latency-us = <284>; 266 exit-latency-u 251 exit-latency-us = <384>; 267 min-residency- 252 min-residency-us = <9987>; 268 local-timer-st 253 local-timer-stop; 269 }; 254 }; 270 255 271 PWR_CLUSTER_SLEEP_1: c 256 PWR_CLUSTER_SLEEP_1: cluster-sleep-0-1 { 272 compatible = " 257 compatible = "arm,idle-state"; 273 idle-state-nam 258 idle-state-name = "pwr-cluster-retention"; 274 arm,psci-suspe 259 arm,psci-suspend-param = <0x400000F3>; 275 entry-latency- 260 entry-latency-us = <338>; 276 exit-latency-u 261 exit-latency-us = <423>; 277 min-residency- 262 min-residency-us = <9987>; 278 local-timer-st 263 local-timer-stop; 279 }; 264 }; 280 265 281 PWR_CLUSTER_SLEEP_2: c 266 PWR_CLUSTER_SLEEP_2: cluster-sleep-0-2 { 282 compatible = " 267 compatible = "arm,idle-state"; 283 idle-state-nam 268 idle-state-name = "pwr-cluster-retention"; 284 arm,psci-suspe 269 arm,psci-suspend-param = <0x400000F4>; 285 entry-latency- 270 entry-latency-us = <515>; 286 exit-latency-u 271 exit-latency-us = <1821>; 287 min-residency- 272 min-residency-us = <9987>; 288 local-timer-st 273 local-timer-stop; 289 }; 274 }; 290 275 291 PERF_CLUSTER_SLEEP_0: 276 PERF_CLUSTER_SLEEP_0: cluster-sleep-1-0 { 292 compatible = " 277 compatible = "arm,idle-state"; 293 idle-state-nam 278 idle-state-name = "perf-cluster-dynamic-retention"; 294 arm,psci-suspe 279 arm,psci-suspend-param = <0x400000F2>; 295 entry-latency- 280 entry-latency-us = <272>; 296 exit-latency-u 281 exit-latency-us = <329>; 297 min-residency- 282 min-residency-us = <9987>; 298 local-timer-st 283 local-timer-stop; 299 }; 284 }; 300 285 301 PERF_CLUSTER_SLEEP_1: 286 PERF_CLUSTER_SLEEP_1: cluster-sleep-1-1 { 302 compatible = " 287 compatible = "arm,idle-state"; 303 idle-state-nam 288 idle-state-name = "perf-cluster-retention"; 304 arm,psci-suspe 289 arm,psci-suspend-param = <0x400000F3>; 305 entry-latency- 290 entry-latency-us = <332>; 306 exit-latency-u 291 exit-latency-us = <368>; 307 min-residency- 292 min-residency-us = <9987>; 308 local-timer-st 293 local-timer-stop; 309 }; 294 }; 310 295 311 PERF_CLUSTER_SLEEP_2: 296 PERF_CLUSTER_SLEEP_2: cluster-sleep-1-2 { 312 compatible = " 297 compatible = "arm,idle-state"; 313 idle-state-nam 298 idle-state-name = "perf-cluster-retention"; 314 arm,psci-suspe 299 arm,psci-suspend-param = <0x400000F4>; 315 entry-latency- 300 entry-latency-us = <545>; 316 exit-latency-u 301 exit-latency-us = <1609>; 317 min-residency- 302 min-residency-us = <9987>; 318 local-timer-st 303 local-timer-stop; 319 }; 304 }; 320 }; 305 }; 321 }; 306 }; 322 307 323 firmware { 308 firmware { 324 scm { 309 scm { 325 compatible = "qcom,scm 310 compatible = "qcom,scm-msm8998", "qcom,scm"; 326 }; 311 }; 327 }; 312 }; 328 313 329 memory@80000000 { !! 314 memory { 330 device_type = "memory"; 315 device_type = "memory"; 331 /* We expect the bootloader to 316 /* We expect the bootloader to fill in the reg */ 332 reg = <0x0 0x80000000 0x0 0x0> !! 317 reg = <0 0 0 0>; 333 }; << 334 << 335 dsi_opp_table: opp-table-dsi { << 336 compatible = "operating-points << 337 << 338 opp-131250000 { << 339 opp-hz = /bits/ 64 <13 << 340 required-opps = <&rpmp << 341 }; << 342 << 343 opp-210000000 { << 344 opp-hz = /bits/ 64 <21 << 345 required-opps = <&rpmp << 346 }; << 347 << 348 opp-262500000 { << 349 opp-hz = /bits/ 64 <26 << 350 required-opps = <&rpmp << 351 }; << 352 }; 318 }; 353 319 354 pmu { 320 pmu { 355 compatible = "arm,armv8-pmuv3" 321 compatible = "arm,armv8-pmuv3"; 356 interrupts = <GIC_PPI 6 IRQ_TY 322 interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; 357 }; 323 }; 358 324 359 psci { 325 psci { 360 compatible = "arm,psci-1.0"; 326 compatible = "arm,psci-1.0"; 361 method = "smc"; 327 method = "smc"; 362 }; 328 }; 363 329 364 rpm: remoteproc { << 365 compatible = "qcom,sdm660-rpm- << 366 << 367 glink-edge { << 368 compatible = "qcom,gli << 369 << 370 interrupts = <GIC_SPI << 371 qcom,rpm-msg-ram = <&r << 372 mboxes = <&apcs_glb 0> << 373 << 374 rpm_requests: rpm-requ << 375 compatible = " << 376 qcom,glink-cha << 377 << 378 rpmcc: clock-c << 379 compat << 380 #clock << 381 }; << 382 << 383 rpmpd: power-c << 384 compat << 385 #power << 386 operat << 387 << 388 rpmpd_ << 389 << 390 << 391 << 392 << 393 << 394 << 395 << 396 << 397 << 398 << 399 << 400 << 401 << 402 << 403 << 404 << 405 << 406 << 407 << 408 << 409 << 410 << 411 << 412 << 413 << 414 << 415 << 416 << 417 << 418 << 419 << 420 << 421 << 422 << 423 << 424 << 425 << 426 }; << 427 }; << 428 }; << 429 }; << 430 }; << 431 << 432 reserved-memory { 330 reserved-memory { 433 #address-cells = <2>; 331 #address-cells = <2>; 434 #size-cells = <2>; 332 #size-cells = <2>; 435 ranges; 333 ranges; 436 334 437 wlan_msa_guard: wlan-msa-guard 335 wlan_msa_guard: wlan-msa-guard@85600000 { 438 reg = <0x0 0x85600000 336 reg = <0x0 0x85600000 0x0 0x100000>; 439 no-map; 337 no-map; 440 }; 338 }; 441 339 442 wlan_msa_mem: wlan-msa-mem@857 340 wlan_msa_mem: wlan-msa-mem@85700000 { 443 reg = <0x0 0x85700000 341 reg = <0x0 0x85700000 0x0 0x100000>; 444 no-map; 342 no-map; 445 }; 343 }; 446 344 447 qhee_code: qhee-code@85800000 345 qhee_code: qhee-code@85800000 { 448 reg = <0x0 0x85800000 346 reg = <0x0 0x85800000 0x0 0x600000>; 449 no-map; 347 no-map; 450 }; 348 }; 451 349 452 rmtfs_mem: memory@85e00000 { 350 rmtfs_mem: memory@85e00000 { 453 compatible = "qcom,rmt 351 compatible = "qcom,rmtfs-mem"; 454 reg = <0x0 0x85e00000 352 reg = <0x0 0x85e00000 0x0 0x200000>; 455 no-map; 353 no-map; 456 354 457 qcom,client-id = <1>; 355 qcom,client-id = <1>; 458 qcom,vmid = <QCOM_SCM_ !! 356 qcom,vmid = <15>; 459 }; 357 }; 460 358 461 smem_region: smem-mem@86000000 359 smem_region: smem-mem@86000000 { 462 reg = <0 0x86000000 0 360 reg = <0 0x86000000 0 0x200000>; 463 no-map; 361 no-map; 464 }; 362 }; 465 363 466 tz_mem: memory@86200000 { 364 tz_mem: memory@86200000 { 467 reg = <0x0 0x86200000 365 reg = <0x0 0x86200000 0x0 0x3300000>; 468 no-map; 366 no-map; 469 }; 367 }; 470 368 471 mpss_region: mpss@8ac00000 { 369 mpss_region: mpss@8ac00000 { 472 reg = <0x0 0x8ac00000 370 reg = <0x0 0x8ac00000 0x0 0x7e00000>; 473 no-map; 371 no-map; 474 }; 372 }; 475 373 476 adsp_region: adsp@92a00000 { 374 adsp_region: adsp@92a00000 { 477 reg = <0x0 0x92a00000 375 reg = <0x0 0x92a00000 0x0 0x1e00000>; 478 no-map; 376 no-map; 479 }; 377 }; 480 378 481 mba_region: mba@94800000 { 379 mba_region: mba@94800000 { 482 reg = <0x0 0x94800000 380 reg = <0x0 0x94800000 0x0 0x200000>; 483 no-map; 381 no-map; 484 }; 382 }; 485 383 486 buffer_mem: tzbuffer@94a00000 384 buffer_mem: tzbuffer@94a00000 { 487 reg = <0x0 0x94a00000 385 reg = <0x0 0x94a00000 0x0 0x100000>; 488 no-map; 386 no-map; 489 }; 387 }; 490 388 491 venus_region: venus@9f800000 { 389 venus_region: venus@9f800000 { 492 reg = <0x0 0x9f800000 390 reg = <0x0 0x9f800000 0x0 0x800000>; 493 no-map; 391 no-map; 494 }; 392 }; 495 393 496 adsp_mem: adsp-region@f6000000 394 adsp_mem: adsp-region@f6000000 { 497 reg = <0x0 0xf6000000 395 reg = <0x0 0xf6000000 0x0 0x800000>; 498 no-map; 396 no-map; 499 }; 397 }; 500 398 501 qseecom_mem: qseecom-region@f6 399 qseecom_mem: qseecom-region@f6800000 { 502 reg = <0x0 0xf6800000 400 reg = <0x0 0xf6800000 0x0 0x1400000>; 503 no-map; 401 no-map; 504 }; 402 }; 505 403 506 zap_shader_region: gpu@fed0000 404 zap_shader_region: gpu@fed00000 { 507 compatible = "shared-d 405 compatible = "shared-dma-pool"; 508 reg = <0x0 0xfed00000 406 reg = <0x0 0xfed00000 0x0 0xa00000>; 509 no-map; 407 no-map; 510 }; 408 }; 511 }; 409 }; 512 410 513 smem: smem { !! 411 rpm-glink { 514 compatible = "qcom,smem"; !! 412 compatible = "qcom,glink-rpm"; 515 memory-region = <&smem_region> << 516 hwlocks = <&tcsr_mutex 3>; << 517 }; << 518 413 519 smp2p-adsp { !! 414 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 520 compatible = "qcom,smp2p"; !! 415 qcom,rpm-msg-ram = <&rpm_msg_ram>; 521 qcom,smem = <443>, <429>; !! 416 mboxes = <&apcs_glb 0>; 522 interrupts = <GIC_SPI 158 IRQ_ !! 417 523 mboxes = <&apcs_glb 10>; !! 418 rpm_requests: rpm-requests { 524 qcom,local-pid = <0>; !! 419 compatible = "qcom,rpm-sdm660"; 525 qcom,remote-pid = <2>; !! 420 qcom,glink-channels = "rpm_requests"; 526 << 527 adsp_smp2p_out: master-kernel << 528 qcom,entry-name = "mas << 529 #qcom,smem-state-cells << 530 }; << 531 421 532 adsp_smp2p_in: slave-kernel { !! 422 rpmcc: clock-controller { 533 qcom,entry-name = "sla !! 423 compatible = "qcom,rpmcc-sdm660", "qcom,rpmcc"; 534 interrupt-controller; !! 424 #clock-cells = <1>; 535 #interrupt-cells = <2> !! 425 }; 536 }; 426 }; 537 }; 427 }; 538 428 539 smp2p-mpss { !! 429 smem: smem { 540 compatible = "qcom,smp2p"; !! 430 compatible = "qcom,smem"; 541 qcom,smem = <435>, <428>; !! 431 memory-region = <&smem_region>; 542 interrupts = <GIC_SPI 451 IRQ_ !! 432 hwlocks = <&tcsr_mutex 3>; 543 mboxes = <&apcs_glb 14>; << 544 qcom,local-pid = <0>; << 545 qcom,remote-pid = <1>; << 546 << 547 modem_smp2p_out: master-kernel << 548 qcom,entry-name = "mas << 549 #qcom,smem-state-cells << 550 }; << 551 << 552 modem_smp2p_in: slave-kernel { << 553 qcom,entry-name = "sla << 554 interrupt-controller; << 555 #interrupt-cells = <2> << 556 }; << 557 }; 433 }; 558 434 559 soc@0 { !! 435 soc { 560 #address-cells = <1>; 436 #address-cells = <1>; 561 #size-cells = <1>; 437 #size-cells = <1>; 562 ranges = <0 0 0 0xffffffff>; 438 ranges = <0 0 0 0xffffffff>; 563 compatible = "simple-bus"; 439 compatible = "simple-bus"; 564 440 565 gcc: clock-controller@100000 { 441 gcc: clock-controller@100000 { 566 compatible = "qcom,gcc 442 compatible = "qcom,gcc-sdm630"; 567 #clock-cells = <1>; 443 #clock-cells = <1>; 568 #reset-cells = <1>; 444 #reset-cells = <1>; 569 #power-domain-cells = 445 #power-domain-cells = <1>; 570 reg = <0x00100000 0x94 446 reg = <0x00100000 0x94000>; 571 447 572 clock-names = "xo", "s 448 clock-names = "xo", "sleep_clk"; 573 clocks = <&xo_board>, 449 clocks = <&xo_board>, 574 <&slee 450 <&sleep_clk>; 575 }; 451 }; 576 452 577 rpm_msg_ram: sram@778000 { !! 453 rpm_msg_ram: memory@778000 { 578 compatible = "qcom,rpm 454 compatible = "qcom,rpm-msg-ram"; 579 reg = <0x00778000 0x70 455 reg = <0x00778000 0x7000>; 580 }; 456 }; 581 457 582 qfprom: qfprom@780000 { 458 qfprom: qfprom@780000 { 583 compatible = "qcom,sdm !! 459 compatible = "qcom,qfprom"; 584 reg = <0x00780000 0x62 460 reg = <0x00780000 0x621c>; 585 #address-cells = <1>; 461 #address-cells = <1>; 586 #size-cells = <1>; 462 #size-cells = <1>; 587 << 588 qusb2_hstx_trim: hstx- << 589 reg = <0x243 0 << 590 bits = <1 3>; << 591 }; << 592 << 593 gpu_speed_bin: gpu-spe << 594 reg = <0x41a2 << 595 bits = <5 7>; << 596 }; << 597 }; 463 }; 598 464 599 rng: rng@793000 { 465 rng: rng@793000 { 600 compatible = "qcom,prn 466 compatible = "qcom,prng-ee"; 601 reg = <0x00793000 0x10 467 reg = <0x00793000 0x1000>; 602 clocks = <&gcc GCC_PRN 468 clocks = <&gcc GCC_PRNG_AHB_CLK>; 603 clock-names = "core"; 469 clock-names = "core"; 604 }; 470 }; 605 471 606 bimc: interconnect@1008000 { << 607 compatible = "qcom,sdm << 608 reg = <0x01008000 0x78 << 609 #interconnect-cells = << 610 }; << 611 << 612 restart@10ac000 { 472 restart@10ac000 { 613 compatible = "qcom,psh 473 compatible = "qcom,pshold"; 614 reg = <0x010ac000 0x4> 474 reg = <0x010ac000 0x4>; 615 }; 475 }; 616 476 617 cnoc: interconnect@1500000 { << 618 compatible = "qcom,sdm << 619 reg = <0x01500000 0x10 << 620 #interconnect-cells = << 621 }; << 622 << 623 snoc: interconnect@1626000 { << 624 compatible = "qcom,sdm << 625 reg = <0x01626000 0x70 << 626 #interconnect-cells = << 627 }; << 628 << 629 anoc2_smmu: iommu@16c0000 { 477 anoc2_smmu: iommu@16c0000 { 630 compatible = "qcom,sdm 478 compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 631 reg = <0x016c0000 0x40 479 reg = <0x016c0000 0x40000>; 632 #global-interrupts = < << 633 #iommu-cells = <1>; 480 #iommu-cells = <1>; 634 481 >> 482 #global-interrupts = <2>; 635 interrupts = 483 interrupts = 636 <GIC_SPI 229 I 484 <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 637 <GIC_SPI 231 I 485 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 638 486 639 <GIC_SPI 373 I 487 <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>, 640 <GIC_SPI 374 I 488 <GIC_SPI 374 IRQ_TYPE_LEVEL_LOW>, 641 <GIC_SPI 375 I 489 <GIC_SPI 375 IRQ_TYPE_LEVEL_LOW>, 642 <GIC_SPI 376 I 490 <GIC_SPI 376 IRQ_TYPE_LEVEL_LOW>, 643 <GIC_SPI 377 I 491 <GIC_SPI 377 IRQ_TYPE_LEVEL_LOW>, 644 <GIC_SPI 378 I 492 <GIC_SPI 378 IRQ_TYPE_LEVEL_LOW>, 645 <GIC_SPI 462 I 493 <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH>, 646 <GIC_SPI 463 I 494 <GIC_SPI 463 IRQ_TYPE_LEVEL_HIGH>, 647 <GIC_SPI 464 I 495 <GIC_SPI 464 IRQ_TYPE_LEVEL_HIGH>, 648 <GIC_SPI 465 I 496 <GIC_SPI 465 IRQ_TYPE_LEVEL_HIGH>, 649 <GIC_SPI 466 I 497 <GIC_SPI 466 IRQ_TYPE_LEVEL_HIGH>, 650 <GIC_SPI 467 I 498 <GIC_SPI 467 IRQ_TYPE_LEVEL_HIGH>, 651 <GIC_SPI 353 I 499 <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>, 652 <GIC_SPI 354 I 500 <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>, 653 <GIC_SPI 355 I 501 <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>, 654 <GIC_SPI 356 I 502 <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>, 655 <GIC_SPI 357 I 503 <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>, 656 <GIC_SPI 358 I 504 <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 657 <GIC_SPI 359 I 505 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 658 <GIC_SPI 360 I 506 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 659 <GIC_SPI 442 I 507 <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>, 660 <GIC_SPI 443 I 508 <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>, 661 <GIC_SPI 444 I 509 <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, 662 <GIC_SPI 447 I 510 <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>, 663 <GIC_SPI 468 I 511 <GIC_SPI 468 IRQ_TYPE_LEVEL_HIGH>, 664 <GIC_SPI 469 I 512 <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>, 665 <GIC_SPI 472 I 513 <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>, 666 <GIC_SPI 473 I 514 <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>, 667 <GIC_SPI 474 I 515 <GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>; 668 516 669 status = "disabled"; 517 status = "disabled"; 670 }; 518 }; 671 519 672 a2noc: interconnect@1704000 { !! 520 tcsr_mutex_regs: syscon@1f40000 { 673 compatible = "qcom,sdm !! 521 compatible = "syscon"; 674 reg = <0x01704000 0xc1 << 675 #interconnect-cells = << 676 clock-names = "ipa", << 677 "ufs_axi << 678 "aggre2_ << 679 "aggre2_ << 680 "cfg_noc << 681 clocks = <&rpmcc RPM_S << 682 <&gcc GCC_UFS << 683 <&gcc GCC_AGG << 684 <&gcc GCC_AGG << 685 <&gcc GCC_CFG << 686 }; << 687 << 688 mnoc: interconnect@1745000 { << 689 compatible = "qcom,sdm << 690 reg = <0x01745000 0xa0 << 691 #interconnect-cells = << 692 clock-names = "iface"; << 693 clocks = <&mmcc AHB_CL << 694 }; << 695 << 696 tsens: thermal-sensor@10ae000 << 697 compatible = "qcom,sdm << 698 reg = <0x010ae000 0x10 << 699 <0x010ad000 << 700 #qcom,sensors = <12>; << 701 interrupts = <GIC_SPI << 702 <GIC_ << 703 interrupt-names = "upl << 704 #thermal-sensor-cells << 705 }; << 706 << 707 tcsr_mutex: hwlock@1f40000 { << 708 compatible = "qcom,tcs << 709 reg = <0x01f40000 0x20 522 reg = <0x01f40000 0x20000>; 710 #hwlock-cells = <1>; << 711 }; << 712 << 713 tcsr_regs_1: syscon@1f60000 { << 714 compatible = "qcom,sdm << 715 reg = <0x01f60000 0x20 << 716 }; 523 }; 717 524 718 tlmm: pinctrl@3100000 { 525 tlmm: pinctrl@3100000 { 719 compatible = "qcom,sdm 526 compatible = "qcom,sdm630-pinctrl"; 720 reg = <0x03100000 0x40 527 reg = <0x03100000 0x400000>, 721 <0x03500000 528 <0x03500000 0x400000>, 722 <0x03900000 529 <0x03900000 0x400000>; 723 reg-names = "south", " 530 reg-names = "south", "center", "north"; 724 interrupts = <GIC_SPI 531 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 725 gpio-controller; 532 gpio-controller; 726 gpio-ranges = <&tlmm 0 533 gpio-ranges = <&tlmm 0 0 114>; 727 #gpio-cells = <2>; 534 #gpio-cells = <2>; 728 interrupt-controller; 535 interrupt-controller; 729 #interrupt-cells = <2> 536 #interrupt-cells = <2>; 730 537 731 blsp1_uart1_default: b !! 538 blsp1_uart1_default: blsp1-uart1-default { 732 pins = "gpio0" 539 pins = "gpio0", "gpio1", "gpio2", "gpio3"; 733 function = "bl << 734 drive-strength 540 drive-strength = <2>; 735 bias-disable; 541 bias-disable; 736 }; 542 }; 737 543 738 blsp1_uart1_sleep: bls !! 544 blsp1_uart1_sleep: blsp1-uart1-sleep { 739 pins = "gpio0" 545 pins = "gpio0", "gpio1", "gpio2", "gpio3"; 740 function = "gp << 741 drive-strength 546 drive-strength = <2>; 742 bias-disable; 547 bias-disable; 743 }; 548 }; 744 549 745 blsp1_uart2_default: b !! 550 blsp1_uart2_default: blsp1-uart2-default { 746 pins = "gpio4" 551 pins = "gpio4", "gpio5"; 747 function = "bl << 748 drive-strength 552 drive-strength = <2>; 749 bias-disable; 553 bias-disable; 750 }; 554 }; 751 555 752 blsp2_uart1_default: b !! 556 blsp2_uart1_default: blsp2-uart1-active { 753 tx-rts-pins { !! 557 tx-rts { 754 pins = 558 pins = "gpio16", "gpio19"; 755 functi 559 function = "blsp_uart5"; 756 drive- 560 drive-strength = <2>; 757 bias-d 561 bias-disable; 758 }; 562 }; 759 563 760 rx-pins { !! 564 rx { 761 /* 565 /* 762 * Avo 566 * Avoid garbage data while BT module 763 * is 567 * is powered off or not driving signal 764 */ 568 */ 765 pins = 569 pins = "gpio17"; 766 functi 570 function = "blsp_uart5"; 767 drive- 571 drive-strength = <2>; 768 bias-p 572 bias-pull-up; 769 }; 573 }; 770 574 771 cts-pins { !! 575 cts { 772 /* Mat 576 /* Match the pull of the BT module */ 773 pins = 577 pins = "gpio18"; 774 functi 578 function = "blsp_uart5"; 775 drive- 579 drive-strength = <2>; 776 bias-p 580 bias-pull-down; 777 }; 581 }; 778 }; 582 }; 779 583 780 blsp2_uart1_sleep: bls !! 584 blsp2_uart1_sleep: blsp2-uart1-sleep { 781 tx-pins { !! 585 tx { 782 pins = 586 pins = "gpio16"; 783 functi 587 function = "gpio"; 784 drive- 588 drive-strength = <2>; 785 bias-p 589 bias-pull-up; 786 }; 590 }; 787 591 788 rx-cts-rts-pin !! 592 rx-cts-rts { 789 pins = 593 pins = "gpio17", "gpio18", "gpio19"; 790 functi 594 function = "gpio"; 791 drive- 595 drive-strength = <2>; 792 bias-d 596 bias-disable; 793 }; 597 }; 794 }; 598 }; 795 599 796 i2c1_default: i2c1-def !! 600 i2c1_default: i2c1-default { 797 pins = "gpio2" 601 pins = "gpio2", "gpio3"; 798 function = "bl << 799 drive-strength 602 drive-strength = <2>; 800 bias-disable; 603 bias-disable; 801 }; 604 }; 802 605 803 i2c1_sleep: i2c1-sleep !! 606 i2c1_sleep: i2c1-sleep { 804 pins = "gpio2" 607 pins = "gpio2", "gpio3"; 805 function = "bl << 806 drive-strength 608 drive-strength = <2>; 807 bias-pull-up; 609 bias-pull-up; 808 }; 610 }; 809 611 810 i2c2_default: i2c2-def !! 612 i2c2_default: i2c2-default { 811 pins = "gpio6" 613 pins = "gpio6", "gpio7"; 812 function = "bl << 813 drive-strength 614 drive-strength = <2>; 814 bias-disable; 615 bias-disable; 815 }; 616 }; 816 617 817 i2c2_sleep: i2c2-sleep !! 618 i2c2_sleep: i2c2-sleep { 818 pins = "gpio6" 619 pins = "gpio6", "gpio7"; 819 function = "bl << 820 drive-strength 620 drive-strength = <2>; 821 bias-pull-up; 621 bias-pull-up; 822 }; 622 }; 823 623 824 i2c3_default: i2c3-def !! 624 i2c3_default: i2c3-default { 825 pins = "gpio10 625 pins = "gpio10", "gpio11"; 826 function = "bl << 827 drive-strength 626 drive-strength = <2>; 828 bias-disable; 627 bias-disable; 829 }; 628 }; 830 629 831 i2c3_sleep: i2c3-sleep !! 630 i2c3_sleep: i2c3-sleep { 832 pins = "gpio10 631 pins = "gpio10", "gpio11"; 833 function = "bl << 834 drive-strength 632 drive-strength = <2>; 835 bias-pull-up; 633 bias-pull-up; 836 }; 634 }; 837 635 838 i2c4_default: i2c4-def !! 636 i2c4_default: i2c4-default { 839 pins = "gpio14 637 pins = "gpio14", "gpio15"; 840 function = "bl << 841 drive-strength 638 drive-strength = <2>; 842 bias-disable; 639 bias-disable; 843 }; 640 }; 844 641 845 i2c4_sleep: i2c4-sleep !! 642 i2c4_sleep: i2c4-sleep { 846 pins = "gpio14 643 pins = "gpio14", "gpio15"; 847 function = "bl << 848 drive-strength 644 drive-strength = <2>; 849 bias-pull-up; 645 bias-pull-up; 850 }; 646 }; 851 647 852 i2c5_default: i2c5-def !! 648 i2c5_default: i2c5-default { 853 pins = "gpio18 649 pins = "gpio18", "gpio19"; 854 function = "bl << 855 drive-strength 650 drive-strength = <2>; 856 bias-disable; 651 bias-disable; 857 }; 652 }; 858 653 859 i2c5_sleep: i2c5-sleep !! 654 i2c5_sleep: i2c5-sleep { 860 pins = "gpio18 655 pins = "gpio18", "gpio19"; 861 function = "bl << 862 drive-strength 656 drive-strength = <2>; 863 bias-pull-up; 657 bias-pull-up; 864 }; 658 }; 865 659 866 i2c6_default: i2c6-def !! 660 i2c6_default: i2c6-default { 867 pins = "gpio22 661 pins = "gpio22", "gpio23"; 868 function = "bl << 869 drive-strength 662 drive-strength = <2>; 870 bias-disable; 663 bias-disable; 871 }; 664 }; 872 665 873 i2c6_sleep: i2c6-sleep !! 666 i2c6_sleep: i2c6-sleep { 874 pins = "gpio22 667 pins = "gpio22", "gpio23"; 875 function = "bl << 876 drive-strength 668 drive-strength = <2>; 877 bias-pull-up; 669 bias-pull-up; 878 }; 670 }; 879 671 880 i2c7_default: i2c7-def !! 672 i2c7_default: i2c7-default { 881 pins = "gpio26 673 pins = "gpio26", "gpio27"; 882 function = "bl << 883 drive-strength 674 drive-strength = <2>; 884 bias-disable; 675 bias-disable; 885 }; 676 }; 886 677 887 i2c7_sleep: i2c7-sleep !! 678 i2c7_sleep: i2c7-sleep { 888 pins = "gpio26 679 pins = "gpio26", "gpio27"; 889 function = "bl << 890 drive-strength 680 drive-strength = <2>; 891 bias-pull-up; 681 bias-pull-up; 892 }; 682 }; 893 683 894 i2c8_default: i2c8-def !! 684 i2c8_default: i2c8-default { 895 pins = "gpio30 685 pins = "gpio30", "gpio31"; 896 function = "bl << 897 drive-strength 686 drive-strength = <2>; 898 bias-disable; 687 bias-disable; 899 }; 688 }; 900 689 901 i2c8_sleep: i2c8-sleep !! 690 i2c8_sleep: i2c8-sleep { 902 pins = "gpio30 691 pins = "gpio30", "gpio31"; 903 function = "bl << 904 drive-strength 692 drive-strength = <2>; 905 bias-pull-up; 693 bias-pull-up; 906 }; 694 }; 907 695 908 cci0_default: cci0-def !! 696 sdc1_state_on: sdc1-on { 909 pins = "gpio36 !! 697 clk { 910 function = "cc << 911 bias-pull-up; << 912 drive-strength << 913 }; << 914 << 915 cci1_default: cci1-def << 916 pins = "gpio38 << 917 function = "cc << 918 bias-pull-up; << 919 drive-strength << 920 }; << 921 << 922 sdc1_state_on: sdc1-on << 923 clk-pins { << 924 pins = 698 pins = "sdc1_clk"; 925 bias-d 699 bias-disable; 926 drive- 700 drive-strength = <16>; 927 }; 701 }; 928 702 929 cmd-pins { !! 703 cmd { 930 pins = 704 pins = "sdc1_cmd"; 931 bias-p 705 bias-pull-up; 932 drive- 706 drive-strength = <10>; 933 }; 707 }; 934 708 935 data-pins { !! 709 data { 936 pins = 710 pins = "sdc1_data"; 937 bias-p 711 bias-pull-up; 938 drive- 712 drive-strength = <10>; 939 }; 713 }; 940 714 941 rclk-pins { !! 715 rclk { 942 pins = 716 pins = "sdc1_rclk"; 943 bias-p 717 bias-pull-down; 944 }; 718 }; 945 }; 719 }; 946 720 947 sdc1_state_off: sdc1-o !! 721 sdc1_state_off: sdc1-off { 948 clk-pins { !! 722 clk { 949 pins = 723 pins = "sdc1_clk"; 950 bias-d 724 bias-disable; 951 drive- 725 drive-strength = <2>; 952 }; 726 }; 953 727 954 cmd-pins { !! 728 cmd { 955 pins = 729 pins = "sdc1_cmd"; 956 bias-p 730 bias-pull-up; 957 drive- 731 drive-strength = <2>; 958 }; 732 }; 959 733 960 data-pins { !! 734 data { 961 pins = 735 pins = "sdc1_data"; 962 bias-p 736 bias-pull-up; 963 drive- 737 drive-strength = <2>; 964 }; 738 }; 965 739 966 rclk-pins { !! 740 rclk { 967 pins = 741 pins = "sdc1_rclk"; 968 bias-p 742 bias-pull-down; 969 }; 743 }; 970 }; 744 }; 971 745 972 sdc2_state_on: sdc2-on !! 746 sdc2_state_on: sdc2-on { 973 clk-pins { !! 747 clk { 974 pins = 748 pins = "sdc2_clk"; 975 bias-d 749 bias-disable; 976 drive- 750 drive-strength = <16>; 977 }; 751 }; 978 752 979 cmd-pins { !! 753 cmd { 980 pins = 754 pins = "sdc2_cmd"; 981 bias-p 755 bias-pull-up; 982 drive- 756 drive-strength = <10>; 983 }; 757 }; 984 758 985 data-pins { !! 759 data { 986 pins = 760 pins = "sdc2_data"; 987 bias-p 761 bias-pull-up; 988 drive- 762 drive-strength = <10>; 989 }; 763 }; >> 764 >> 765 sd-cd { >> 766 pins = "gpio54"; >> 767 bias-pull-up; >> 768 drive-strength = <2>; >> 769 }; 990 }; 770 }; 991 771 992 sdc2_state_off: sdc2-o !! 772 sdc2_state_off: sdc2-off { 993 clk-pins { !! 773 clk { 994 pins = 774 pins = "sdc2_clk"; 995 bias-d 775 bias-disable; 996 drive- 776 drive-strength = <2>; 997 }; 777 }; 998 778 999 cmd-pins { !! 779 cmd { 1000 pins 780 pins = "sdc2_cmd"; 1001 bias- 781 bias-pull-up; 1002 drive 782 drive-strength = <2>; 1003 }; 783 }; 1004 784 1005 data-pins { !! 785 data { 1006 pins 786 pins = "sdc2_data"; 1007 bias- 787 bias-pull-up; 1008 drive 788 drive-strength = <2>; 1009 }; 789 }; 1010 }; << 1011 }; << 1012 << 1013 remoteproc_mss: remoteproc@40 << 1014 compatible = "qcom,sd << 1015 reg = <0x04080000 0x1 << 1016 reg-names = "qdsp6", << 1017 << 1018 interrupts-extended = << 1019 << 1020 << 1021 << 1022 << 1023 << 1024 interrupt-names = "wd << 1025 "fa << 1026 "re << 1027 "ha << 1028 "st << 1029 "sh << 1030 << 1031 clocks = <&gcc GCC_MS << 1032 <&gcc GCC_BI << 1033 <&gcc GCC_BO << 1034 <&gcc GPLL0_ << 1035 <&gcc GCC_MS << 1036 <&gcc GCC_MS << 1037 <&rpmcc RPM_ << 1038 <&rpmcc RPM_ << 1039 clock-names = "iface" << 1040 "bus", << 1041 "mem", << 1042 "gpll0_ << 1043 "snoc_a << 1044 "mnoc_a << 1045 "qdss", << 1046 "xo"; << 1047 << 1048 qcom,smem-states = <& << 1049 qcom,smem-state-names << 1050 << 1051 resets = <&gcc GCC_MS << 1052 reset-names = "mss_re << 1053 << 1054 qcom,halt-regs = <&tc << 1055 << 1056 power-domains = <&rpm << 1057 <&rpm << 1058 power-domain-names = << 1059 << 1060 memory-region = <&mba << 1061 << 1062 status = "disabled"; << 1063 << 1064 glink-edge { << 1065 interrupts = << 1066 label = "mode << 1067 qcom,remote-p << 1068 mboxes = <&ap << 1069 }; << 1070 }; << 1071 << 1072 adreno_gpu: gpu@5000000 { << 1073 compatible = "qcom,ad << 1074 790 1075 reg = <0x05000000 0x4 !! 791 sd-cd { 1076 reg-names = "kgsl_3d0 !! 792 pins = "gpio54"; 1077 !! 793 bias-disable; 1078 interrupts = <GIC_SPI !! 794 drive-strength = <2>; 1079 << 1080 clocks = <&gcc GCC_GP << 1081 <&gpucc GPUCC << 1082 <&gcc GCC_BIM << 1083 <&gcc GCC_GPU << 1084 <&gpucc GPUCC << 1085 <&gpucc GPUCC << 1086 << 1087 clock-names = "iface" << 1088 "rbbmtimer", << 1089 "mem", << 1090 "mem_iface", << 1091 "rbcpr", << 1092 "core"; << 1093 << 1094 power-domains = <&rpm << 1095 iommus = <&kgsl_smmu << 1096 << 1097 nvmem-cells = <&gpu_s << 1098 nvmem-cell-names = "s << 1099 << 1100 interconnects = <&bim << 1101 interconnect-names = << 1102 << 1103 operating-points-v2 = << 1104 #cooling-cells = <2>; << 1105 << 1106 status = "disabled"; << 1107 << 1108 gpu_sdm630_opp_table: << 1109 compatible = << 1110 opp-775000000 << 1111 opp-h << 1112 opp-l << 1113 opp-p << 1114 opp-s << 1115 }; << 1116 opp-647000000 << 1117 opp-h << 1118 opp-l << 1119 opp-p << 1120 opp-s << 1121 }; << 1122 opp-588000000 << 1123 opp-h << 1124 opp-l << 1125 opp-p << 1126 opp-s << 1127 }; << 1128 opp-465000000 << 1129 opp-h << 1130 opp-l << 1131 opp-p << 1132 opp-s << 1133 }; << 1134 opp-370000000 << 1135 opp-h << 1136 opp-l << 1137 opp-p << 1138 opp-s << 1139 }; << 1140 opp-240000000 << 1141 opp-h << 1142 opp-l << 1143 opp-p << 1144 opp-s << 1145 }; << 1146 opp-160000000 << 1147 opp-h << 1148 opp-l << 1149 opp-p << 1150 opp-s << 1151 }; 795 }; 1152 }; 796 }; 1153 }; 797 }; 1154 798 1155 kgsl_smmu: iommu@5040000 { 799 kgsl_smmu: iommu@5040000 { 1156 compatible = "qcom,sd !! 800 compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 1157 "qcom,ad << 1158 reg = <0x05040000 0x1 801 reg = <0x05040000 0x10000>; 1159 << 1160 /* << 1161 * GX GDSC parent is << 1162 * but we need both u << 1163 * need to manage the << 1164 * Enable CX/GX GDSCs << 1165 * RPM Power Domain i << 1166 */ << 1167 power-domains = <&gpu << 1168 clocks = <&gcc GCC_GP << 1169 <&gcc GCC_BI << 1170 <&gcc GCC_GP << 1171 clock-names = "iface" << 1172 "mem", << 1173 "mem_if << 1174 #global-interrupts = << 1175 #iommu-cells = <1>; 802 #iommu-cells = <1>; 1176 803 >> 804 #global-interrupts = <2>; 1177 interrupts = 805 interrupts = 1178 <GIC_SPI 229 806 <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 1179 <GIC_SPI 231 807 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 1180 808 1181 <GIC_SPI 329 809 <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>, 1182 <GIC_SPI 330 810 <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 1183 <GIC_SPI 331 811 <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>, 1184 <GIC_SPI 332 812 <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>, 1185 <GIC_SPI 116 813 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 1186 <GIC_SPI 117 814 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 1187 <GIC_SPI 349 815 <GIC_SPI 349 IRQ_TYPE_LEVEL_HIGH>, 1188 <GIC_SPI 350 816 <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>; 1189 817 1190 status = "disabled"; 818 status = "disabled"; 1191 }; 819 }; 1192 820 1193 gpucc: clock-controller@50650 << 1194 compatible = "qcom,gp << 1195 #clock-cells = <1>; << 1196 #reset-cells = <1>; << 1197 #power-domain-cells = << 1198 reg = <0x05065000 0x9 << 1199 << 1200 clocks = <&xo_board>, << 1201 <&gcc GCC_GP << 1202 <&gcc GCC_GP << 1203 clock-names = "xo", << 1204 "gcc_gp << 1205 "gcc_gp << 1206 status = "disabled"; << 1207 }; << 1208 << 1209 lpass_smmu: iommu@5100000 { 821 lpass_smmu: iommu@5100000 { 1210 compatible = "qcom,sd 822 compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 1211 reg = <0x05100000 0x4 823 reg = <0x05100000 0x40000>; 1212 #iommu-cells = <1>; 824 #iommu-cells = <1>; 1213 825 1214 #global-interrupts = 826 #global-interrupts = <2>; 1215 interrupts = 827 interrupts = 1216 <GIC_SPI 229 828 <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 1217 <GIC_SPI 231 829 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 1218 830 1219 <GIC_SPI 226 831 <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, 1220 <GIC_SPI 393 832 <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>, 1221 <GIC_SPI 394 833 <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>, 1222 <GIC_SPI 395 834 <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 1223 <GIC_SPI 396 835 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 1224 <GIC_SPI 397 836 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 1225 <GIC_SPI 398 837 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 1226 <GIC_SPI 399 838 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 1227 <GIC_SPI 400 839 <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 1228 <GIC_SPI 401 840 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 1229 <GIC_SPI 402 841 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 1230 <GIC_SPI 403 842 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 1231 <GIC_SPI 137 843 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, 1232 <GIC_SPI 224 844 <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>, 1233 <GIC_SPI 225 845 <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>, 1234 <GIC_SPI 310 846 <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>, 1235 <GIC_SPI 404 847 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>; 1236 848 1237 status = "disabled"; 849 status = "disabled"; 1238 }; 850 }; 1239 851 1240 sram@290000 { << 1241 compatible = "qcom,rp << 1242 reg = <0x00290000 0x1 << 1243 }; << 1244 << 1245 spmi_bus: spmi@800f000 { 852 spmi_bus: spmi@800f000 { 1246 compatible = "qcom,sp 853 compatible = "qcom,spmi-pmic-arb"; 1247 reg = <0x0800f000 0x1 !! 854 reg = <0x0800f000 0x1000>, 1248 <0x08400000 0x1 !! 855 <0x08400000 0x1000000>, 1249 <0x09400000 0x1 !! 856 <0x09400000 0x1000000>, 1250 <0x0a400000 0x2 !! 857 <0x0a400000 0x220000>, 1251 <0x0800a000 0x3 !! 858 <0x0800a000 0x3000>; 1252 reg-names = "core", " 859 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg"; 1253 interrupt-names = "pe 860 interrupt-names = "periph_irq"; 1254 interrupts = <GIC_SPI 861 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>; 1255 qcom,ee = <0>; 862 qcom,ee = <0>; 1256 qcom,channel = <0>; 863 qcom,channel = <0>; 1257 #address-cells = <2>; 864 #address-cells = <2>; 1258 #size-cells = <0>; 865 #size-cells = <0>; 1259 interrupt-controller; 866 interrupt-controller; 1260 #interrupt-cells = <4 867 #interrupt-cells = <4>; >> 868 cell-index = <0>; 1261 }; 869 }; 1262 870 1263 usb3: usb@a8f8800 { !! 871 sdhc_1: sdhci@c0c4000 { 1264 compatible = "qcom,sd << 1265 reg = <0x0a8f8800 0x4 << 1266 status = "disabled"; << 1267 #address-cells = <1>; << 1268 #size-cells = <1>; << 1269 ranges; << 1270 << 1271 clocks = <&gcc GCC_CF << 1272 <&gcc GCC_US << 1273 <&gcc GCC_AG << 1274 <&gcc GCC_US << 1275 <&gcc GCC_US << 1276 clock-names = "cfg_no << 1277 "core", << 1278 "iface" << 1279 "sleep" << 1280 "mock_u << 1281 << 1282 assigned-clocks = <&g << 1283 <&g << 1284 assigned-clock-rates << 1285 << 1286 interrupts = <GIC_SPI << 1287 <GIC_SPI << 1288 <GIC_SPI << 1289 <GIC_SPI << 1290 interrupt-names = "pw << 1291 "qu << 1292 "hs << 1293 "ss << 1294 << 1295 power-domains = <&gcc << 1296 << 1297 resets = <&gcc GCC_US << 1298 << 1299 usb3_dwc3: usb@a80000 << 1300 compatible = << 1301 reg = <0x0a80 << 1302 interrupts = << 1303 snps,dis_u2_s << 1304 snps,dis_enbl << 1305 snps,parkmode << 1306 << 1307 phys = <&qusb << 1308 phy-names = " << 1309 snps,hird-thr << 1310 }; << 1311 }; << 1312 << 1313 usb3_qmpphy: phy@c010000 { << 1314 compatible = "qcom,sd << 1315 reg = <0x0c010000 0x1 << 1316 << 1317 clocks = <&gcc GCC_US << 1318 <&gcc GCC_US << 1319 <&gcc GCC_US << 1320 <&gcc GCC_US << 1321 clock-names = "aux", << 1322 "ref", << 1323 "cfg_ah << 1324 "pipe"; << 1325 clock-output-names = << 1326 #clock-cells = <0>; << 1327 #phy-cells = <0>; << 1328 << 1329 resets = <&gcc GCC_US << 1330 <&gcc GCC_US << 1331 reset-names = "phy", << 1332 "phy_ph << 1333 << 1334 qcom,tcsr-reg = <&tcs << 1335 << 1336 status = "disabled"; << 1337 }; << 1338 << 1339 qusb2phy0: phy@c012000 { << 1340 compatible = "qcom,sd << 1341 reg = <0x0c012000 0x1 << 1342 #phy-cells = <0>; << 1343 << 1344 clocks = <&gcc GCC_US << 1345 <&gcc GCC_RX << 1346 clock-names = "cfg_ah << 1347 << 1348 resets = <&gcc GCC_QU << 1349 nvmem-cells = <&qusb2 << 1350 status = "disabled"; << 1351 }; << 1352 << 1353 qusb2phy1: phy@c014000 { << 1354 compatible = "qcom,sd << 1355 reg = <0x0c014000 0x1 << 1356 #phy-cells = <0>; << 1357 << 1358 clocks = <&gcc GCC_US << 1359 <&gcc GCC_RX << 1360 clock-names = "cfg_ah << 1361 << 1362 resets = <&gcc GCC_QU << 1363 nvmem-cells = <&qusb2 << 1364 status = "disabled"; << 1365 }; << 1366 << 1367 sdhc_2: mmc@c084000 { << 1368 compatible = "qcom,sd << 1369 reg = <0x0c084000 0x1 << 1370 reg-names = "hc"; << 1371 << 1372 interrupts = <GIC_SPI << 1373 <GIC_ << 1374 interrupt-names = "hc << 1375 << 1376 bus-width = <4>; << 1377 << 1378 clocks = <&gcc GCC_SD << 1379 <&gcc << 1380 <&xo_ << 1381 clock-names = "iface" << 1382 << 1383 << 1384 interconnects = <&a2n << 1385 <&gno << 1386 interconnect-names = << 1387 operating-points-v2 = << 1388 << 1389 pinctrl-names = "defa << 1390 pinctrl-0 = <&sdc2_st << 1391 pinctrl-1 = <&sdc2_st << 1392 power-domains = <&rpm << 1393 << 1394 status = "disabled"; << 1395 << 1396 sdhc2_opp_table: opp- << 1397 compatible = << 1398 << 1399 opp-50000000 << 1400 opp-h << 1401 requi << 1402 opp-p << 1403 opp-a << 1404 }; << 1405 opp-10000000 << 1406 opp-h << 1407 requi << 1408 opp-p << 1409 opp-a << 1410 }; << 1411 opp-20000000 << 1412 opp-h << 1413 requi << 1414 opp-p << 1415 opp-a << 1416 }; << 1417 }; << 1418 }; << 1419 << 1420 sdhc_1: mmc@c0c4000 { << 1421 compatible = "qcom,sd 872 compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5"; 1422 reg = <0x0c0c4000 0x1 873 reg = <0x0c0c4000 0x1000>, 1423 <0x0c0c5000 0x1 !! 874 <0x0c0c5000 0x1000>; 1424 <0x0c0c8000 0x8 !! 875 reg-names = "hc", "cqhci"; 1425 reg-names = "hc", "cq << 1426 876 1427 interrupts = <GIC_SPI 877 interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 1428 <GIC_ 878 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 1429 interrupt-names = "hc 879 interrupt-names = "hc_irq", "pwr_irq"; 1430 880 1431 clocks = <&gcc GCC_SD !! 881 clocks = <&gcc GCC_SDCC1_APPS_CLK>, 1432 <&gcc GCC_SD !! 882 <&gcc GCC_SDCC1_AHB_CLK>, 1433 <&xo_board>, !! 883 <&xo_board>; 1434 <&gcc GCC_SD !! 884 clock-names = "core", "iface", "xo"; 1435 clock-names = "iface" !! 885 1436 << 1437 interconnects = <&a2n << 1438 <&gno << 1439 interconnect-names = << 1440 operating-points-v2 = << 1441 pinctrl-names = "defa 886 pinctrl-names = "default", "sleep"; 1442 pinctrl-0 = <&sdc1_st 887 pinctrl-0 = <&sdc1_state_on>; 1443 pinctrl-1 = <&sdc1_st 888 pinctrl-1 = <&sdc1_state_off>; 1444 power-domains = <&rpm << 1445 889 1446 bus-width = <8>; 890 bus-width = <8>; 1447 non-removable; 891 non-removable; 1448 892 1449 status = "disabled"; 893 status = "disabled"; 1450 << 1451 sdhc1_opp_table: opp- << 1452 compatible = << 1453 << 1454 opp-50000000 << 1455 opp-h << 1456 requi << 1457 opp-p << 1458 opp-a << 1459 }; << 1460 opp-100000000 << 1461 opp-h << 1462 requi << 1463 opp-p << 1464 opp-a << 1465 }; << 1466 opp-384000000 << 1467 opp-h << 1468 requi << 1469 opp-p << 1470 opp-a << 1471 }; << 1472 }; << 1473 }; << 1474 << 1475 usb2: usb@c2f8800 { << 1476 compatible = "qcom,sd << 1477 reg = <0x0c2f8800 0x4 << 1478 status = "disabled"; << 1479 #address-cells = <1>; << 1480 #size-cells = <1>; << 1481 ranges; << 1482 << 1483 clocks = <&gcc GCC_CF << 1484 <&gcc GCC_US << 1485 <&gcc GCC_US << 1486 <&gcc GCC_US << 1487 clock-names = "cfg_no << 1488 "sleep" << 1489 << 1490 assigned-clocks = <&g << 1491 <&g << 1492 assigned-clock-rates << 1493 << 1494 interrupts = <GIC_SPI << 1495 <GIC_SPI << 1496 <GIC_SPI << 1497 interrupt-names = "pw << 1498 "qu << 1499 "hs << 1500 << 1501 qcom,select-utmi-as-p << 1502 << 1503 resets = <&gcc GCC_US << 1504 << 1505 usb2_dwc3: usb@c20000 << 1506 compatible = << 1507 reg = <0x0c20 << 1508 interrupts = << 1509 snps,dis_u2_s << 1510 snps,dis_enbl << 1511 << 1512 /* This is th << 1513 maximum-speed << 1514 phys = <&qusb << 1515 phy-names = " << 1516 snps,hird-thr << 1517 }; << 1518 }; << 1519 << 1520 mmcc: clock-controller@c8c000 << 1521 compatible = "qcom,mm << 1522 reg = <0x0c8c0000 0x4 << 1523 #clock-cells = <1>; << 1524 #reset-cells = <1>; << 1525 #power-domain-cells = << 1526 clock-names = "xo", << 1527 "slee << 1528 "gpll << 1529 "gpll << 1530 "dsi0 << 1531 "dsi0 << 1532 "dsi1 << 1533 "dsi1 << 1534 "dp_l << 1535 "dp_v << 1536 clocks = <&rpmcc RPM_ << 1537 <&sle << 1538 <&gcc << 1539 <&gcc << 1540 <&mds << 1541 <&mds << 1542 <0>, << 1543 <0>, << 1544 <0>, << 1545 <0>; << 1546 }; << 1547 << 1548 mdss: display-subsystem@c9000 << 1549 compatible = "qcom,md << 1550 reg = <0x0c900000 0x1 << 1551 <0x0c9b0000 0x1 << 1552 reg-names = "mdss_phy << 1553 << 1554 power-domains = <&mmc << 1555 << 1556 clocks = <&mmcc MDSS_ << 1557 <&mmcc MDSS_ << 1558 <&mmcc MDSS_ << 1559 <&mmcc MDSS_ << 1560 clock-names = "iface" << 1561 "bus", << 1562 "vsync" << 1563 "core"; << 1564 << 1565 interrupts = <GIC_SPI << 1566 << 1567 interrupt-controller; << 1568 #interrupt-cells = <1 << 1569 << 1570 #address-cells = <1>; << 1571 #size-cells = <1>; << 1572 ranges; << 1573 status = "disabled"; << 1574 << 1575 mdp: display-controll << 1576 compatible = << 1577 reg = <0x0c90 << 1578 reg-names = " << 1579 << 1580 interrupt-par << 1581 interrupts = << 1582 << 1583 assigned-cloc << 1584 << 1585 assigned-cloc << 1586 << 1587 clocks = <&mm << 1588 <&mm << 1589 <&mm << 1590 <&mm << 1591 clock-names = << 1592 << 1593 << 1594 << 1595 << 1596 interconnects << 1597 << 1598 << 1599 interconnect- << 1600 << 1601 << 1602 iommus = <&mm << 1603 operating-poi << 1604 power-domains << 1605 << 1606 ports { << 1607 #addr << 1608 #size << 1609 << 1610 port@ << 1611 << 1612 << 1613 << 1614 << 1615 }; << 1616 }; << 1617 << 1618 mdp_opp_table << 1619 compa << 1620 << 1621 opp-1 << 1622 << 1623 << 1624 << 1625 }; << 1626 opp-2 << 1627 << 1628 << 1629 << 1630 }; << 1631 opp-3 << 1632 << 1633 << 1634 << 1635 }; << 1636 opp-3 << 1637 << 1638 << 1639 << 1640 }; << 1641 opp-4 << 1642 << 1643 << 1644 << 1645 }; << 1646 }; << 1647 }; << 1648 << 1649 mdss_dsi0: dsi@c99400 << 1650 compatible = << 1651 << 1652 reg = <0x0c99 << 1653 reg-names = " << 1654 << 1655 operating-poi << 1656 power-domains << 1657 << 1658 interrupt-par << 1659 interrupts = << 1660 << 1661 assigned-cloc << 1662 << 1663 assigned-cloc << 1664 << 1665 << 1666 clocks = <&mm << 1667 <&mm << 1668 <&mm << 1669 <&mm << 1670 <&mm << 1671 <&mm << 1672 <&mm << 1673 <&mm << 1674 <&mm << 1675 clock-names = << 1676 << 1677 << 1678 << 1679 << 1680 << 1681 << 1682 << 1683 << 1684 << 1685 phys = <&mdss << 1686 << 1687 status = "dis << 1688 << 1689 ports { << 1690 #addr << 1691 #size << 1692 << 1693 port@ << 1694 << 1695 << 1696 << 1697 << 1698 }; << 1699 << 1700 port@ << 1701 << 1702 << 1703 << 1704 }; << 1705 }; << 1706 }; << 1707 << 1708 mdss_dsi0_phy: phy@c9 << 1709 compatible = << 1710 reg = <0x0c99 << 1711 <0x0c99 << 1712 <0x0c99 << 1713 reg-names = " << 1714 " << 1715 " << 1716 << 1717 #clock-cells << 1718 #phy-cells = << 1719 << 1720 clocks = <&mm << 1721 clock-names = << 1722 status = "dis << 1723 }; << 1724 }; 894 }; 1725 895 1726 blsp1_dma: dma-controller@c14 !! 896 blsp1_dma: dma@c144000 { 1727 compatible = "qcom,ba 897 compatible = "qcom,bam-v1.7.0"; 1728 reg = <0x0c144000 0x1 898 reg = <0x0c144000 0x1f000>; 1729 interrupts = <GIC_SPI 899 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 1730 clocks = <&gcc GCC_BL 900 clocks = <&gcc GCC_BLSP1_AHB_CLK>; 1731 clock-names = "bam_cl 901 clock-names = "bam_clk"; 1732 #dma-cells = <1>; 902 #dma-cells = <1>; 1733 qcom,ee = <0>; 903 qcom,ee = <0>; 1734 qcom,controlled-remot 904 qcom,controlled-remotely; 1735 num-channels = <18>; 905 num-channels = <18>; 1736 qcom,num-ees = <4>; 906 qcom,num-ees = <4>; 1737 }; 907 }; 1738 908 1739 blsp1_uart1: serial@c16f000 { 909 blsp1_uart1: serial@c16f000 { 1740 compatible = "qcom,ms 910 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1741 reg = <0x0c16f000 0x2 911 reg = <0x0c16f000 0x200>; 1742 interrupts = <GIC_SPI 912 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 1743 clocks = <&gcc GCC_BL 913 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, 1744 <&gcc GCC_BL 914 <&gcc GCC_BLSP1_AHB_CLK>; 1745 clock-names = "core", 915 clock-names = "core", "iface"; 1746 dmas = <&blsp1_dma 0> 916 dmas = <&blsp1_dma 0>, <&blsp1_dma 1>; 1747 dma-names = "tx", "rx 917 dma-names = "tx", "rx"; 1748 pinctrl-names = "defa 918 pinctrl-names = "default", "sleep"; 1749 pinctrl-0 = <&blsp1_u 919 pinctrl-0 = <&blsp1_uart1_default>; 1750 pinctrl-1 = <&blsp1_u 920 pinctrl-1 = <&blsp1_uart1_sleep>; 1751 status = "disabled"; 921 status = "disabled"; 1752 }; 922 }; 1753 923 1754 blsp1_uart2: serial@c170000 { 924 blsp1_uart2: serial@c170000 { 1755 compatible = "qcom,ms 925 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1756 reg = <0x0c170000 0x1 926 reg = <0x0c170000 0x1000>; 1757 interrupts = <GIC_SPI 927 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 1758 clocks = <&gcc GCC_BL 928 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 1759 <&gcc GCC_BL 929 <&gcc GCC_BLSP1_AHB_CLK>; 1760 clock-names = "core", 930 clock-names = "core", "iface"; 1761 dmas = <&blsp1_dma 2> 931 dmas = <&blsp1_dma 2>, <&blsp1_dma 3>; 1762 dma-names = "tx", "rx 932 dma-names = "tx", "rx"; 1763 pinctrl-names = "defa 933 pinctrl-names = "default"; 1764 pinctrl-0 = <&blsp1_u 934 pinctrl-0 = <&blsp1_uart2_default>; 1765 status = "disabled"; 935 status = "disabled"; 1766 }; 936 }; 1767 937 1768 blsp_i2c1: i2c@c175000 { 938 blsp_i2c1: i2c@c175000 { 1769 compatible = "qcom,i2 939 compatible = "qcom,i2c-qup-v2.2.1"; 1770 reg = <0x0c175000 0x6 940 reg = <0x0c175000 0x600>; 1771 interrupts = <GIC_SPI 941 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 1772 942 1773 clocks = <&gcc GCC_BL 943 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, 1774 <&gcc 944 <&gcc GCC_BLSP1_AHB_CLK>; 1775 clock-names = "core", 945 clock-names = "core", "iface"; 1776 clock-frequency = <40 946 clock-frequency = <400000>; 1777 dmas = <&blsp1_dma 4> << 1778 dma-names = "tx", "rx << 1779 947 1780 pinctrl-names = "defa 948 pinctrl-names = "default", "sleep"; 1781 pinctrl-0 = <&i2c1_de 949 pinctrl-0 = <&i2c1_default>; 1782 pinctrl-1 = <&i2c1_sl 950 pinctrl-1 = <&i2c1_sleep>; 1783 #address-cells = <1>; 951 #address-cells = <1>; 1784 #size-cells = <0>; 952 #size-cells = <0>; 1785 status = "disabled"; 953 status = "disabled"; 1786 }; 954 }; 1787 955 1788 blsp_i2c2: i2c@c176000 { 956 blsp_i2c2: i2c@c176000 { 1789 compatible = "qcom,i2 957 compatible = "qcom,i2c-qup-v2.2.1"; 1790 reg = <0x0c176000 0x6 958 reg = <0x0c176000 0x600>; 1791 interrupts = <GIC_SPI 959 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 1792 960 1793 clocks = <&gcc GCC_BL 961 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, 1794 <&gcc GCC_BL 962 <&gcc GCC_BLSP1_AHB_CLK>; 1795 clock-names = "core", 963 clock-names = "core", "iface"; 1796 clock-frequency = <40 964 clock-frequency = <400000>; 1797 dmas = <&blsp1_dma 6> << 1798 dma-names = "tx", "rx << 1799 965 1800 pinctrl-names = "defa 966 pinctrl-names = "default", "sleep"; 1801 pinctrl-0 = <&i2c2_de 967 pinctrl-0 = <&i2c2_default>; 1802 pinctrl-1 = <&i2c2_sl 968 pinctrl-1 = <&i2c2_sleep>; 1803 #address-cells = <1>; 969 #address-cells = <1>; 1804 #size-cells = <0>; 970 #size-cells = <0>; 1805 status = "disabled"; 971 status = "disabled"; 1806 }; 972 }; 1807 973 1808 blsp_i2c3: i2c@c177000 { 974 blsp_i2c3: i2c@c177000 { 1809 compatible = "qcom,i2 975 compatible = "qcom,i2c-qup-v2.2.1"; 1810 reg = <0x0c177000 0x6 976 reg = <0x0c177000 0x600>; 1811 interrupts = <GIC_SPI 977 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 1812 978 1813 clocks = <&gcc GCC_BL 979 clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, 1814 <&gcc GCC_BL 980 <&gcc GCC_BLSP1_AHB_CLK>; 1815 clock-names = "core", 981 clock-names = "core", "iface"; 1816 clock-frequency = <40 982 clock-frequency = <400000>; 1817 dmas = <&blsp1_dma 8> << 1818 dma-names = "tx", "rx << 1819 983 1820 pinctrl-names = "defa 984 pinctrl-names = "default", "sleep"; 1821 pinctrl-0 = <&i2c3_de 985 pinctrl-0 = <&i2c3_default>; 1822 pinctrl-1 = <&i2c3_sl 986 pinctrl-1 = <&i2c3_sleep>; 1823 #address-cells = <1>; 987 #address-cells = <1>; 1824 #size-cells = <0>; 988 #size-cells = <0>; 1825 status = "disabled"; 989 status = "disabled"; 1826 }; 990 }; 1827 991 1828 blsp_i2c4: i2c@c178000 { 992 blsp_i2c4: i2c@c178000 { 1829 compatible = "qcom,i2 993 compatible = "qcom,i2c-qup-v2.2.1"; 1830 reg = <0x0c178000 0x6 994 reg = <0x0c178000 0x600>; 1831 interrupts = <GIC_SPI 995 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 1832 996 1833 clocks = <&gcc GCC_BL 997 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, 1834 <&gcc GCC_BL 998 <&gcc GCC_BLSP1_AHB_CLK>; 1835 clock-names = "core", 999 clock-names = "core", "iface"; 1836 clock-frequency = <40 1000 clock-frequency = <400000>; 1837 dmas = <&blsp1_dma 10 << 1838 dma-names = "tx", "rx << 1839 1001 1840 pinctrl-names = "defa 1002 pinctrl-names = "default", "sleep"; 1841 pinctrl-0 = <&i2c4_de 1003 pinctrl-0 = <&i2c4_default>; 1842 pinctrl-1 = <&i2c4_sl 1004 pinctrl-1 = <&i2c4_sleep>; 1843 #address-cells = <1>; 1005 #address-cells = <1>; 1844 #size-cells = <0>; 1006 #size-cells = <0>; 1845 status = "disabled"; 1007 status = "disabled"; 1846 }; 1008 }; 1847 1009 1848 blsp2_dma: dma-controller@c18 !! 1010 blsp2_dma: dma@c184000 { 1849 compatible = "qcom,ba 1011 compatible = "qcom,bam-v1.7.0"; 1850 reg = <0x0c184000 0x1 1012 reg = <0x0c184000 0x1f000>; 1851 interrupts = <GIC_SPI 1013 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 1852 clocks = <&gcc GCC_BL 1014 clocks = <&gcc GCC_BLSP2_AHB_CLK>; 1853 clock-names = "bam_cl 1015 clock-names = "bam_clk"; 1854 #dma-cells = <1>; 1016 #dma-cells = <1>; 1855 qcom,ee = <0>; 1017 qcom,ee = <0>; 1856 qcom,controlled-remot 1018 qcom,controlled-remotely; 1857 num-channels = <18>; 1019 num-channels = <18>; 1858 qcom,num-ees = <4>; 1020 qcom,num-ees = <4>; 1859 }; 1021 }; 1860 1022 1861 blsp2_uart1: serial@c1af000 { 1023 blsp2_uart1: serial@c1af000 { 1862 compatible = "qcom,ms 1024 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 1863 reg = <0x0c1af000 0x2 1025 reg = <0x0c1af000 0x200>; 1864 interrupts = <GIC_SPI 1026 interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; 1865 clocks = <&gcc GCC_BL 1027 clocks = <&gcc GCC_BLSP2_UART1_APPS_CLK>, 1866 <&gcc GCC_BL 1028 <&gcc GCC_BLSP2_AHB_CLK>; 1867 clock-names = "core", 1029 clock-names = "core", "iface"; 1868 dmas = <&blsp2_dma 0> 1030 dmas = <&blsp2_dma 0>, <&blsp2_dma 1>; 1869 dma-names = "tx", "rx 1031 dma-names = "tx", "rx"; 1870 pinctrl-names = "defa 1032 pinctrl-names = "default", "sleep"; 1871 pinctrl-0 = <&blsp2_u 1033 pinctrl-0 = <&blsp2_uart1_default>; 1872 pinctrl-1 = <&blsp2_u 1034 pinctrl-1 = <&blsp2_uart1_sleep>; 1873 status = "disabled"; 1035 status = "disabled"; 1874 }; 1036 }; 1875 1037 1876 blsp_i2c5: i2c@c1b5000 { 1038 blsp_i2c5: i2c@c1b5000 { 1877 compatible = "qcom,i2 1039 compatible = "qcom,i2c-qup-v2.2.1"; 1878 reg = <0x0c1b5000 0x6 1040 reg = <0x0c1b5000 0x600>; 1879 interrupts = <GIC_SPI 1041 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 1880 1042 1881 clocks = <&gcc GCC_BL 1043 clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>, 1882 <&gcc GCC_BL 1044 <&gcc GCC_BLSP2_AHB_CLK>; 1883 clock-names = "core", 1045 clock-names = "core", "iface"; 1884 clock-frequency = <40 1046 clock-frequency = <400000>; 1885 dmas = <&blsp2_dma 4> << 1886 dma-names = "tx", "rx << 1887 1047 1888 pinctrl-names = "defa 1048 pinctrl-names = "default", "sleep"; 1889 pinctrl-0 = <&i2c5_de 1049 pinctrl-0 = <&i2c5_default>; 1890 pinctrl-1 = <&i2c5_sl 1050 pinctrl-1 = <&i2c5_sleep>; 1891 #address-cells = <1>; 1051 #address-cells = <1>; 1892 #size-cells = <0>; 1052 #size-cells = <0>; 1893 status = "disabled"; 1053 status = "disabled"; 1894 }; 1054 }; 1895 1055 1896 blsp_i2c6: i2c@c1b6000 { 1056 blsp_i2c6: i2c@c1b6000 { 1897 compatible = "qcom,i2 1057 compatible = "qcom,i2c-qup-v2.2.1"; 1898 reg = <0x0c1b6000 0x6 1058 reg = <0x0c1b6000 0x600>; 1899 interrupts = <GIC_SPI 1059 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1900 1060 1901 clocks = <&gcc GCC_BL 1061 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, 1902 <&gcc GCC_BL 1062 <&gcc GCC_BLSP2_AHB_CLK>; 1903 clock-names = "core", 1063 clock-names = "core", "iface"; 1904 clock-frequency = <40 1064 clock-frequency = <400000>; 1905 dmas = <&blsp2_dma 6> << 1906 dma-names = "tx", "rx << 1907 1065 1908 pinctrl-names = "defa 1066 pinctrl-names = "default", "sleep"; 1909 pinctrl-0 = <&i2c6_de 1067 pinctrl-0 = <&i2c6_default>; 1910 pinctrl-1 = <&i2c6_sl 1068 pinctrl-1 = <&i2c6_sleep>; 1911 #address-cells = <1>; 1069 #address-cells = <1>; 1912 #size-cells = <0>; 1070 #size-cells = <0>; 1913 status = "disabled"; 1071 status = "disabled"; 1914 }; 1072 }; 1915 1073 1916 blsp_i2c7: i2c@c1b7000 { 1074 blsp_i2c7: i2c@c1b7000 { 1917 compatible = "qcom,i2 1075 compatible = "qcom,i2c-qup-v2.2.1"; 1918 reg = <0x0c1b7000 0x6 1076 reg = <0x0c1b7000 0x600>; 1919 interrupts = <GIC_SPI 1077 interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 1920 1078 1921 clocks = <&gcc GCC_BL 1079 clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>, 1922 <&gcc GCC_BL 1080 <&gcc GCC_BLSP2_AHB_CLK>; 1923 clock-names = "core", 1081 clock-names = "core", "iface"; 1924 clock-frequency = <40 1082 clock-frequency = <400000>; 1925 dmas = <&blsp2_dma 8> << 1926 dma-names = "tx", "rx << 1927 1083 1928 pinctrl-names = "defa 1084 pinctrl-names = "default", "sleep"; 1929 pinctrl-0 = <&i2c7_de 1085 pinctrl-0 = <&i2c7_default>; 1930 pinctrl-1 = <&i2c7_sl 1086 pinctrl-1 = <&i2c7_sleep>; 1931 #address-cells = <1>; 1087 #address-cells = <1>; 1932 #size-cells = <0>; 1088 #size-cells = <0>; 1933 status = "disabled"; 1089 status = "disabled"; 1934 }; 1090 }; 1935 1091 1936 blsp_i2c8: i2c@c1b8000 { 1092 blsp_i2c8: i2c@c1b8000 { 1937 compatible = "qcom,i2 1093 compatible = "qcom,i2c-qup-v2.2.1"; 1938 reg = <0x0c1b8000 0x6 1094 reg = <0x0c1b8000 0x600>; 1939 interrupts = <GIC_SPI 1095 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 1940 1096 1941 clocks = <&gcc GCC_BL 1097 clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, 1942 <&gcc GCC_BL 1098 <&gcc GCC_BLSP2_AHB_CLK>; 1943 clock-names = "core", 1099 clock-names = "core", "iface"; 1944 clock-frequency = <40 1100 clock-frequency = <400000>; 1945 dmas = <&blsp2_dma 10 << 1946 dma-names = "tx", "rx << 1947 1101 1948 pinctrl-names = "defa 1102 pinctrl-names = "default", "sleep"; 1949 pinctrl-0 = <&i2c8_de 1103 pinctrl-0 = <&i2c8_default>; 1950 pinctrl-1 = <&i2c8_sl 1104 pinctrl-1 = <&i2c8_sleep>; 1951 #address-cells = <1>; 1105 #address-cells = <1>; 1952 #size-cells = <0>; 1106 #size-cells = <0>; 1953 status = "disabled"; 1107 status = "disabled"; 1954 }; 1108 }; 1955 1109 1956 sram@146bf000 { << 1957 compatible = "qcom,sd << 1958 reg = <0x146bf000 0x1 << 1959 << 1960 #address-cells = <1>; << 1961 #size-cells = <1>; << 1962 << 1963 ranges = <0 0x146bf00 << 1964 << 1965 pil-reloc@94c { << 1966 compatible = << 1967 reg = <0x94c << 1968 }; << 1969 }; << 1970 << 1971 camss: camss@ca00020 { << 1972 compatible = "qcom,sd << 1973 reg = <0x0ca00020 0x1 << 1974 <0x0ca30000 0x1 << 1975 <0x0ca30400 0x1 << 1976 <0x0ca30800 0x1 << 1977 <0x0ca30c00 0x1 << 1978 <0x0c824000 0x1 << 1979 <0x0ca00120 0x4 << 1980 <0x0c825000 0x1 << 1981 <0x0ca00124 0x4 << 1982 <0x0c826000 0x1 << 1983 <0x0ca00128 0x4 << 1984 <0x0ca31000 0x5 << 1985 <0x0ca10000 0x1 << 1986 <0x0ca14000 0x1 << 1987 reg-names = "csi_clk_ << 1988 "csid0", << 1989 "csid1", << 1990 "csid2", << 1991 "csid3", << 1992 "csiphy0" << 1993 "csiphy0_ << 1994 "csiphy1" << 1995 "csiphy1_ << 1996 "csiphy2" << 1997 "csiphy2_ << 1998 "ispif", << 1999 "vfe0", << 2000 "vfe1"; << 2001 interrupts = <GIC_SPI << 2002 <GIC_SPI << 2003 <GIC_SPI << 2004 <GIC_SPI << 2005 <GIC_SPI << 2006 <GIC_SPI << 2007 <GIC_SPI << 2008 <GIC_SPI << 2009 <GIC_SPI << 2010 <GIC_SPI << 2011 interrupt-names = "cs << 2012 "cs << 2013 "cs << 2014 "cs << 2015 "cs << 2016 "cs << 2017 "cs << 2018 "is << 2019 "vf << 2020 "vf << 2021 clocks = <&mmcc CAMSS << 2022 <&mmcc CAMSS << 2023 <&mmcc CAMSS << 2024 <&mmcc CAMSS << 2025 <&mmcc CAMSS << 2026 <&mmcc CAMSS << 2027 <&mmcc CAMSS << 2028 <&mmcc CAMSS << 2029 <&mmcc CAMSS << 2030 <&mmcc CAMSS << 2031 <&mmcc CAMSS << 2032 <&mmcc CAMSS << 2033 <&mmcc CAMSS << 2034 <&mmcc CAMSS << 2035 <&mmcc CAMSS << 2036 <&mmcc CAMSS << 2037 <&mmcc CAMSS << 2038 <&mmcc CAMSS << 2039 <&mmcc CAMSS << 2040 <&mmcc CAMSS << 2041 <&mmcc CAMSS << 2042 <&mmcc CAMSS << 2043 <&mmcc CAMSS << 2044 <&mmcc CAMSS << 2045 <&mmcc CAMSS << 2046 <&mmcc CAMSS << 2047 <&mmcc CAMSS << 2048 <&mmcc CAMSS << 2049 <&mmcc CSIPH << 2050 <&mmcc CAMSS << 2051 <&mmcc CAMSS << 2052 <&mmcc CAMSS << 2053 <&mmcc THROT << 2054 <&mmcc CAMSS << 2055 <&mmcc CAMSS << 2056 <&mmcc CAMSS << 2057 <&mmcc CAMSS << 2058 <&mmcc CAMSS << 2059 <&mmcc CAMSS << 2060 <&mmcc CAMSS << 2061 <&mmcc CAMSS << 2062 <&mmcc CAMSS << 2063 clock-names = "ahb", << 2064 "cphy_c << 2065 "cphy_c << 2066 "cphy_c << 2067 "cphy_c << 2068 "csi0_a << 2069 "csi0", << 2070 "csi0_p << 2071 "csi0_p << 2072 "csi0_r << 2073 "csi1_a << 2074 "csi1", << 2075 "csi1_p << 2076 "csi1_p << 2077 "csi1_r << 2078 "csi2_a << 2079 "csi2", << 2080 "csi2_p << 2081 "csi2_p << 2082 "csi2_r << 2083 "csi3_a << 2084 "csi3", << 2085 "csi3_p << 2086 "csi3_p << 2087 "csi3_r << 2088 "csiphy << 2089 "csiphy << 2090 "csiphy << 2091 "csiphy << 2092 "csi_vf << 2093 "csi_vf << 2094 "ispif_ << 2095 "thrott << 2096 "top_ah << 2097 "vfe0_a << 2098 "vfe0", << 2099 "vfe0_s << 2100 "vfe1_a << 2101 "vfe1", << 2102 "vfe1_s << 2103 "vfe_ah << 2104 "vfe_ax << 2105 interconnects = <&mno << 2106 interconnect-names = << 2107 iommus = <&mmss_smmu << 2108 <&mmss_smmu << 2109 <&mmss_smmu << 2110 <&mmss_smmu << 2111 power-domains = <&mmc << 2112 <&mmc << 2113 status = "disabled"; << 2114 << 2115 ports { << 2116 #address-cell << 2117 #size-cells = << 2118 }; << 2119 }; << 2120 << 2121 cci: cci@ca0c000 { << 2122 compatible = "qcom,ms << 2123 #address-cells = <1>; << 2124 #size-cells = <0>; << 2125 reg = <0x0ca0c000 0x1 << 2126 interrupts = <GIC_SPI << 2127 << 2128 assigned-clocks = <&m << 2129 <&m << 2130 assigned-clock-rates << 2131 clocks = <&mmcc CAMSS << 2132 <&mmcc CAMSS << 2133 <&mmcc CAMSS << 2134 <&mmcc CAMSS << 2135 clock-names = "camss_ << 2136 "cci_ah << 2137 "cci", << 2138 "camss_ << 2139 << 2140 pinctrl-names = "defa << 2141 pinctrl-0 = <&cci0_de << 2142 power-domains = <&mmc << 2143 status = "disabled"; << 2144 << 2145 cci_i2c0: i2c-bus@0 { << 2146 reg = <0>; << 2147 clock-frequen << 2148 #address-cell << 2149 #size-cells = << 2150 }; << 2151 << 2152 cci_i2c1: i2c-bus@1 { << 2153 reg = <1>; << 2154 clock-frequen << 2155 #address-cell << 2156 #size-cells = << 2157 }; << 2158 }; << 2159 << 2160 venus: video-codec@cc00000 { << 2161 compatible = "qcom,sd << 2162 reg = <0x0cc00000 0xf << 2163 clocks = <&mmcc VIDEO << 2164 <&mmcc VIDEO << 2165 <&mmcc VIDEO << 2166 <&mmcc THROT << 2167 clock-names = "core", << 2168 interconnects = <&gno << 2169 <&mno << 2170 interconnect-names = << 2171 interrupts = <GIC_SPI << 2172 iommus = <&mmss_smmu << 2173 <&mmss_smmu << 2174 <&mmss_smmu << 2175 <&mmss_smmu << 2176 <&mmss_smmu << 2177 <&mmss_smmu << 2178 <&mmss_smmu << 2179 <&mmss_smmu << 2180 <&mmss_smmu << 2181 <&mmss_smmu << 2182 <&mmss_smmu << 2183 <&mmss_smmu << 2184 <&mmss_smmu << 2185 <&mmss_smmu << 2186 <&mmss_smmu << 2187 <&mmss_smmu << 2188 <&mmss_smmu << 2189 <&mmss_smmu << 2190 <&mmss_smmu << 2191 <&mmss_smmu << 2192 memory-region = <&ven << 2193 power-domains = <&mmc << 2194 status = "disabled"; << 2195 << 2196 video-decoder { << 2197 compatible = << 2198 clocks = <&mm << 2199 clock-names = << 2200 power-domains << 2201 }; << 2202 << 2203 video-encoder { << 2204 compatible = << 2205 clocks = <&mm << 2206 clock-names = << 2207 power-domains << 2208 }; << 2209 }; << 2210 << 2211 mmss_smmu: iommu@cd00000 { 1110 mmss_smmu: iommu@cd00000 { 2212 compatible = "qcom,sd 1111 compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; 2213 reg = <0x0cd00000 0x4 1112 reg = <0x0cd00000 0x40000>; 2214 << 2215 clocks = <&mmcc MNOC_ << 2216 <&mmcc BIMC_ << 2217 <&mmcc BIMC_ << 2218 clock-names = "iface- << 2219 "bus-sm << 2220 #global-interrupts = << 2221 #iommu-cells = <1>; 1113 #iommu-cells = <1>; 2222 1114 >> 1115 #global-interrupts = <2>; 2223 interrupts = 1116 interrupts = 2224 <GIC_SPI 229 1117 <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>, 2225 <GIC_SPI 231 1118 <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>, 2226 1119 2227 <GIC_SPI 263 1120 <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>, 2228 <GIC_SPI 266 1121 <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, 2229 <GIC_SPI 267 1122 <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, 2230 <GIC_SPI 268 1123 <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, 2231 <GIC_SPI 244 1124 <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 2232 <GIC_SPI 245 1125 <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 2233 <GIC_SPI 247 1126 <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>, 2234 <GIC_SPI 248 1127 <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 2235 <GIC_SPI 249 1128 <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>, 2236 <GIC_SPI 250 1129 <GIC_SPI 250 IRQ_TYPE_LEVEL_HIGH>, 2237 <GIC_SPI 251 1130 <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 2238 <GIC_SPI 252 1131 <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 2239 <GIC_SPI 253 1132 <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 2240 <GIC_SPI 254 1133 <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 2241 <GIC_SPI 255 1134 <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>, 2242 <GIC_SPI 256 1135 <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, 2243 <GIC_SPI 260 1136 <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 2244 <GIC_SPI 261 1137 <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, 2245 <GIC_SPI 262 1138 <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>, 2246 <GIC_SPI 272 1139 <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>, 2247 <GIC_SPI 273 1140 <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, 2248 <GIC_SPI 274 1141 <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, 2249 <GIC_SPI 275 1142 <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, 2250 <GIC_SPI 276 1143 <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>; 2251 1144 2252 status = "disabled"; 1145 status = "disabled"; 2253 }; 1146 }; 2254 1147 2255 adsp_pil: remoteproc@15700000 << 2256 compatible = "qcom,sd << 2257 reg = <0x15700000 0x4 << 2258 << 2259 interrupts-extended = << 2260 <&intc GIC_SP << 2261 <&adsp_smp2p_ << 2262 <&adsp_smp2p_ << 2263 <&adsp_smp2p_ << 2264 <&adsp_smp2p_ << 2265 interrupt-names = "wd << 2266 "ha << 2267 << 2268 clocks = <&rpmcc RPM_ << 2269 clock-names = "xo"; << 2270 << 2271 memory-region = <&ads << 2272 power-domains = <&rpm << 2273 power-domain-names = << 2274 << 2275 qcom,smem-states = <& << 2276 qcom,smem-state-names << 2277 << 2278 glink-edge { << 2279 interrupts = << 2280 << 2281 label = "lpas << 2282 mboxes = <&ap << 2283 qcom,remote-p << 2284 << 2285 apr { << 2286 compa << 2287 qcom, << 2288 qcom, << 2289 #addr << 2290 #size << 2291 << 2292 servi << 2293 << 2294 << 2295 }; << 2296 << 2297 q6afe << 2298 << 2299 << 2300 << 2301 << 2302 << 2303 << 2304 << 2305 << 2306 }; << 2307 << 2308 q6asm << 2309 << 2310 << 2311 << 2312 << 2313 << 2314 << 2315 << 2316 << 2317 << 2318 }; << 2319 << 2320 q6adm << 2321 << 2322 << 2323 << 2324 << 2325 << 2326 << 2327 }; << 2328 }; << 2329 }; << 2330 }; << 2331 << 2332 gnoc: interconnect@17900000 { << 2333 compatible = "qcom,sd << 2334 reg = <0x17900000 0xe << 2335 #interconnect-cells = << 2336 }; << 2337 << 2338 apcs_glb: mailbox@17911000 { 1148 apcs_glb: mailbox@17911000 { 2339 compatible = "qcom,sd !! 1149 compatible = "qcom,sdm660-apcs-hmss-global"; 2340 "qcom,ms << 2341 reg = <0x17911000 0x1 1150 reg = <0x17911000 0x1000>; 2342 1151 2343 #mbox-cells = <1>; 1152 #mbox-cells = <1>; 2344 }; 1153 }; 2345 1154 2346 timer@17920000 { 1155 timer@17920000 { 2347 #address-cells = <1>; 1156 #address-cells = <1>; 2348 #size-cells = <1>; 1157 #size-cells = <1>; 2349 ranges; 1158 ranges; 2350 compatible = "arm,arm 1159 compatible = "arm,armv7-timer-mem"; 2351 reg = <0x17920000 0x1 1160 reg = <0x17920000 0x1000>; 2352 clock-frequency = <19 1161 clock-frequency = <19200000>; 2353 1162 2354 frame@17921000 { 1163 frame@17921000 { 2355 frame-number 1164 frame-number = <0>; 2356 interrupts = !! 1165 interrupts = <0 8 0x4>, 2357 !! 1166 <0 7 0x4>; 2358 reg = <0x1792 1167 reg = <0x17921000 0x1000>, 2359 <0x17 1168 <0x17922000 0x1000>; 2360 }; 1169 }; 2361 1170 2362 frame@17923000 { 1171 frame@17923000 { 2363 frame-number 1172 frame-number = <1>; 2364 interrupts = !! 1173 interrupts = <0 9 0x4>; 2365 reg = <0x1792 1174 reg = <0x17923000 0x1000>; 2366 status = "dis 1175 status = "disabled"; 2367 }; 1176 }; 2368 1177 2369 frame@17924000 { 1178 frame@17924000 { 2370 frame-number 1179 frame-number = <2>; 2371 interrupts = !! 1180 interrupts = <0 10 0x4>; 2372 reg = <0x1792 1181 reg = <0x17924000 0x1000>; 2373 status = "dis 1182 status = "disabled"; 2374 }; 1183 }; 2375 1184 2376 frame@17925000 { 1185 frame@17925000 { 2377 frame-number 1186 frame-number = <3>; 2378 interrupts = !! 1187 interrupts = <0 11 0x4>; 2379 reg = <0x1792 1188 reg = <0x17925000 0x1000>; 2380 status = "dis 1189 status = "disabled"; 2381 }; 1190 }; 2382 1191 2383 frame@17926000 { 1192 frame@17926000 { 2384 frame-number 1193 frame-number = <4>; 2385 interrupts = !! 1194 interrupts = <0 12 0x4>; 2386 reg = <0x1792 1195 reg = <0x17926000 0x1000>; 2387 status = "dis 1196 status = "disabled"; 2388 }; 1197 }; 2389 1198 2390 frame@17927000 { 1199 frame@17927000 { 2391 frame-number 1200 frame-number = <5>; 2392 interrupts = !! 1201 interrupts = <0 13 0x4>; 2393 reg = <0x1792 1202 reg = <0x17927000 0x1000>; 2394 status = "dis 1203 status = "disabled"; 2395 }; 1204 }; 2396 1205 2397 frame@17928000 { 1206 frame@17928000 { 2398 frame-number 1207 frame-number = <6>; 2399 interrupts = !! 1208 interrupts = <0 14 0x4>; 2400 reg = <0x1792 1209 reg = <0x17928000 0x1000>; 2401 status = "dis 1210 status = "disabled"; 2402 }; 1211 }; 2403 }; 1212 }; 2404 1213 2405 intc: interrupt-controller@17 1214 intc: interrupt-controller@17a00000 { 2406 compatible = "arm,gic 1215 compatible = "arm,gic-v3"; 2407 reg = <0x17a00000 0x1 1216 reg = <0x17a00000 0x10000>, /* GICD */ 2408 <0x17b00000 1217 <0x17b00000 0x100000>; /* GICR * 8 */ 2409 #interrupt-cells = <3 1218 #interrupt-cells = <3>; 2410 #address-cells = <1>; 1219 #address-cells = <1>; 2411 #size-cells = <1>; 1220 #size-cells = <1>; 2412 ranges; 1221 ranges; 2413 interrupt-controller; 1222 interrupt-controller; 2414 #redistributor-region 1223 #redistributor-regions = <1>; 2415 redistributor-stride 1224 redistributor-stride = <0x0 0x20000>; 2416 interrupts = <GIC_PPI 1225 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 2417 }; 1226 }; 2418 }; 1227 }; 2419 1228 2420 sound: sound { !! 1229 tcsr_mutex: hwlock { 2421 }; !! 1230 compatible = "qcom,tcsr-mutex"; 2422 !! 1231 syscon = <&tcsr_mutex_regs 0 0x1000>; 2423 thermal-zones { !! 1232 #hwlock-cells = <1>; 2424 aoss-thermal { << 2425 polling-delay-passive << 2426 << 2427 thermal-sensors = <&t << 2428 << 2429 trips { << 2430 aoss_alert0: << 2431 tempe << 2432 hyste << 2433 type << 2434 }; << 2435 }; << 2436 }; << 2437 << 2438 cpuss0-thermal { << 2439 polling-delay-passive << 2440 << 2441 thermal-sensors = <&t << 2442 << 2443 trips { << 2444 cpuss0_alert0 << 2445 tempe << 2446 hyste << 2447 type << 2448 }; << 2449 }; << 2450 }; << 2451 << 2452 cpuss1-thermal { << 2453 polling-delay-passive << 2454 << 2455 thermal-sensors = <&t << 2456 << 2457 trips { << 2458 cpuss1_alert0 << 2459 tempe << 2460 hyste << 2461 type << 2462 }; << 2463 }; << 2464 }; << 2465 << 2466 cpu0-thermal { << 2467 polling-delay-passive << 2468 << 2469 thermal-sensors = <&t << 2470 << 2471 trips { << 2472 cpu0_alert0: << 2473 tempe << 2474 hyste << 2475 type << 2476 }; << 2477 << 2478 cpu0_crit: cp << 2479 tempe << 2480 hyste << 2481 type << 2482 }; << 2483 }; << 2484 }; << 2485 << 2486 cpu1-thermal { << 2487 polling-delay-passive << 2488 << 2489 thermal-sensors = <&t << 2490 << 2491 trips { << 2492 cpu1_alert0: << 2493 tempe << 2494 hyste << 2495 type << 2496 }; << 2497 << 2498 cpu1_crit: cp << 2499 tempe << 2500 hyste << 2501 type << 2502 }; << 2503 }; << 2504 }; << 2505 << 2506 cpu2-thermal { << 2507 polling-delay-passive << 2508 << 2509 thermal-sensors = <&t << 2510 << 2511 trips { << 2512 cpu2_alert0: << 2513 tempe << 2514 hyste << 2515 type << 2516 }; << 2517 << 2518 cpu2_crit: cp << 2519 tempe << 2520 hyste << 2521 type << 2522 }; << 2523 }; << 2524 }; << 2525 << 2526 cpu3-thermal { << 2527 polling-delay-passive << 2528 << 2529 thermal-sensors = <&t << 2530 << 2531 trips { << 2532 cpu3_alert0: << 2533 tempe << 2534 hyste << 2535 type << 2536 }; << 2537 << 2538 cpu3_crit: cp << 2539 tempe << 2540 hyste << 2541 type << 2542 }; << 2543 }; << 2544 }; << 2545 << 2546 /* << 2547 * According to what downstre << 2548 * the entire power efficient << 2549 * only a single thermal sens << 2550 */ << 2551 << 2552 pwr-cluster-thermal { << 2553 polling-delay-passive << 2554 << 2555 thermal-sensors = <&t << 2556 << 2557 trips { << 2558 pwr_cluster_a << 2559 tempe << 2560 hyste << 2561 type << 2562 }; << 2563 << 2564 pwr_cluster_c << 2565 tempe << 2566 hyste << 2567 type << 2568 }; << 2569 }; << 2570 }; << 2571 << 2572 gpu-thermal { << 2573 polling-delay-passive << 2574 << 2575 thermal-sensors = <&t << 2576 << 2577 cooling-maps { << 2578 map0 { << 2579 trip << 2580 cooli << 2581 }; << 2582 }; << 2583 << 2584 trips { << 2585 gpu_alert0: t << 2586 tempe << 2587 hyste << 2588 type << 2589 }; << 2590 << 2591 trip-point1 { << 2592 tempe << 2593 hyste << 2594 type << 2595 }; << 2596 << 2597 trip-point2 { << 2598 tempe << 2599 hyste << 2600 type << 2601 }; << 2602 }; << 2603 }; << 2604 }; 1233 }; 2605 1234 2606 timer { 1235 timer { 2607 compatible = "arm,armv8-timer 1236 compatible = "arm,armv8-timer"; 2608 interrupts = <GIC_PPI 1 (GIC_ !! 1237 interrupts = <GIC_PPI 1 0xf08>, 2609 <GIC_PPI 2 (GIC_ !! 1238 <GIC_PPI 2 0xf08>, 2610 <GIC_PPI 3 (GIC_ !! 1239 <GIC_PPI 3 0xf08>, 2611 <GIC_PPI 0 (GIC_ !! 1240 <GIC_PPI 0 0xf08>; 2612 }; 1241 }; 2613 }; 1242 }; 2614 1243
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.