1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 2 /* 2 /* 3 * Copyright (c) 2023, Linaro Ltd 3 * Copyright (c) 2023, Linaro Ltd 4 * 4 * 5 * Based on sm6115.dtsi and previous efforts b 5 * Based on sm6115.dtsi and previous efforts by Shawn Guo & Loic Poulain. 6 */ 6 */ 7 7 8 #include <dt-bindings/clock/qcom,dispcc-qcm229 << 9 #include <dt-bindings/clock/qcom,gcc-qcm2290.h 8 #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 10 #include <dt-bindings/clock/qcom,qcm2290-gpucc << 11 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 11 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/interconnect/qcom,qcm229 << 17 #include <dt-bindings/interconnect/qcom,rpm-ic << 18 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 19 15 20 / { 16 / { 21 interrupt-parent = <&intc>; 17 interrupt-parent = <&intc>; 22 18 23 #address-cells = <2>; 19 #address-cells = <2>; 24 #size-cells = <2>; 20 #size-cells = <2>; 25 21 26 chosen { }; 22 chosen { }; 27 23 28 clocks { 24 clocks { 29 xo_board: xo-board { 25 xo_board: xo-board { 30 compatible = "fixed-cl 26 compatible = "fixed-clock"; 31 #clock-cells = <0>; 27 #clock-cells = <0>; 32 }; 28 }; 33 29 34 sleep_clk: sleep-clk { 30 sleep_clk: sleep-clk { 35 compatible = "fixed-cl 31 compatible = "fixed-clock"; 36 clock-frequency = <327 32 clock-frequency = <32764>; 37 #clock-cells = <0>; 33 #clock-cells = <0>; 38 }; 34 }; 39 }; 35 }; 40 36 41 cpus { 37 cpus { 42 #address-cells = <2>; 38 #address-cells = <2>; 43 #size-cells = <0>; 39 #size-cells = <0>; 44 40 45 CPU0: cpu@0 { 41 CPU0: cpu@0 { 46 device_type = "cpu"; 42 device_type = "cpu"; 47 compatible = "arm,cort 43 compatible = "arm,cortex-a53"; 48 reg = <0x0 0x0>; 44 reg = <0x0 0x0>; 49 clocks = <&cpufreq_hw 45 clocks = <&cpufreq_hw 0>; 50 capacity-dmips-mhz = < 46 capacity-dmips-mhz = <1024>; 51 dynamic-power-coeffici 47 dynamic-power-coefficient = <100>; 52 enable-method = "psci" 48 enable-method = "psci"; 53 next-level-cache = <&L 49 next-level-cache = <&L2_0>; 54 qcom,freq-domain = <&c 50 qcom,freq-domain = <&cpufreq_hw 0>; 55 power-domains = <&CPU_ 51 power-domains = <&CPU_PD0>; 56 power-domain-names = " 52 power-domain-names = "psci"; 57 L2_0: l2-cache { 53 L2_0: l2-cache { 58 compatible = " 54 compatible = "cache"; 59 cache-level = 55 cache-level = <2>; 60 cache-unified; 56 cache-unified; 61 }; 57 }; 62 }; 58 }; 63 59 64 CPU1: cpu@1 { 60 CPU1: cpu@1 { 65 device_type = "cpu"; 61 device_type = "cpu"; 66 compatible = "arm,cort 62 compatible = "arm,cortex-a53"; 67 reg = <0x0 0x1>; 63 reg = <0x0 0x1>; 68 clocks = <&cpufreq_hw 64 clocks = <&cpufreq_hw 0>; 69 capacity-dmips-mhz = < 65 capacity-dmips-mhz = <1024>; 70 dynamic-power-coeffici 66 dynamic-power-coefficient = <100>; 71 enable-method = "psci" 67 enable-method = "psci"; 72 next-level-cache = <&L 68 next-level-cache = <&L2_0>; 73 qcom,freq-domain = <&c 69 qcom,freq-domain = <&cpufreq_hw 0>; 74 power-domains = <&CPU_ 70 power-domains = <&CPU_PD1>; 75 power-domain-names = " 71 power-domain-names = "psci"; 76 }; 72 }; 77 73 78 CPU2: cpu@2 { 74 CPU2: cpu@2 { 79 device_type = "cpu"; 75 device_type = "cpu"; 80 compatible = "arm,cort 76 compatible = "arm,cortex-a53"; 81 reg = <0x0 0x2>; 77 reg = <0x0 0x2>; 82 clocks = <&cpufreq_hw 78 clocks = <&cpufreq_hw 0>; 83 capacity-dmips-mhz = < 79 capacity-dmips-mhz = <1024>; 84 dynamic-power-coeffici 80 dynamic-power-coefficient = <100>; 85 enable-method = "psci" 81 enable-method = "psci"; 86 next-level-cache = <&L 82 next-level-cache = <&L2_0>; 87 qcom,freq-domain = <&c 83 qcom,freq-domain = <&cpufreq_hw 0>; 88 power-domains = <&CPU_ 84 power-domains = <&CPU_PD2>; 89 power-domain-names = " 85 power-domain-names = "psci"; 90 }; 86 }; 91 87 92 CPU3: cpu@3 { 88 CPU3: cpu@3 { 93 device_type = "cpu"; 89 device_type = "cpu"; 94 compatible = "arm,cort 90 compatible = "arm,cortex-a53"; 95 reg = <0x0 0x3>; 91 reg = <0x0 0x3>; 96 clocks = <&cpufreq_hw 92 clocks = <&cpufreq_hw 0>; 97 capacity-dmips-mhz = < 93 capacity-dmips-mhz = <1024>; 98 dynamic-power-coeffici 94 dynamic-power-coefficient = <100>; 99 enable-method = "psci" 95 enable-method = "psci"; 100 next-level-cache = <&L 96 next-level-cache = <&L2_0>; 101 qcom,freq-domain = <&c 97 qcom,freq-domain = <&cpufreq_hw 0>; 102 power-domains = <&CPU_ 98 power-domains = <&CPU_PD3>; 103 power-domain-names = " 99 power-domain-names = "psci"; 104 }; 100 }; 105 101 106 cpu-map { 102 cpu-map { 107 cluster0 { 103 cluster0 { 108 core0 { 104 core0 { 109 cpu = 105 cpu = <&CPU0>; 110 }; 106 }; 111 107 112 core1 { 108 core1 { 113 cpu = 109 cpu = <&CPU1>; 114 }; 110 }; 115 111 116 core2 { 112 core2 { 117 cpu = 113 cpu = <&CPU2>; 118 }; 114 }; 119 115 120 core3 { 116 core3 { 121 cpu = 117 cpu = <&CPU3>; 122 }; 118 }; 123 }; 119 }; 124 }; 120 }; 125 121 126 domain-idle-states { 122 domain-idle-states { 127 CLUSTER_SLEEP: cluster 123 CLUSTER_SLEEP: cluster-sleep-0 { 128 compatible = " 124 compatible = "domain-idle-state"; 129 arm,psci-suspe 125 arm,psci-suspend-param = <0x41000043>; 130 entry-latency- 126 entry-latency-us = <800>; 131 exit-latency-u 127 exit-latency-us = <2118>; 132 min-residency- 128 min-residency-us = <7376>; 133 }; 129 }; 134 }; 130 }; 135 131 136 idle-states { 132 idle-states { 137 entry-method = "psci"; 133 entry-method = "psci"; 138 134 139 CPU_SLEEP: cpu-sleep-0 135 CPU_SLEEP: cpu-sleep-0 { 140 compatible = " 136 compatible = "arm,idle-state"; 141 idle-state-nam 137 idle-state-name = "power-collapse"; 142 arm,psci-suspe 138 arm,psci-suspend-param = <0x40000003>; 143 entry-latency- 139 entry-latency-us = <290>; 144 exit-latency-u 140 exit-latency-us = <376>; 145 min-residency- 141 min-residency-us = <1182>; 146 local-timer-st 142 local-timer-stop; 147 }; 143 }; 148 }; 144 }; 149 }; 145 }; 150 146 151 firmware { 147 firmware { 152 scm: scm { 148 scm: scm { 153 compatible = "qcom,scm 149 compatible = "qcom,scm-qcm2290", "qcom,scm"; 154 clocks = <&rpmcc RPM_S 150 clocks = <&rpmcc RPM_SMD_CE1_CLK>; 155 clock-names = "core"; 151 clock-names = "core"; 156 #reset-cells = <1>; 152 #reset-cells = <1>; 157 interconnects = <&syst << 158 &bimc << 159 }; 153 }; 160 }; 154 }; 161 155 162 memory@40000000 { 156 memory@40000000 { 163 device_type = "memory"; 157 device_type = "memory"; 164 /* We expect the bootloader to 158 /* We expect the bootloader to fill in the size */ 165 reg = <0 0x40000000 0 0>; 159 reg = <0 0x40000000 0 0>; 166 }; 160 }; 167 161 168 pmu { 162 pmu { 169 compatible = "arm,cortex-a53-p !! 163 compatible = "arm,armv8-pmuv3"; 170 interrupts = <GIC_PPI 6 IRQ_TY 164 interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>; 171 }; 165 }; 172 166 173 psci { 167 psci { 174 compatible = "arm,psci-1.0"; 168 compatible = "arm,psci-1.0"; 175 method = "smc"; 169 method = "smc"; 176 170 177 CPU_PD0: power-domain-cpu0 { 171 CPU_PD0: power-domain-cpu0 { 178 #power-domain-cells = 172 #power-domain-cells = <0>; 179 power-domains = <&CLUS 173 power-domains = <&CLUSTER_PD>; 180 domain-idle-states = < 174 domain-idle-states = <&CPU_SLEEP>; 181 }; 175 }; 182 176 183 CPU_PD1: power-domain-cpu1 { 177 CPU_PD1: power-domain-cpu1 { 184 #power-domain-cells = 178 #power-domain-cells = <0>; 185 power-domains = <&CLUS 179 power-domains = <&CLUSTER_PD>; 186 domain-idle-states = < 180 domain-idle-states = <&CPU_SLEEP>; 187 }; 181 }; 188 182 189 CPU_PD2: power-domain-cpu2 { 183 CPU_PD2: power-domain-cpu2 { 190 #power-domain-cells = 184 #power-domain-cells = <0>; 191 power-domains = <&CLUS 185 power-domains = <&CLUSTER_PD>; 192 domain-idle-states = < 186 domain-idle-states = <&CPU_SLEEP>; 193 }; 187 }; 194 188 195 CPU_PD3: power-domain-cpu3 { 189 CPU_PD3: power-domain-cpu3 { 196 #power-domain-cells = 190 #power-domain-cells = <0>; 197 power-domains = <&CLUS 191 power-domains = <&CLUSTER_PD>; 198 domain-idle-states = < 192 domain-idle-states = <&CPU_SLEEP>; 199 }; 193 }; 200 194 201 CLUSTER_PD: power-domain-cpu-c 195 CLUSTER_PD: power-domain-cpu-cluster { 202 #power-domain-cells = 196 #power-domain-cells = <0>; 203 power-domains = <&mpm> << 204 domain-idle-states = < 197 domain-idle-states = <&CLUSTER_SLEEP>; 205 }; 198 }; 206 }; 199 }; 207 200 208 rpm: remoteproc { << 209 compatible = "qcom,qcm2290-rpm << 210 << 211 glink-edge { << 212 compatible = "qcom,gli << 213 interrupts = <GIC_SPI << 214 qcom,rpm-msg-ram = <&r << 215 mboxes = <&apcs_glb 0> << 216 << 217 rpm_requests: rpm-requ << 218 compatible = " << 219 qcom,glink-cha << 220 << 221 rpmcc: clock-c << 222 compat << 223 clocks << 224 clock- << 225 #clock << 226 }; << 227 << 228 rpmpd: power-c << 229 compat << 230 #power << 231 operat << 232 << 233 rpmpd_ << 234 << 235 << 236 << 237 << 238 << 239 << 240 << 241 << 242 << 243 << 244 << 245 << 246 << 247 << 248 << 249 << 250 << 251 << 252 << 253 << 254 << 255 << 256 << 257 << 258 << 259 << 260 << 261 << 262 << 263 << 264 << 265 << 266 << 267 }; << 268 }; << 269 }; << 270 }; << 271 << 272 mpm: interrupt-controller { << 273 compatible = "qcom,mpm << 274 qcom,rpm-msg-ram = <&a << 275 interrupts = <GIC_SPI << 276 mboxes = <&apcs_glb 1> << 277 interrupt-controller; << 278 #interrupt-cells = <2> << 279 #power-domain-cells = << 280 interrupt-parent = <&i << 281 qcom,mpm-pin-count = < << 282 qcom,mpm-pin-map = <2 << 283 <5 << 284 <12 << 285 <24 << 286 <86 << 287 <90 << 288 }; << 289 }; << 290 << 291 reserved_memory: reserved-memory { 201 reserved_memory: reserved-memory { 292 #address-cells = <2>; 202 #address-cells = <2>; 293 #size-cells = <2>; 203 #size-cells = <2>; 294 ranges; 204 ranges; 295 205 296 hyp_mem: hyp@45700000 { 206 hyp_mem: hyp@45700000 { 297 reg = <0x0 0x45700000 207 reg = <0x0 0x45700000 0x0 0x600000>; 298 no-map; 208 no-map; 299 }; 209 }; 300 210 301 xbl_aop_mem: xbl-aop@45e00000 211 xbl_aop_mem: xbl-aop@45e00000 { 302 reg = <0x0 0x45e00000 212 reg = <0x0 0x45e00000 0x0 0x140000>; 303 no-map; 213 no-map; 304 }; 214 }; 305 215 306 sec_apps_mem: sec-apps@45fff00 216 sec_apps_mem: sec-apps@45fff000 { 307 reg = <0x0 0x45fff000 217 reg = <0x0 0x45fff000 0x0 0x1000>; 308 no-map; 218 no-map; 309 }; 219 }; 310 220 311 smem_mem: smem@46000000 { 221 smem_mem: smem@46000000 { 312 compatible = "qcom,sme 222 compatible = "qcom,smem"; 313 reg = <0x0 0x46000000 223 reg = <0x0 0x46000000 0x0 0x200000>; 314 no-map; 224 no-map; 315 225 316 hwlocks = <&tcsr_mutex 226 hwlocks = <&tcsr_mutex 3>; 317 qcom,rpm-msg-ram = <&r 227 qcom,rpm-msg-ram = <&rpm_msg_ram>; 318 }; 228 }; 319 229 320 pil_modem_mem: modem@4ab00000 230 pil_modem_mem: modem@4ab00000 { 321 reg = <0x0 0x4ab00000 231 reg = <0x0 0x4ab00000 0x0 0x6900000>; 322 no-map; 232 no-map; 323 }; 233 }; 324 234 325 pil_video_mem: video@51400000 235 pil_video_mem: video@51400000 { 326 reg = <0x0 0x51400000 236 reg = <0x0 0x51400000 0x0 0x500000>; 327 no-map; 237 no-map; 328 }; 238 }; 329 239 330 wlan_msa_mem: wlan-msa@5190000 240 wlan_msa_mem: wlan-msa@51900000 { 331 reg = <0x0 0x51900000 241 reg = <0x0 0x51900000 0x0 0x100000>; 332 no-map; 242 no-map; 333 }; 243 }; 334 244 335 pil_adsp_mem: adsp@51a00000 { 245 pil_adsp_mem: adsp@51a00000 { 336 reg = <0x0 0x51a00000 246 reg = <0x0 0x51a00000 0x0 0x1c00000>; 337 no-map; 247 no-map; 338 }; 248 }; 339 249 340 pil_ipa_fw_mem: ipa-fw@5360000 250 pil_ipa_fw_mem: ipa-fw@53600000 { 341 reg = <0x0 0x53600000 251 reg = <0x0 0x53600000 0x0 0x10000>; 342 no-map; 252 no-map; 343 }; 253 }; 344 254 345 pil_ipa_gsi_mem: ipa-gsi@53610 255 pil_ipa_gsi_mem: ipa-gsi@53610000 { 346 reg = <0x0 0x53610000 256 reg = <0x0 0x53610000 0x0 0x5000>; 347 no-map; 257 no-map; 348 }; 258 }; 349 259 350 pil_gpu_mem: zap@53615000 { 260 pil_gpu_mem: zap@53615000 { 351 compatible = "shared-d 261 compatible = "shared-dma-pool"; 352 reg = <0x0 0x53615000 262 reg = <0x0 0x53615000 0x0 0x2000>; 353 no-map; 263 no-map; 354 }; 264 }; 355 265 356 cont_splash_memory: framebuffe 266 cont_splash_memory: framebuffer@5c000000 { 357 reg = <0x0 0x5c000000 267 reg = <0x0 0x5c000000 0x0 0x00f00000>; 358 no-map; 268 no-map; 359 }; 269 }; 360 270 361 dfps_data_memory: dpfs-data@5c 271 dfps_data_memory: dpfs-data@5cf00000 { 362 reg = <0x0 0x5cf00000 272 reg = <0x0 0x5cf00000 0x0 0x0100000>; 363 no-map; 273 no-map; 364 }; 274 }; 365 275 366 removed_mem: reserved@60000000 276 removed_mem: reserved@60000000 { 367 reg = <0x0 0x60000000 277 reg = <0x0 0x60000000 0x0 0x3900000>; 368 no-map; 278 no-map; 369 }; 279 }; 370 280 371 rmtfs_mem: memory@89b01000 { 281 rmtfs_mem: memory@89b01000 { 372 compatible = "qcom,rmt 282 compatible = "qcom,rmtfs-mem"; 373 reg = <0x0 0x89b01000 283 reg = <0x0 0x89b01000 0x0 0x200000>; 374 no-map; 284 no-map; 375 285 376 qcom,client-id = <1>; 286 qcom,client-id = <1>; 377 qcom,vmid = <QCOM_SCM_ 287 qcom,vmid = <QCOM_SCM_VMID_MSS_MSA QCOM_SCM_VMID_NAV>; 378 }; 288 }; 379 }; 289 }; 380 290 >> 291 rpm-glink { >> 292 compatible = "qcom,glink-rpm"; >> 293 interrupts = <GIC_SPI 194 IRQ_TYPE_EDGE_RISING>; >> 294 qcom,rpm-msg-ram = <&rpm_msg_ram>; >> 295 mboxes = <&apcs_glb 0>; >> 296 >> 297 rpm_requests: rpm-requests { >> 298 compatible = "qcom,rpm-qcm2290"; >> 299 qcom,glink-channels = "rpm_requests"; >> 300 >> 301 rpmcc: clock-controller { >> 302 compatible = "qcom,rpmcc-qcm2290", "qcom,rpmcc"; >> 303 clocks = <&xo_board>; >> 304 clock-names = "xo"; >> 305 #clock-cells = <1>; >> 306 }; >> 307 >> 308 rpmpd: power-controller { >> 309 compatible = "qcom,qcm2290-rpmpd"; >> 310 #power-domain-cells = <1>; >> 311 operating-points-v2 = <&rpmpd_opp_table>; >> 312 >> 313 rpmpd_opp_table: opp-table { >> 314 compatible = "operating-points-v2"; >> 315 >> 316 rpmpd_opp_min_svs: opp1 { >> 317 opp-level = <RPM_SMD_LEVEL_MIN_SVS>; >> 318 }; >> 319 >> 320 rpmpd_opp_low_svs: opp2 { >> 321 opp-level = <RPM_SMD_LEVEL_LOW_SVS>; >> 322 }; >> 323 >> 324 rpmpd_opp_svs: opp3 { >> 325 opp-level = <RPM_SMD_LEVEL_SVS>; >> 326 }; >> 327 >> 328 rpmpd_opp_svs_plus: opp4 { >> 329 opp-level = <RPM_SMD_LEVEL_SVS_PLUS>; >> 330 }; >> 331 >> 332 rpmpd_opp_nom: opp5 { >> 333 opp-level = <RPM_SMD_LEVEL_NOM>; >> 334 }; >> 335 >> 336 rpmpd_opp_nom_plus: opp6 { >> 337 opp-level = <RPM_SMD_LEVEL_NOM_PLUS>; >> 338 }; >> 339 >> 340 rpmpd_opp_turbo: opp7 { >> 341 opp-level = <RPM_SMD_LEVEL_TURBO>; >> 342 }; >> 343 >> 344 rpmpd_opp_turbo_plus: opp8 { >> 345 opp-level = <RPM_SMD_LEVEL_TURBO_NO_CPR>; >> 346 }; >> 347 }; >> 348 }; >> 349 }; >> 350 }; >> 351 381 smp2p-adsp { 352 smp2p-adsp { 382 compatible = "qcom,smp2p"; 353 compatible = "qcom,smp2p"; 383 qcom,smem = <443>, <429>; 354 qcom,smem = <443>, <429>; 384 355 385 interrupts = <GIC_SPI 279 IRQ_ 356 interrupts = <GIC_SPI 279 IRQ_TYPE_EDGE_RISING>; 386 357 387 mboxes = <&apcs_glb 10>; 358 mboxes = <&apcs_glb 10>; 388 359 389 qcom,local-pid = <0>; 360 qcom,local-pid = <0>; 390 qcom,remote-pid = <2>; 361 qcom,remote-pid = <2>; 391 362 392 adsp_smp2p_out: master-kernel 363 adsp_smp2p_out: master-kernel { 393 qcom,entry-name = "mas 364 qcom,entry-name = "master-kernel"; 394 #qcom,smem-state-cells 365 #qcom,smem-state-cells = <1>; 395 }; 366 }; 396 367 397 adsp_smp2p_in: slave-kernel { 368 adsp_smp2p_in: slave-kernel { 398 qcom,entry-name = "sla 369 qcom,entry-name = "slave-kernel"; 399 interrupt-controller; 370 interrupt-controller; 400 #interrupt-cells = <2> 371 #interrupt-cells = <2>; 401 }; 372 }; 402 }; 373 }; 403 374 404 smp2p-mpss { 375 smp2p-mpss { 405 compatible = "qcom,smp2p"; 376 compatible = "qcom,smp2p"; 406 qcom,smem = <435>, <428>; 377 qcom,smem = <435>, <428>; 407 378 408 interrupts = <GIC_SPI 70 IRQ_T 379 interrupts = <GIC_SPI 70 IRQ_TYPE_EDGE_RISING>; 409 380 410 mboxes = <&apcs_glb 14>; 381 mboxes = <&apcs_glb 14>; 411 382 412 qcom,local-pid = <0>; 383 qcom,local-pid = <0>; 413 qcom,remote-pid = <1>; 384 qcom,remote-pid = <1>; 414 385 415 modem_smp2p_out: master-kernel 386 modem_smp2p_out: master-kernel { 416 qcom,entry-name = "mas 387 qcom,entry-name = "master-kernel"; 417 #qcom,smem-state-cells 388 #qcom,smem-state-cells = <1>; 418 }; 389 }; 419 390 420 modem_smp2p_in: slave-kernel { 391 modem_smp2p_in: slave-kernel { 421 qcom,entry-name = "sla 392 qcom,entry-name = "slave-kernel"; 422 interrupt-controller; 393 interrupt-controller; 423 #interrupt-cells = <2> 394 #interrupt-cells = <2>; 424 }; 395 }; 425 396 426 wlan_smp2p_in: wlan-wpss-to-ap 397 wlan_smp2p_in: wlan-wpss-to-ap { 427 qcom,entry-name = "wla 398 qcom,entry-name = "wlan"; 428 interrupt-controller; 399 interrupt-controller; 429 #interrupt-cells = <2> 400 #interrupt-cells = <2>; 430 }; 401 }; 431 }; 402 }; 432 403 433 soc: soc@0 { 404 soc: soc@0 { 434 compatible = "simple-bus"; 405 compatible = "simple-bus"; 435 #address-cells = <2>; 406 #address-cells = <2>; 436 #size-cells = <2>; 407 #size-cells = <2>; 437 ranges = <0 0 0 0 0x10 0>; 408 ranges = <0 0 0 0 0x10 0>; 438 dma-ranges = <0 0 0 0 0x10 0>; 409 dma-ranges = <0 0 0 0 0x10 0>; 439 410 440 tcsr_mutex: hwlock@340000 { 411 tcsr_mutex: hwlock@340000 { 441 compatible = "qcom,tcs 412 compatible = "qcom,tcsr-mutex"; 442 reg = <0x0 0x00340000 413 reg = <0x0 0x00340000 0x0 0x20000>; 443 #hwlock-cells = <1>; 414 #hwlock-cells = <1>; 444 }; 415 }; 445 416 446 tcsr_regs: syscon@3c0000 { << 447 compatible = "qcom,qcm << 448 reg = <0x0 0x003c0000 << 449 }; << 450 << 451 tlmm: pinctrl@500000 { 417 tlmm: pinctrl@500000 { 452 compatible = "qcom,qcm 418 compatible = "qcom,qcm2290-tlmm"; 453 reg = <0x0 0x00500000 419 reg = <0x0 0x00500000 0x0 0x300000>; 454 interrupts = <GIC_SPI 420 interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 455 gpio-controller; 421 gpio-controller; 456 gpio-ranges = <&tlmm 0 422 gpio-ranges = <&tlmm 0 0 127>; 457 wakeup-parent = <&mpm> << 458 #gpio-cells = <2>; 423 #gpio-cells = <2>; 459 interrupt-controller; 424 interrupt-controller; 460 #interrupt-cells = <2> 425 #interrupt-cells = <2>; 461 426 462 qup_i2c0_default: qup- 427 qup_i2c0_default: qup-i2c0-default-state { 463 pins = "gpio0" 428 pins = "gpio0", "gpio1"; 464 function = "qu 429 function = "qup0"; 465 drive-strength 430 drive-strength = <2>; 466 bias-pull-up; 431 bias-pull-up; 467 }; 432 }; 468 433 469 qup_i2c1_default: qup- 434 qup_i2c1_default: qup-i2c1-default-state { 470 pins = "gpio4" 435 pins = "gpio4", "gpio5"; 471 function = "qu 436 function = "qup1"; 472 drive-strength 437 drive-strength = <2>; 473 bias-pull-up; 438 bias-pull-up; 474 }; 439 }; 475 440 476 qup_i2c2_default: qup- 441 qup_i2c2_default: qup-i2c2-default-state { 477 pins = "gpio6" 442 pins = "gpio6", "gpio7"; 478 function = "qu 443 function = "qup2"; 479 drive-strength 444 drive-strength = <2>; 480 bias-pull-up; 445 bias-pull-up; 481 }; 446 }; 482 447 483 qup_i2c3_default: qup- 448 qup_i2c3_default: qup-i2c3-default-state { 484 pins = "gpio8" 449 pins = "gpio8", "gpio9"; 485 function = "qu 450 function = "qup3"; 486 drive-strength 451 drive-strength = <2>; 487 bias-pull-up; 452 bias-pull-up; 488 }; 453 }; 489 454 490 qup_i2c4_default: qup- 455 qup_i2c4_default: qup-i2c4-default-state { 491 pins = "gpio12 456 pins = "gpio12", "gpio13"; 492 function = "qu 457 function = "qup4"; 493 drive-strength 458 drive-strength = <2>; 494 bias-pull-up; 459 bias-pull-up; 495 }; 460 }; 496 461 497 qup_i2c5_default: qup- 462 qup_i2c5_default: qup-i2c5-default-state { 498 pins = "gpio14 463 pins = "gpio14", "gpio15"; 499 function = "qu 464 function = "qup5"; 500 drive-strength 465 drive-strength = <2>; 501 bias-pull-up; 466 bias-pull-up; 502 }; 467 }; 503 468 504 qup_spi0_default: qup- 469 qup_spi0_default: qup-spi0-default-state { 505 pins = "gpio0" 470 pins = "gpio0", "gpio1","gpio2", "gpio3"; 506 function = "qu 471 function = "qup0"; 507 drive-strength 472 drive-strength = <2>; 508 bias-pull-up; 473 bias-pull-up; 509 }; 474 }; 510 475 511 qup_spi1_default: qup- 476 qup_spi1_default: qup-spi1-default-state { 512 pins = "gpio4" 477 pins = "gpio4", "gpio5", "gpio69", "gpio70"; 513 function = "qu 478 function = "qup1"; 514 drive-strength 479 drive-strength = <2>; 515 bias-pull-up; 480 bias-pull-up; 516 }; 481 }; 517 482 518 qup_spi2_default: qup- 483 qup_spi2_default: qup-spi2-default-state { 519 pins = "gpio6" 484 pins = "gpio6", "gpio7", "gpio71", "gpio80"; 520 function = "qu 485 function = "qup2"; 521 drive-strength 486 drive-strength = <2>; 522 bias-pull-up; 487 bias-pull-up; 523 }; 488 }; 524 489 525 qup_spi3_default: qup- 490 qup_spi3_default: qup-spi3-default-state { 526 pins = "gpio8" 491 pins = "gpio8", "gpio9", "gpio10", "gpio11"; 527 function = "qu 492 function = "qup3"; 528 drive-strength 493 drive-strength = <2>; 529 bias-pull-up; 494 bias-pull-up; 530 }; 495 }; 531 496 532 qup_spi4_default: qup- 497 qup_spi4_default: qup-spi4-default-state { 533 pins = "gpio12 498 pins = "gpio12", "gpio13", "gpio96", "gpio97"; 534 function = "qu 499 function = "qup4"; 535 drive-strength 500 drive-strength = <2>; 536 bias-pull-up; 501 bias-pull-up; 537 }; 502 }; 538 503 539 qup_spi5_default: qup- 504 qup_spi5_default: qup-spi5-default-state { 540 pins = "gpio14 505 pins = "gpio14", "gpio15", "gpio16", "gpio17"; 541 function = "qu 506 function = "qup5"; 542 drive-strength 507 drive-strength = <2>; 543 bias-pull-up; 508 bias-pull-up; 544 }; 509 }; 545 510 546 qup_uart0_default: qup 511 qup_uart0_default: qup-uart0-default-state { 547 pins = "gpio0" 512 pins = "gpio0", "gpio1", "gpio2", "gpio3"; 548 function = "qu 513 function = "qup0"; 549 drive-strength 514 drive-strength = <2>; 550 bias-disable; 515 bias-disable; 551 }; 516 }; 552 517 553 qup_uart4_default: qup 518 qup_uart4_default: qup-uart4-default-state { 554 pins = "gpio12 519 pins = "gpio12", "gpio13"; 555 function = "qu 520 function = "qup4"; 556 drive-strength 521 drive-strength = <2>; 557 bias-disable; 522 bias-disable; 558 }; 523 }; 559 524 560 sdc1_state_on: sdc1-on 525 sdc1_state_on: sdc1-on-state { 561 clk-pins { 526 clk-pins { 562 pins = 527 pins = "sdc1_clk"; 563 drive- 528 drive-strength = <16>; 564 bias-d 529 bias-disable; 565 }; 530 }; 566 531 567 cmd-pins { 532 cmd-pins { 568 pins = 533 pins = "sdc1_cmd"; 569 drive- 534 drive-strength = <10>; 570 bias-p 535 bias-pull-up; 571 }; 536 }; 572 537 573 data-pins { 538 data-pins { 574 pins = 539 pins = "sdc1_data"; 575 drive- 540 drive-strength = <10>; 576 bias-p 541 bias-pull-up; 577 }; 542 }; 578 543 579 rclk-pins { 544 rclk-pins { 580 pins = 545 pins = "sdc1_rclk"; 581 bias-p 546 bias-pull-down; 582 }; 547 }; 583 }; 548 }; 584 549 585 sdc1_state_off: sdc1-o 550 sdc1_state_off: sdc1-off-state { 586 clk-pins { 551 clk-pins { 587 pins = 552 pins = "sdc1_clk"; 588 drive- 553 drive-strength = <2>; 589 bias-d 554 bias-disable; 590 }; 555 }; 591 556 592 cmd-pins { 557 cmd-pins { 593 pins = 558 pins = "sdc1_cmd"; 594 drive- 559 drive-strength = <2>; 595 bias-p 560 bias-pull-up; 596 }; 561 }; 597 562 598 data-pins { 563 data-pins { 599 pins = 564 pins = "sdc1_data"; 600 drive- 565 drive-strength = <2>; 601 bias-p 566 bias-pull-up; 602 }; 567 }; 603 568 604 rclk-pins { 569 rclk-pins { 605 pins = 570 pins = "sdc1_rclk"; 606 bias-p 571 bias-pull-down; 607 }; 572 }; 608 }; 573 }; 609 574 610 sdc2_state_on: sdc2-on 575 sdc2_state_on: sdc2-on-state { 611 clk-pins { 576 clk-pins { 612 pins = 577 pins = "sdc2_clk"; 613 drive- 578 drive-strength = <16>; 614 bias-d 579 bias-disable; 615 }; 580 }; 616 581 617 cmd-pins { 582 cmd-pins { 618 pins = 583 pins = "sdc2_cmd"; 619 drive- 584 drive-strength = <10>; 620 bias-p 585 bias-pull-up; 621 }; 586 }; 622 587 623 data-pins { 588 data-pins { 624 pins = 589 pins = "sdc2_data"; 625 drive- 590 drive-strength = <10>; 626 bias-p 591 bias-pull-up; 627 }; 592 }; 628 }; 593 }; 629 594 630 sdc2_state_off: sdc2-o 595 sdc2_state_off: sdc2-off-state { 631 clk-pins { 596 clk-pins { 632 pins = 597 pins = "sdc2_clk"; 633 drive- 598 drive-strength = <2>; 634 bias-d 599 bias-disable; 635 }; 600 }; 636 601 637 cmd-pins { 602 cmd-pins { 638 pins = 603 pins = "sdc2_cmd"; 639 drive- 604 drive-strength = <2>; 640 bias-p 605 bias-pull-up; 641 }; 606 }; 642 607 643 data-pins { 608 data-pins { 644 pins = 609 pins = "sdc2_data"; 645 drive- 610 drive-strength = <2>; 646 bias-p 611 bias-pull-up; 647 }; 612 }; 648 }; 613 }; 649 }; 614 }; 650 615 651 gcc: clock-controller@1400000 616 gcc: clock-controller@1400000 { 652 compatible = "qcom,gcc 617 compatible = "qcom,gcc-qcm2290"; 653 reg = <0x0 0x01400000 618 reg = <0x0 0x01400000 0x0 0x1f0000>; 654 clocks = <&rpmcc RPM_S 619 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>; 655 clock-names = "bi_tcxo 620 clock-names = "bi_tcxo", "sleep_clk"; 656 #clock-cells = <1>; 621 #clock-cells = <1>; 657 #reset-cells = <1>; 622 #reset-cells = <1>; 658 #power-domain-cells = 623 #power-domain-cells = <1>; 659 }; 624 }; 660 625 661 usb_hsphy: phy@1613000 { 626 usb_hsphy: phy@1613000 { 662 compatible = "qcom,qcm 627 compatible = "qcom,qcm2290-qusb2-phy"; 663 reg = <0x0 0x01613000 628 reg = <0x0 0x01613000 0x0 0x180>; 664 629 665 clocks = <&gcc GCC_AHB 630 clocks = <&gcc GCC_AHB2PHY_USB_CLK>, 666 <&rpmcc RPM_S 631 <&rpmcc RPM_SMD_XO_CLK_SRC>; 667 clock-names = "cfg_ahb 632 clock-names = "cfg_ahb", "ref"; 668 633 669 resets = <&gcc GCC_QUS 634 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; 670 nvmem-cells = <&qusb2_ 635 nvmem-cells = <&qusb2_hstx_trim>; 671 #phy-cells = <0>; 636 #phy-cells = <0>; 672 637 673 status = "disabled"; 638 status = "disabled"; 674 }; 639 }; 675 640 676 usb_qmpphy: phy@1615000 { << 677 compatible = "qcom,qcm << 678 reg = <0x0 0x01615000 << 679 << 680 clocks = <&gcc GCC_AHB << 681 <&gcc GCC_USB << 682 <&gcc GCC_USB << 683 <&gcc GCC_USB << 684 clock-names = "cfg_ahb << 685 "ref", << 686 "com_aux << 687 "pipe"; << 688 << 689 resets = <&gcc GCC_USB << 690 <&gcc GCC_USB << 691 reset-names = "phy", << 692 "phy_phy << 693 << 694 #clock-cells = <0>; << 695 clock-output-names = " << 696 << 697 #phy-cells = <0>; << 698 orientation-switch; << 699 << 700 qcom,tcsr-reg = <&tcsr << 701 << 702 status = "disabled"; << 703 << 704 ports { << 705 #address-cells << 706 #size-cells = << 707 << 708 port@0 { << 709 reg = << 710 << 711 usb_qm << 712 }; << 713 }; << 714 << 715 port@1 { << 716 reg = << 717 << 718 usb_qm << 719 << 720 }; << 721 }; << 722 }; << 723 }; << 724 << 725 system_noc: interconnect@18800 << 726 compatible = "qcom,qcm << 727 reg = <0x0 0x01880000 << 728 #interconnect-cells = << 729 << 730 qup_virt: interconnect << 731 compatible = " << 732 #interconnect- << 733 }; << 734 << 735 mmnrt_virt: interconne << 736 compatible = " << 737 #interconnect- << 738 }; << 739 << 740 mmrt_virt: interconnec << 741 compatible = " << 742 #interconnect- << 743 }; << 744 }; << 745 << 746 config_noc: interconnect@19000 << 747 compatible = "qcom,qcm << 748 reg = <0x0 0x01900000 << 749 #interconnect-cells = << 750 }; << 751 << 752 qfprom@1b44000 { 641 qfprom@1b44000 { 753 compatible = "qcom,qcm 642 compatible = "qcom,qcm2290-qfprom", "qcom,qfprom"; 754 reg = <0x0 0x01b44000 643 reg = <0x0 0x01b44000 0x0 0x3000>; 755 #address-cells = <1>; 644 #address-cells = <1>; 756 #size-cells = <1>; 645 #size-cells = <1>; 757 646 758 qusb2_hstx_trim: hstx- 647 qusb2_hstx_trim: hstx-trim@25b { 759 reg = <0x25b 0 648 reg = <0x25b 0x1>; 760 bits = <1 4>; 649 bits = <1 4>; 761 }; 650 }; 762 << 763 gpu_speed_bin: gpu-spe << 764 reg = <0x2006 << 765 bits = <5 8>; << 766 }; << 767 }; << 768 << 769 pmu@1b8e300 { << 770 compatible = "qcom,qcm << 771 reg = <0x0 0x01b8e300 << 772 interrupts = <GIC_SPI << 773 << 774 operating-points-v2 = << 775 interconnects = <&bimc << 776 &bimc << 777 << 778 cpu_bwmon_opp_table: o << 779 compatible = " << 780 << 781 opp-0 { << 782 opp-pe << 783 }; << 784 << 785 opp-1 { << 786 opp-pe << 787 }; << 788 << 789 opp-2 { << 790 opp-pe << 791 }; << 792 << 793 opp-3 { << 794 opp-pe << 795 }; << 796 << 797 opp-4 { << 798 opp-pe << 799 }; << 800 << 801 opp-5 { << 802 opp-pe << 803 }; << 804 << 805 opp-6 { << 806 opp-pe << 807 }; << 808 << 809 opp-7 { << 810 opp-pe << 811 }; << 812 << 813 opp-8 { << 814 opp-pe << 815 }; << 816 << 817 opp-9 { << 818 opp-pe << 819 }; << 820 }; << 821 }; 651 }; 822 652 823 spmi_bus: spmi@1c40000 { 653 spmi_bus: spmi@1c40000 { 824 compatible = "qcom,spm 654 compatible = "qcom,spmi-pmic-arb"; 825 reg = <0x0 0x01c40000 655 reg = <0x0 0x01c40000 0x0 0x1100>, 826 <0x0 0x01e00000 656 <0x0 0x01e00000 0x0 0x2000000>, 827 <0x0 0x03e00000 657 <0x0 0x03e00000 0x0 0x100000>, 828 <0x0 0x03f00000 658 <0x0 0x03f00000 0x0 0xa0000>, 829 <0x0 0x01c0a000 659 <0x0 0x01c0a000 0x0 0x26000>; 830 reg-names = "core", 660 reg-names = "core", 831 "chnls", 661 "chnls", 832 "obsrvr", 662 "obsrvr", 833 "intr", 663 "intr", 834 "cnfg"; 664 "cnfg"; 835 interrupts-extended = !! 665 interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; 836 interrupt-names = "per 666 interrupt-names = "periph_irq"; 837 qcom,ee = <0>; 667 qcom,ee = <0>; 838 qcom,channel = <0>; 668 qcom,channel = <0>; 839 #address-cells = <2>; 669 #address-cells = <2>; 840 #size-cells = <0>; 670 #size-cells = <0>; 841 interrupt-controller; 671 interrupt-controller; 842 #interrupt-cells = <4> 672 #interrupt-cells = <4>; 843 }; 673 }; 844 674 845 tsens0: thermal-sensor@4411000 675 tsens0: thermal-sensor@4411000 { 846 compatible = "qcom,qcm 676 compatible = "qcom,qcm2290-tsens", "qcom,tsens-v2"; 847 reg = <0x0 0x04411000 677 reg = <0x0 0x04411000 0x0 0x1ff>, 848 <0x0 0x04410000 678 <0x0 0x04410000 0x0 0x8>; 849 #qcom,sensors = <10>; 679 #qcom,sensors = <10>; 850 interrupts-extended = !! 680 interrupts = <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, 851 !! 681 <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 852 interrupt-names = "upl 682 interrupt-names = "uplow", "critical"; 853 #thermal-sensor-cells 683 #thermal-sensor-cells = <1>; 854 }; 684 }; 855 685 856 rng: rng@4453000 { 686 rng: rng@4453000 { 857 compatible = "qcom,prn 687 compatible = "qcom,prng-ee"; 858 reg = <0x0 0x04453000 688 reg = <0x0 0x04453000 0x0 0x1000>; 859 clocks = <&rpmcc RPM_S 689 clocks = <&rpmcc RPM_SMD_HWKM_CLK>; 860 clock-names = "core"; 690 clock-names = "core"; 861 }; 691 }; 862 692 863 bimc: interconnect@4480000 { << 864 compatible = "qcom,qcm << 865 reg = <0x0 0x04480000 << 866 #interconnect-cells = << 867 }; << 868 << 869 rpm_msg_ram: sram@45f0000 { 693 rpm_msg_ram: sram@45f0000 { 870 compatible = "qcom,rpm !! 694 compatible = "qcom,rpm-msg-ram"; 871 reg = <0x0 0x045f0000 695 reg = <0x0 0x045f0000 0x0 0x7000>; 872 #address-cells = <1>; << 873 #size-cells = <1>; << 874 ranges = <0 0x0 0x045f << 875 << 876 apss_mpm: sram@1b8 { << 877 reg = <0x1b8 0 << 878 }; << 879 }; 696 }; 880 697 881 sram@4690000 { 698 sram@4690000 { 882 compatible = "qcom,rpm 699 compatible = "qcom,rpm-stats"; 883 reg = <0x0 0x04690000 700 reg = <0x0 0x04690000 0x0 0x10000>; 884 }; 701 }; 885 702 886 sdhc_1: mmc@4744000 { 703 sdhc_1: mmc@4744000 { 887 compatible = "qcom,qcm 704 compatible = "qcom,qcm2290-sdhci", "qcom,sdhci-msm-v5"; 888 reg = <0x0 0x04744000 705 reg = <0x0 0x04744000 0x0 0x1000>, 889 <0x0 0x04745000 706 <0x0 0x04745000 0x0 0x1000>, 890 <0x0 0x04748000 707 <0x0 0x04748000 0x0 0x8000>; 891 reg-names = "hc", 708 reg-names = "hc", 892 "cqhci", 709 "cqhci", 893 "ice"; 710 "ice"; 894 711 895 interrupts = <GIC_SPI 712 interrupts = <GIC_SPI 348 IRQ_TYPE_LEVEL_HIGH>, 896 <GIC_SPI 713 <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>; 897 interrupt-names = "hc_ 714 interrupt-names = "hc_irq", "pwr_irq"; 898 715 899 clocks = <&gcc GCC_SDC 716 clocks = <&gcc GCC_SDCC1_AHB_CLK>, 900 <&gcc GCC_SDC 717 <&gcc GCC_SDCC1_APPS_CLK>, 901 <&rpmcc RPM_S 718 <&rpmcc RPM_SMD_XO_CLK_SRC>, 902 <&gcc GCC_SDC 719 <&gcc GCC_SDCC1_ICE_CORE_CLK>; 903 clock-names = "iface", 720 clock-names = "iface", 904 "core", 721 "core", 905 "xo", 722 "xo", 906 "ice"; 723 "ice"; 907 724 908 resets = <&gcc GCC_SDC 725 resets = <&gcc GCC_SDCC1_BCR>; 909 726 910 power-domains = <&rpmp 727 power-domains = <&rpmpd QCM2290_VDDCX>; 911 operating-points-v2 = << 912 iommus = <&apps_smmu 0 728 iommus = <&apps_smmu 0xc0 0x0>; 913 interconnects = <&syst << 914 &bimc << 915 <&bimc << 916 &conf << 917 interconnect-names = " << 918 " << 919 729 920 qcom,dll-config = <0x0 730 qcom,dll-config = <0x000f642c>; 921 qcom,ddr-config = <0x8 731 qcom,ddr-config = <0x80040868>; 922 bus-width = <8>; 732 bus-width = <8>; 923 733 924 status = "disabled"; 734 status = "disabled"; 925 << 926 sdhc1_opp_table: opp-t << 927 compatible = " << 928 << 929 opp-100000000 << 930 opp-hz << 931 requir << 932 opp-pe << 933 opp-av << 934 }; << 935 << 936 opp-192000000 << 937 opp-hz << 938 requir << 939 opp-pe << 940 opp-av << 941 }; << 942 << 943 opp-384000000 << 944 opp-hz << 945 requir << 946 opp-pe << 947 opp-av << 948 }; << 949 }; << 950 }; 735 }; 951 736 952 sdhc_2: mmc@4784000 { 737 sdhc_2: mmc@4784000 { 953 compatible = "qcom,qcm 738 compatible = "qcom,qcm2290-sdhci", "qcom,sdhci-msm-v5"; 954 reg = <0x0 0x04784000 739 reg = <0x0 0x04784000 0x0 0x1000>; 955 reg-names = "hc"; 740 reg-names = "hc"; 956 741 957 interrupts = <GIC_SPI 742 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, 958 <GIC_SPI 743 <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>; 959 interrupt-names = "hc_ 744 interrupt-names = "hc_irq", "pwr_irq"; 960 745 961 clocks = <&gcc GCC_SDC 746 clocks = <&gcc GCC_SDCC2_AHB_CLK>, 962 <&gcc GCC_SDC 747 <&gcc GCC_SDCC2_APPS_CLK>, 963 <&rpmcc RPM_S 748 <&rpmcc RPM_SMD_XO_CLK_SRC>; 964 clock-names = "iface", 749 clock-names = "iface", 965 "core", 750 "core", 966 "xo"; 751 "xo"; 967 752 968 resets = <&gcc GCC_SDC 753 resets = <&gcc GCC_SDCC2_BCR>; 969 754 970 power-domains = <&rpmp 755 power-domains = <&rpmpd QCM2290_VDDCX>; 971 operating-points-v2 = 756 operating-points-v2 = <&sdhc2_opp_table>; 972 iommus = <&apps_smmu 0 757 iommus = <&apps_smmu 0xa0 0x0>; 973 interconnects = <&syst << 974 &bimc << 975 <&bimc << 976 &conf << 977 interconnect-names = " << 978 " << 979 758 980 qcom,dll-config = <0x0 759 qcom,dll-config = <0x0007642c>; 981 qcom,ddr-config = <0x8 760 qcom,ddr-config = <0x80040868>; 982 bus-width = <4>; 761 bus-width = <4>; 983 762 984 status = "disabled"; 763 status = "disabled"; 985 764 986 sdhc2_opp_table: opp-t 765 sdhc2_opp_table: opp-table { 987 compatible = " 766 compatible = "operating-points-v2"; 988 767 989 opp-100000000 768 opp-100000000 { 990 opp-hz 769 opp-hz = /bits/ 64 <100000000>; 991 requir 770 required-opps = <&rpmpd_opp_low_svs>; 992 opp-pe << 993 opp-av << 994 }; 771 }; 995 772 996 opp-202000000 773 opp-202000000 { 997 opp-hz 774 opp-hz = /bits/ 64 <202000000>; 998 requir 775 required-opps = <&rpmpd_opp_svs_plus>; 999 opp-pe << 1000 opp-a << 1001 }; 776 }; 1002 }; 777 }; 1003 }; 778 }; 1004 779 1005 gpi_dma0: dma-controller@4a00 780 gpi_dma0: dma-controller@4a00000 { 1006 compatible = "qcom,qc 781 compatible = "qcom,qcm2290-gpi-dma", "qcom,sm6350-gpi-dma"; 1007 reg = <0x0 0x04a00000 782 reg = <0x0 0x04a00000 0x0 0x60000>; 1008 interrupts = <GIC_SPI 783 interrupts = <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>, 1009 <GIC_SPI 784 <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>, 1010 <GIC_SPI 785 <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>, 1011 <GIC_SPI 786 <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 1012 <GIC_SPI 787 <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>, 1013 <GIC_SPI 788 <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>, 1014 <GIC_SPI 789 <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>, 1015 <GIC_SPI 790 <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>, 1016 <GIC_SPI 791 <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>, 1017 <GIC_SPI 792 <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>; 1018 dma-channels = <10>; 793 dma-channels = <10>; 1019 dma-channel-mask = <0 794 dma-channel-mask = <0x1f>; 1020 iommus = <&apps_smmu 795 iommus = <&apps_smmu 0xf6 0x0>; 1021 #dma-cells = <3>; 796 #dma-cells = <3>; 1022 status = "disabled"; 797 status = "disabled"; 1023 }; 798 }; 1024 799 1025 qupv3_id_0: geniqup@4ac0000 { 800 qupv3_id_0: geniqup@4ac0000 { 1026 compatible = "qcom,ge 801 compatible = "qcom,geni-se-qup"; 1027 reg = <0x0 0x04ac0000 802 reg = <0x0 0x04ac0000 0x0 0x2000>; 1028 clocks = <&gcc GCC_QU 803 clocks = <&gcc GCC_QUPV3_WRAP_0_M_AHB_CLK>, 1029 <&gcc GCC_QU 804 <&gcc GCC_QUPV3_WRAP_0_S_AHB_CLK>; 1030 clock-names = "m-ahb" 805 clock-names = "m-ahb", "s-ahb"; 1031 iommus = <&apps_smmu 806 iommus = <&apps_smmu 0xe3 0x0>; 1032 #address-cells = <2>; 807 #address-cells = <2>; 1033 #size-cells = <2>; 808 #size-cells = <2>; 1034 ranges; 809 ranges; 1035 status = "disabled"; 810 status = "disabled"; 1036 811 1037 i2c0: i2c@4a80000 { 812 i2c0: i2c@4a80000 { 1038 compatible = 813 compatible = "qcom,geni-i2c"; 1039 reg = <0x0 0x 814 reg = <0x0 0x04a80000 0x0 0x4000>; 1040 interrupts = 815 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 1041 clocks = <&gc 816 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1042 clock-names = 817 clock-names = "se"; 1043 pinctrl-0 = < 818 pinctrl-0 = <&qup_i2c0_default>; 1044 pinctrl-names 819 pinctrl-names = "default"; 1045 dmas = <&gpi_ 820 dmas = <&gpi_dma0 0 0 QCOM_GPI_I2C>, 1046 <&gpi_ 821 <&gpi_dma0 1 0 QCOM_GPI_I2C>; 1047 dma-names = " 822 dma-names = "tx", "rx"; 1048 interconnects << 1049 << 1050 << 1051 << 1052 << 1053 << 1054 interconnect- << 1055 << 1056 << 1057 #address-cell 823 #address-cells = <1>; 1058 #size-cells = 824 #size-cells = <0>; 1059 status = "dis 825 status = "disabled"; 1060 }; 826 }; 1061 827 1062 spi0: spi@4a80000 { 828 spi0: spi@4a80000 { 1063 compatible = 829 compatible = "qcom,geni-spi"; 1064 reg = <0x0 0x 830 reg = <0x0 0x04a80000 0x0 0x4000>; 1065 interrupts = 831 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 1066 clocks = <&gc 832 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1067 clock-names = 833 clock-names = "se"; 1068 pinctrl-0 = < 834 pinctrl-0 = <&qup_spi0_default>; 1069 pinctrl-names 835 pinctrl-names = "default"; 1070 dmas = <&gpi_ 836 dmas = <&gpi_dma0 0 0 QCOM_GPI_SPI>, 1071 <&gpi_ 837 <&gpi_dma0 1 0 QCOM_GPI_SPI>; 1072 dma-names = " 838 dma-names = "tx", "rx"; 1073 interconnects << 1074 << 1075 << 1076 << 1077 interconnect- << 1078 << 1079 #address-cell 839 #address-cells = <1>; 1080 #size-cells = 840 #size-cells = <0>; 1081 status = "dis 841 status = "disabled"; 1082 }; 842 }; 1083 843 1084 uart0: serial@4a80000 844 uart0: serial@4a80000 { 1085 compatible = 845 compatible = "qcom,geni-uart"; 1086 reg = <0x0 0x 846 reg = <0x0 0x04a80000 0x0 0x4000>; 1087 interrupts = 847 interrupts = <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>; 1088 clocks = <&gc 848 clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>; 1089 clock-names = 849 clock-names = "se"; 1090 pinctrl-0 = < 850 pinctrl-0 = <&qup_uart0_default>; 1091 pinctrl-names 851 pinctrl-names = "default"; 1092 interconnects << 1093 << 1094 << 1095 << 1096 interconnect- << 1097 << 1098 status = "dis 852 status = "disabled"; 1099 }; 853 }; 1100 854 1101 i2c1: i2c@4a84000 { 855 i2c1: i2c@4a84000 { 1102 compatible = 856 compatible = "qcom,geni-i2c"; 1103 reg = <0x0 0x 857 reg = <0x0 0x04a84000 0x0 0x4000>; 1104 interrupts = 858 interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>; 1105 clocks = <&gc 859 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1106 clock-names = 860 clock-names = "se"; 1107 pinctrl-0 = < 861 pinctrl-0 = <&qup_i2c1_default>; 1108 pinctrl-names 862 pinctrl-names = "default"; 1109 dmas = <&gpi_ 863 dmas = <&gpi_dma0 0 1 QCOM_GPI_I2C>, 1110 <&gpi_ 864 <&gpi_dma0 1 1 QCOM_GPI_I2C>; 1111 dma-names = " 865 dma-names = "tx", "rx"; 1112 interconnects << 1113 << 1114 << 1115 << 1116 << 1117 << 1118 interconnect- << 1119 << 1120 << 1121 #address-cell 866 #address-cells = <1>; 1122 #size-cells = 867 #size-cells = <0>; 1123 status = "dis 868 status = "disabled"; 1124 }; 869 }; 1125 870 1126 spi1: spi@4a84000 { 871 spi1: spi@4a84000 { 1127 compatible = 872 compatible = "qcom,geni-spi"; 1128 reg = <0x0 0x 873 reg = <0x0 0x04a84000 0x0 0x4000>; 1129 interrupts = 874 interrupts = <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>; 1130 clocks = <&gc 875 clocks = <&gcc GCC_QUPV3_WRAP0_S1_CLK>; 1131 clock-names = 876 clock-names = "se"; 1132 pinctrl-0 = < 877 pinctrl-0 = <&qup_spi1_default>; 1133 pinctrl-names 878 pinctrl-names = "default"; 1134 dmas = <&gpi_ 879 dmas = <&gpi_dma0 0 1 QCOM_GPI_SPI>, 1135 <&gpi_ 880 <&gpi_dma0 1 1 QCOM_GPI_SPI>; 1136 dma-names = " 881 dma-names = "tx", "rx"; 1137 interconnects << 1138 << 1139 << 1140 << 1141 interconnect- << 1142 << 1143 #address-cell 882 #address-cells = <1>; 1144 #size-cells = 883 #size-cells = <0>; 1145 status = "dis 884 status = "disabled"; 1146 }; 885 }; 1147 886 1148 i2c2: i2c@4a88000 { 887 i2c2: i2c@4a88000 { 1149 compatible = 888 compatible = "qcom,geni-i2c"; 1150 reg = <0x0 0x 889 reg = <0x0 0x04a88000 0x0 0x4000>; 1151 interrupts = 890 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>; 1152 clocks = <&gc 891 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1153 clock-names = 892 clock-names = "se"; 1154 pinctrl-0 = < 893 pinctrl-0 = <&qup_i2c2_default>; 1155 pinctrl-names 894 pinctrl-names = "default"; 1156 dmas = <&gpi_ 895 dmas = <&gpi_dma0 0 2 QCOM_GPI_I2C>, 1157 <&gpi_ 896 <&gpi_dma0 1 2 QCOM_GPI_I2C>; 1158 dma-names = " 897 dma-names = "tx", "rx"; 1159 interconnects << 1160 << 1161 << 1162 << 1163 << 1164 << 1165 interconnect- << 1166 << 1167 << 1168 #address-cell 898 #address-cells = <1>; 1169 #size-cells = 899 #size-cells = <0>; 1170 status = "dis 900 status = "disabled"; 1171 }; 901 }; 1172 902 1173 spi2: spi@4a88000 { 903 spi2: spi@4a88000 { 1174 compatible = 904 compatible = "qcom,geni-spi"; 1175 reg = <0x0 0x 905 reg = <0x0 0x04a88000 0x0 0x4000>; 1176 interrupts = 906 interrupts = <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>; 1177 clocks = <&gc 907 clocks = <&gcc GCC_QUPV3_WRAP0_S2_CLK>; 1178 clock-names = 908 clock-names = "se"; 1179 pinctrl-0 = < 909 pinctrl-0 = <&qup_spi2_default>; 1180 pinctrl-names 910 pinctrl-names = "default"; 1181 dmas = <&gpi_ 911 dmas = <&gpi_dma0 0 2 QCOM_GPI_SPI>, 1182 <&gpi_ 912 <&gpi_dma0 1 2 QCOM_GPI_SPI>; 1183 dma-names = " 913 dma-names = "tx", "rx"; 1184 interconnects << 1185 << 1186 << 1187 << 1188 interconnect- << 1189 << 1190 #address-cell 914 #address-cells = <1>; 1191 #size-cells = 915 #size-cells = <0>; 1192 status = "dis 916 status = "disabled"; 1193 }; 917 }; 1194 918 1195 i2c3: i2c@4a8c000 { 919 i2c3: i2c@4a8c000 { 1196 compatible = 920 compatible = "qcom,geni-i2c"; 1197 reg = <0x0 0x 921 reg = <0x0 0x04a8c000 0x0 0x4000>; 1198 interrupts = 922 interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>; 1199 clocks = <&gc 923 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1200 clock-names = 924 clock-names = "se"; 1201 pinctrl-0 = < 925 pinctrl-0 = <&qup_i2c3_default>; 1202 pinctrl-names 926 pinctrl-names = "default"; 1203 dmas = <&gpi_ 927 dmas = <&gpi_dma0 0 3 QCOM_GPI_I2C>, 1204 <&gpi_ 928 <&gpi_dma0 1 3 QCOM_GPI_I2C>; 1205 dma-names = " 929 dma-names = "tx", "rx"; 1206 interconnects << 1207 << 1208 << 1209 << 1210 << 1211 << 1212 interconnect- << 1213 << 1214 << 1215 #address-cell 930 #address-cells = <1>; 1216 #size-cells = 931 #size-cells = <0>; 1217 status = "dis 932 status = "disabled"; 1218 }; 933 }; 1219 934 1220 spi3: spi@4a8c000 { 935 spi3: spi@4a8c000 { 1221 compatible = 936 compatible = "qcom,geni-spi"; 1222 reg = <0x0 0x 937 reg = <0x0 0x04a8c000 0x0 0x4000>; 1223 interrupts = 938 interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>; 1224 clocks = <&gc 939 clocks = <&gcc GCC_QUPV3_WRAP0_S3_CLK>; 1225 clock-names = 940 clock-names = "se"; 1226 pinctrl-0 = < 941 pinctrl-0 = <&qup_spi3_default>; 1227 pinctrl-names 942 pinctrl-names = "default"; 1228 dmas = <&gpi_ 943 dmas = <&gpi_dma0 0 3 QCOM_GPI_SPI>, 1229 <&gpi_ 944 <&gpi_dma0 1 3 QCOM_GPI_SPI>; 1230 dma-names = " 945 dma-names = "tx", "rx"; 1231 interconnects << 1232 << 1233 << 1234 << 1235 interconnect- << 1236 << 1237 #address-cell 946 #address-cells = <1>; 1238 #size-cells = 947 #size-cells = <0>; 1239 status = "dis 948 status = "disabled"; 1240 }; 949 }; 1241 950 1242 i2c4: i2c@4a90000 { 951 i2c4: i2c@4a90000 { 1243 compatible = 952 compatible = "qcom,geni-i2c"; 1244 reg = <0x0 0x 953 reg = <0x0 0x04a90000 0x0 0x4000>; 1245 interrupts = 954 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 1246 clocks = <&gc 955 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1247 clock-names = 956 clock-names = "se"; 1248 pinctrl-0 = < 957 pinctrl-0 = <&qup_i2c4_default>; 1249 pinctrl-names 958 pinctrl-names = "default"; 1250 dmas = <&gpi_ 959 dmas = <&gpi_dma0 0 4 QCOM_GPI_I2C>, 1251 <&gpi_ 960 <&gpi_dma0 1 4 QCOM_GPI_I2C>; 1252 dma-names = " 961 dma-names = "tx", "rx"; 1253 interconnects << 1254 << 1255 << 1256 << 1257 << 1258 << 1259 interconnect- << 1260 << 1261 << 1262 #address-cell 962 #address-cells = <1>; 1263 #size-cells = 963 #size-cells = <0>; 1264 status = "dis 964 status = "disabled"; 1265 }; 965 }; 1266 966 1267 spi4: spi@4a90000 { 967 spi4: spi@4a90000 { 1268 compatible = 968 compatible = "qcom,geni-spi"; 1269 reg = <0x0 0x 969 reg = <0x0 0x04a90000 0x0 0x4000>; 1270 interrupts = 970 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 1271 clock-names = 971 clock-names = "se"; 1272 clocks = <&gc 972 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1273 pinctrl-names 973 pinctrl-names = "default"; 1274 pinctrl-0 = < 974 pinctrl-0 = <&qup_spi4_default>; 1275 dmas = <&gpi_ 975 dmas = <&gpi_dma0 0 4 QCOM_GPI_SPI>, 1276 <&gpi_ 976 <&gpi_dma0 1 4 QCOM_GPI_SPI>; 1277 dma-names = " 977 dma-names = "tx", "rx"; 1278 interconnects << 1279 << 1280 << 1281 << 1282 interconnect- << 1283 << 1284 #address-cell 978 #address-cells = <1>; 1285 #size-cells = 979 #size-cells = <0>; 1286 status = "dis 980 status = "disabled"; 1287 }; 981 }; 1288 982 1289 uart4: serial@4a90000 983 uart4: serial@4a90000 { 1290 compatible = 984 compatible = "qcom,geni-uart"; 1291 reg = <0x0 0x 985 reg = <0x0 0x04a90000 0x0 0x4000>; 1292 interrupts = 986 interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>; 1293 clocks = <&gc 987 clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>; 1294 clock-names = 988 clock-names = "se"; 1295 pinctrl-0 = < 989 pinctrl-0 = <&qup_uart4_default>; 1296 pinctrl-names 990 pinctrl-names = "default"; 1297 interconnects << 1298 << 1299 << 1300 << 1301 interconnect- << 1302 << 1303 status = "dis 991 status = "disabled"; 1304 }; 992 }; 1305 993 1306 i2c5: i2c@4a94000 { 994 i2c5: i2c@4a94000 { 1307 compatible = 995 compatible = "qcom,geni-i2c"; 1308 reg = <0x0 0x 996 reg = <0x0 0x04a94000 0x0 0x4000>; 1309 interrupts = 997 interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; 1310 clocks = <&gc 998 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1311 clock-names = 999 clock-names = "se"; 1312 pinctrl-0 = < 1000 pinctrl-0 = <&qup_i2c5_default>; 1313 pinctrl-names 1001 pinctrl-names = "default"; 1314 dmas = <&gpi_ 1002 dmas = <&gpi_dma0 0 5 QCOM_GPI_I2C>, 1315 <&gpi_ 1003 <&gpi_dma0 1 5 QCOM_GPI_I2C>; 1316 dma-names = " 1004 dma-names = "tx", "rx"; 1317 interconnects << 1318 << 1319 << 1320 << 1321 << 1322 << 1323 interconnect- << 1324 << 1325 << 1326 #address-cell 1005 #address-cells = <1>; 1327 #size-cells = 1006 #size-cells = <0>; 1328 status = "dis 1007 status = "disabled"; 1329 }; 1008 }; 1330 1009 1331 spi5: spi@4a94000 { 1010 spi5: spi@4a94000 { 1332 compatible = 1011 compatible = "qcom,geni-spi"; 1333 reg = <0x0 0x 1012 reg = <0x0 0x04a94000 0x0 0x4000>; 1334 interrupts = 1013 interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>; 1335 clocks = <&gc 1014 clocks = <&gcc GCC_QUPV3_WRAP0_S5_CLK>; 1336 clock-names = 1015 clock-names = "se"; 1337 pinctrl-0 = < 1016 pinctrl-0 = <&qup_spi5_default>; 1338 pinctrl-names 1017 pinctrl-names = "default"; 1339 dmas = <&gpi_ 1018 dmas = <&gpi_dma0 0 5 QCOM_GPI_SPI>, 1340 <&gpi_ 1019 <&gpi_dma0 1 5 QCOM_GPI_SPI>; 1341 dma-names = " 1020 dma-names = "tx", "rx"; 1342 interconnects << 1343 << 1344 << 1345 << 1346 interconnect- << 1347 << 1348 #address-cell 1021 #address-cells = <1>; 1349 #size-cells = 1022 #size-cells = <0>; 1350 status = "dis 1023 status = "disabled"; 1351 }; 1024 }; 1352 }; 1025 }; 1353 1026 1354 usb: usb@4ef8800 { 1027 usb: usb@4ef8800 { 1355 compatible = "qcom,qc 1028 compatible = "qcom,qcm2290-dwc3", "qcom,dwc3"; 1356 reg = <0x0 0x04ef8800 1029 reg = <0x0 0x04ef8800 0x0 0x400>; 1357 interrupts-extended = !! 1030 interrupts = <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 1358 !! 1031 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>; 1359 interrupt-names = "hs !! 1032 interrupt-names = "hs_phy_irq", "ss_phy_irq"; 1360 "ss << 1361 1033 1362 clocks = <&gcc GCC_CF 1034 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 1363 <&gcc GCC_US 1035 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 1364 <&gcc GCC_SY 1036 <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>, 1365 <&gcc GCC_US 1037 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 1366 <&gcc GCC_US 1038 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 1367 <&gcc GCC_US 1039 <&gcc GCC_USB3_PRIM_CLKREF_CLK>; 1368 clock-names = "cfg_no 1040 clock-names = "cfg_noc", 1369 "core", 1041 "core", 1370 "iface" 1042 "iface", 1371 "sleep" 1043 "sleep", 1372 "mock_u 1044 "mock_utmi", 1373 "xo"; 1045 "xo"; 1374 1046 1375 assigned-clocks = <&g 1047 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 1376 <&g 1048 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 1377 assigned-clock-rates 1049 assigned-clock-rates = <19200000>, <133333333>; 1378 1050 1379 resets = <&gcc GCC_US 1051 resets = <&gcc GCC_USB30_PRIM_BCR>; 1380 power-domains = <&gcc 1052 power-domains = <&gcc GCC_USB30_PRIM_GDSC>; 1381 /* TODO: USB<->IPA pa << 1382 interconnects = <&sys << 1383 &bim << 1384 <&bim << 1385 &con << 1386 interconnect-names = << 1387 << 1388 wakeup-source; 1053 wakeup-source; 1389 1054 1390 #address-cells = <2>; 1055 #address-cells = <2>; 1391 #size-cells = <2>; 1056 #size-cells = <2>; 1392 ranges; 1057 ranges; 1393 1058 1394 status = "disabled"; 1059 status = "disabled"; 1395 1060 1396 usb_dwc3: usb@4e00000 1061 usb_dwc3: usb@4e00000 { 1397 compatible = 1062 compatible = "snps,dwc3"; 1398 reg = <0x0 0x 1063 reg = <0x0 0x04e00000 0x0 0xcd00>; 1399 interrupts = 1064 interrupts = <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>; 1400 phys = <&usb_ !! 1065 phys = <&usb_hsphy>; 1401 phy-names = " !! 1066 phy-names = "usb2-phy"; 1402 iommus = <&ap 1067 iommus = <&apps_smmu 0x120 0x0>; 1403 snps,dis_u2_s 1068 snps,dis_u2_susphy_quirk; 1404 snps,dis_enbl 1069 snps,dis_enblslpm_quirk; 1405 snps,has-lpm- 1070 snps,has-lpm-erratum; 1406 snps,hird-thr 1071 snps,hird-threshold = /bits/ 8 <0x10>; 1407 snps,usb3_lpm 1072 snps,usb3_lpm_capable; 1408 maximum-speed 1073 maximum-speed = "super-speed"; 1409 dr_mode = "ot 1074 dr_mode = "otg"; 1410 usb-role-swit << 1411 << 1412 ports { << 1413 #addr << 1414 #size << 1415 << 1416 port@ << 1417 << 1418 << 1419 << 1420 << 1421 }; << 1422 << 1423 port@ << 1424 << 1425 << 1426 << 1427 << 1428 << 1429 }; << 1430 }; << 1431 }; << 1432 }; << 1433 << 1434 gpu: gpu@5900000 { << 1435 compatible = "qcom,ad << 1436 reg = <0x0 0x05900000 << 1437 reg-names = "kgsl_3d0 << 1438 << 1439 interrupts = <GIC_SPI << 1440 << 1441 clocks = <&gpucc GPU_ << 1442 <&gpucc GPU_ << 1443 <&gcc GCC_BI << 1444 <&gcc GCC_GP << 1445 <&gpucc GPU_ << 1446 <&gpucc GPU_ << 1447 clock-names = "core", << 1448 "iface" << 1449 "mem_if << 1450 "alt_me << 1451 "gmu", << 1452 "xo"; << 1453 << 1454 interconnects = <&bim << 1455 &bim << 1456 interconnect-names = << 1457 << 1458 iommus = <&adreno_smm << 1459 <&adreno_smm << 1460 operating-points-v2 = << 1461 power-domains = <&rpm << 1462 qcom,gmu = <&gmu_wrap << 1463 << 1464 nvmem-cells = <&gpu_s << 1465 nvmem-cell-names = "s << 1466 #cooling-cells = <2>; << 1467 << 1468 status = "disabled"; << 1469 << 1470 zap-shader { << 1471 memory-region << 1472 }; << 1473 << 1474 gpu_opp_table: opp-ta << 1475 compatible = << 1476 << 1477 /* TODO: Scal << 1478 opp-112320000 << 1479 opp-h << 1480 requi << 1481 opp-p << 1482 opp-s << 1483 turbo << 1484 }; << 1485 << 1486 opp-101760000 << 1487 opp-h << 1488 requi << 1489 opp-p << 1490 opp-s << 1491 turbo << 1492 }; << 1493 << 1494 opp-921600000 << 1495 opp-h << 1496 requi << 1497 opp-p << 1498 opp-s << 1499 }; << 1500 << 1501 opp-844800000 << 1502 opp-h << 1503 requi << 1504 opp-p << 1505 opp-s << 1506 }; << 1507 << 1508 opp-672000000 << 1509 opp-h << 1510 requi << 1511 opp-p << 1512 opp-s << 1513 }; << 1514 << 1515 opp-537600000 << 1516 opp-h << 1517 requi << 1518 opp-p << 1519 opp-s << 1520 }; << 1521 << 1522 opp-355200000 << 1523 opp-h << 1524 requi << 1525 opp-p << 1526 opp-s << 1527 }; << 1528 }; 1075 }; 1529 }; 1076 }; 1530 1077 1531 gmu_wrapper: gmu@596a000 { << 1532 compatible = "qcom,ad << 1533 reg = <0x0 0x0596a000 << 1534 reg-names = "gmu"; << 1535 power-domains = <&gpu << 1536 <&gpu << 1537 power-domain-names = << 1538 << 1539 }; << 1540 << 1541 gpucc: clock-controller@59900 << 1542 compatible = "qcom,qc << 1543 reg = <0x0 0x05990000 << 1544 clocks = <&gcc GCC_GP << 1545 <&rpmcc RPM_ << 1546 <&gcc GCC_GP << 1547 <&gcc GCC_GP << 1548 power-domains = <&rpm << 1549 required-opps = <&rpm << 1550 #clock-cells = <1>; << 1551 #reset-cells = <1>; << 1552 #power-domain-cells = << 1553 }; << 1554 << 1555 adreno_smmu: iommu@59a0000 { << 1556 compatible = "qcom,qc << 1557 "qcom,sm << 1558 reg = <0x0 0x059a0000 << 1559 interrupts = <GIC_SPI << 1560 <GIC_SPI << 1561 <GIC_SPI << 1562 <GIC_SPI << 1563 <GIC_SPI << 1564 <GIC_SPI << 1565 <GIC_SPI << 1566 <GIC_SPI << 1567 <GIC_SPI << 1568 << 1569 clocks = <&gcc GCC_GP << 1570 <&gpucc GPU_ << 1571 <&gcc GCC_GP << 1572 clock-names = "mem", << 1573 "hlos", << 1574 "iface" << 1575 << 1576 power-domains = <&gpu << 1577 << 1578 #global-interrupts = << 1579 #iommu-cells = <2>; << 1580 }; << 1581 << 1582 mdss: display-subsystem@5e000 << 1583 compatible = "qcom,qc << 1584 reg = <0x0 0x05e00000 << 1585 reg-names = "mdss"; << 1586 interrupts = <GIC_SPI << 1587 interrupt-controller; << 1588 #interrupt-cells = <1 << 1589 << 1590 clocks = <&gcc GCC_DI << 1591 <&gcc GCC_DI << 1592 <&dispcc DIS << 1593 clock-names = "iface" << 1594 "bus", << 1595 "core"; << 1596 << 1597 resets = <&dispcc DIS << 1598 << 1599 power-domains = <&dis << 1600 << 1601 iommus = <&apps_smmu << 1602 <&apps_smmu << 1603 interconnects = <&mmr << 1604 &bim << 1605 <&bim << 1606 &con << 1607 interconnect-names = << 1608 << 1609 << 1610 #address-cells = <2>; << 1611 #size-cells = <2>; << 1612 ranges; << 1613 << 1614 status = "disabled"; << 1615 << 1616 mdp: display-controll << 1617 compatible = << 1618 reg = <0x0 0x << 1619 <0x0 0x << 1620 reg-names = " << 1621 " << 1622 << 1623 interrupt-par << 1624 interrupts = << 1625 << 1626 clocks = <&gc << 1627 <&di << 1628 <&di << 1629 <&di << 1630 <&di << 1631 clock-names = << 1632 << 1633 << 1634 << 1635 << 1636 << 1637 operating-poi << 1638 power-domains << 1639 << 1640 ports { << 1641 #addr << 1642 #size << 1643 << 1644 port@ << 1645 << 1646 << 1647 << 1648 << 1649 }; << 1650 }; << 1651 << 1652 mdp_opp_table << 1653 compa << 1654 << 1655 opp-1 << 1656 << 1657 << 1658 }; << 1659 << 1660 opp-1 << 1661 << 1662 << 1663 }; << 1664 << 1665 opp-2 << 1666 << 1667 << 1668 }; << 1669 << 1670 opp-3 << 1671 << 1672 << 1673 }; << 1674 << 1675 opp-3 << 1676 << 1677 << 1678 }; << 1679 }; << 1680 }; << 1681 << 1682 mdss_dsi0: dsi@5e9400 << 1683 compatible = << 1684 reg = <0x0 0x << 1685 reg-names = " << 1686 << 1687 interrupt-par << 1688 interrupts = << 1689 << 1690 clocks = <&di << 1691 <&di << 1692 <&di << 1693 <&di << 1694 <&di << 1695 <&gc << 1696 clock-names = << 1697 << 1698 << 1699 << 1700 << 1701 << 1702 << 1703 assigned-cloc << 1704 << 1705 assigned-cloc << 1706 << 1707 << 1708 operating-poi << 1709 power-domains << 1710 phys = <&mdss << 1711 << 1712 #address-cell << 1713 #size-cells = << 1714 << 1715 status = "dis << 1716 << 1717 dsi_opp_table << 1718 compa << 1719 << 1720 opp-1 << 1721 << 1722 << 1723 }; << 1724 << 1725 opp-1 << 1726 << 1727 << 1728 }; << 1729 << 1730 opp-1 << 1731 << 1732 << 1733 }; << 1734 }; << 1735 << 1736 ports { << 1737 #addr << 1738 #size << 1739 << 1740 port@ << 1741 << 1742 << 1743 << 1744 << 1745 << 1746 }; << 1747 << 1748 port@ << 1749 << 1750 << 1751 << 1752 << 1753 }; << 1754 }; << 1755 }; << 1756 << 1757 mdss_dsi0_phy: phy@5e << 1758 compatible = << 1759 reg = <0x0 0x << 1760 <0x0 0x << 1761 <0x0 0x << 1762 reg-names = " << 1763 " << 1764 " << 1765 << 1766 clocks = <&di << 1767 <&rp << 1768 clock-names = << 1769 << 1770 << 1771 power-domains << 1772 required-opps << 1773 << 1774 #clock-cells << 1775 #phy-cells = << 1776 << 1777 status = "dis << 1778 }; << 1779 }; << 1780 << 1781 dispcc: clock-controller@5f00 << 1782 compatible = "qcom,qc << 1783 reg = <0x0 0x05f00000 << 1784 clocks = <&rpmcc RPM_ << 1785 <&rpmcc RPM_ << 1786 <&gcc GCC_DI << 1787 <&gcc GCC_DI << 1788 <&mdss_dsi0_ << 1789 <&mdss_dsi0_ << 1790 clock-names = "bi_tcx << 1791 "bi_tcx << 1792 "gcc_di << 1793 "gcc_di << 1794 "dsi0_p << 1795 "dsi0_p << 1796 #power-domain-cells = << 1797 #clock-cells = <1>; << 1798 #reset-cells = <1>; << 1799 }; << 1800 << 1801 remoteproc_mpss: remoteproc@6 1078 remoteproc_mpss: remoteproc@6080000 { 1802 compatible = "qcom,qc 1079 compatible = "qcom,qcm2290-mpss-pas", "qcom,sm6115-mpss-pas"; 1803 reg = <0x0 0x06080000 1080 reg = <0x0 0x06080000 0x0 0x100>; 1804 1081 1805 interrupts-extended = 1082 interrupts-extended = <&intc GIC_SPI 307 IRQ_TYPE_EDGE_RISING>, 1806 1083 <&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 1807 1084 <&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 1808 1085 <&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 1809 1086 <&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>, 1810 1087 <&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>; 1811 interrupt-names = "wd 1088 interrupt-names = "wdog", 1812 "fa 1089 "fatal", 1813 "re 1090 "ready", 1814 "ha 1091 "handover", 1815 "st 1092 "stop-ack", 1816 "sh 1093 "shutdown-ack"; 1817 1094 1818 clocks = <&rpmcc RPM_ 1095 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 1819 clock-names = "xo"; 1096 clock-names = "xo"; 1820 1097 1821 power-domains = <&rpm 1098 power-domains = <&rpmpd QCM2290_VDDCX>; 1822 1099 1823 memory-region = <&pil 1100 memory-region = <&pil_modem_mem>; 1824 1101 1825 qcom,smem-states = <& 1102 qcom,smem-states = <&modem_smp2p_out 0>; 1826 qcom,smem-state-names 1103 qcom,smem-state-names = "stop"; 1827 1104 1828 status = "disabled"; 1105 status = "disabled"; 1829 1106 1830 glink-edge { 1107 glink-edge { 1831 interrupts = 1108 interrupts = <GIC_SPI 68 IRQ_TYPE_EDGE_RISING>; 1832 label = "mpss 1109 label = "mpss"; 1833 qcom,remote-p 1110 qcom,remote-pid = <1>; 1834 mboxes = <&ap 1111 mboxes = <&apcs_glb 12>; 1835 }; 1112 }; 1836 }; 1113 }; 1837 1114 1838 remoteproc_adsp: remoteproc@a 1115 remoteproc_adsp: remoteproc@ab00000 { 1839 compatible = "qcom,qc 1116 compatible = "qcom,qcm2290-adsp-pas", "qcom,sm6115-adsp-pas"; 1840 reg = <0x0 0x0ab00000 1117 reg = <0x0 0x0ab00000 0x0 0x100>; 1841 1118 1842 interrupts-extended = 1119 interrupts-extended = <&intc GIC_SPI 282 IRQ_TYPE_EDGE_RISING>, 1843 1120 <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, 1844 1121 <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, 1845 1122 <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, 1846 1123 <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>; 1847 interrupt-names = "wd 1124 interrupt-names = "wdog", 1848 "fa 1125 "fatal", 1849 "re 1126 "ready", 1850 "ha 1127 "handover", 1851 "st 1128 "stop-ack"; 1852 1129 1853 clocks = <&rpmcc RPM_ 1130 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; 1854 clock-names = "xo"; 1131 clock-names = "xo"; 1855 1132 1856 power-domains = <&rpm 1133 power-domains = <&rpmpd QCM2290_VDD_LPI_CX>, 1857 <&rpm 1134 <&rpmpd QCM2290_VDD_LPI_MX>; 1858 1135 1859 memory-region = <&pil 1136 memory-region = <&pil_adsp_mem>; 1860 1137 1861 qcom,smem-states = <& 1138 qcom,smem-states = <&adsp_smp2p_out 0>; 1862 qcom,smem-state-names 1139 qcom,smem-state-names = "stop"; 1863 1140 1864 status = "disabled"; 1141 status = "disabled"; 1865 1142 1866 glink-edge { 1143 glink-edge { 1867 interrupts = 1144 interrupts = <GIC_SPI 277 IRQ_TYPE_EDGE_RISING>; 1868 label = "lpas 1145 label = "lpass"; 1869 qcom,remote-p 1146 qcom,remote-pid = <2>; 1870 mboxes = <&ap 1147 mboxes = <&apcs_glb 8>; 1871 }; 1148 }; 1872 }; 1149 }; 1873 1150 1874 apps_smmu: iommu@c600000 { 1151 apps_smmu: iommu@c600000 { 1875 compatible = "qcom,qc 1152 compatible = "qcom,qcm2290-smmu-500", "qcom,smmu-500", "arm,mmu-500"; 1876 reg = <0x0 0x0c600000 1153 reg = <0x0 0x0c600000 0x0 0x80000>; 1877 #iommu-cells = <2>; 1154 #iommu-cells = <2>; 1878 #global-interrupts = 1155 #global-interrupts = <1>; 1879 1156 1880 interrupts = <GIC_SPI 1157 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, 1881 <GIC_SPI 1158 <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 1882 <GIC_SPI 1159 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 1883 <GIC_SPI 1160 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, 1884 <GIC_SPI 1161 <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, 1885 <GIC_SPI 1162 <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, 1886 <GIC_SPI 1163 <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, 1887 <GIC_SPI 1164 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, 1888 <GIC_SPI 1165 <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, 1889 <GIC_SPI 1166 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, 1890 <GIC_SPI 1167 <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 1891 <GIC_SPI 1168 <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, 1892 <GIC_SPI 1169 <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, 1893 <GIC_SPI 1170 <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, 1894 <GIC_SPI 1171 <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, 1895 <GIC_SPI 1172 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 1896 <GIC_SPI 1173 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 1897 <GIC_SPI 1174 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, 1898 <GIC_SPI 1175 <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 1899 <GIC_SPI 1176 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, 1900 <GIC_SPI 1177 <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 1901 <GIC_SPI 1178 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, 1902 <GIC_SPI 1179 <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>, 1903 <GIC_SPI 1180 <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>, 1904 <GIC_SPI 1181 <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, 1905 <GIC_SPI 1182 <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>, 1906 <GIC_SPI 1183 <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>, 1907 <GIC_SPI 1184 <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>, 1908 <GIC_SPI 1185 <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>, 1909 <GIC_SPI 1186 <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>, 1910 <GIC_SPI 1187 <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>, 1911 <GIC_SPI 1188 <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>, 1912 <GIC_SPI 1189 <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, 1913 <GIC_SPI 1190 <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, 1914 <GIC_SPI 1191 <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, 1915 <GIC_SPI 1192 <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>, 1916 <GIC_SPI 1193 <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>, 1917 <GIC_SPI 1194 <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 1918 <GIC_SPI 1195 <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>, 1919 <GIC_SPI 1196 <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 1920 <GIC_SPI 1197 <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, 1921 <GIC_SPI 1198 <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, 1922 <GIC_SPI 1199 <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, 1923 <GIC_SPI 1200 <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, 1924 <GIC_SPI 1201 <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, 1925 <GIC_SPI 1202 <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 1926 <GIC_SPI 1203 <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, 1927 <GIC_SPI 1204 <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, 1928 <GIC_SPI 1205 <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, 1929 <GIC_SPI 1206 <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, 1930 <GIC_SPI 1207 <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, 1931 <GIC_SPI 1208 <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, 1932 <GIC_SPI 1209 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, 1933 <GIC_SPI 1210 <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>, 1934 <GIC_SPI 1211 <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, 1935 <GIC_SPI 1212 <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, 1936 <GIC_SPI 1213 <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, 1937 <GIC_SPI 1214 <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, 1938 <GIC_SPI 1215 <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>, 1939 <GIC_SPI 1216 <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, 1940 <GIC_SPI 1217 <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, 1941 <GIC_SPI 1218 <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, 1942 <GIC_SPI 1219 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, 1943 <GIC_SPI 1220 <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, 1944 <GIC_SPI 1221 <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; 1945 }; 1222 }; 1946 1223 1947 wifi: wifi@c800000 { 1224 wifi: wifi@c800000 { 1948 compatible = "qcom,wc 1225 compatible = "qcom,wcn3990-wifi"; 1949 reg = <0x0 0x0c800000 1226 reg = <0x0 0x0c800000 0x0 0x800000>; 1950 reg-names = "membase" 1227 reg-names = "membase"; 1951 memory-region = <&wla 1228 memory-region = <&wlan_msa_mem>; 1952 interrupts = <GIC_SPI 1229 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 1953 <GIC_SPI 1230 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 1954 <GIC_SPI 1231 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 1955 <GIC_SPI 1232 <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, 1956 <GIC_SPI 1233 <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>, 1957 <GIC_SPI 1234 <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>, 1958 <GIC_SPI 1235 <GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH>, 1959 <GIC_SPI 1236 <GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH>, 1960 <GIC_SPI 1237 <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>, 1961 <GIC_SPI 1238 <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>, 1962 <GIC_SPI 1239 <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, 1963 <GIC_SPI 1240 <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>; 1964 iommus = <&apps_smmu 1241 iommus = <&apps_smmu 0x1a0 0x1>; 1965 qcom,msa-fixed-perm; 1242 qcom,msa-fixed-perm; 1966 status = "disabled"; 1243 status = "disabled"; 1967 }; 1244 }; 1968 1245 1969 watchdog@f017000 { 1246 watchdog@f017000 { 1970 compatible = "qcom,ap 1247 compatible = "qcom,apss-wdt-qcm2290", "qcom,kpss-wdt"; 1971 reg = <0x0 0x0f017000 1248 reg = <0x0 0x0f017000 0x0 0x1000>; 1972 interrupts = <GIC_SPI 1249 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>, 1973 <GIC_SPI 1250 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 1974 clocks = <&sleep_clk> 1251 clocks = <&sleep_clk>; 1975 }; 1252 }; 1976 1253 1977 apcs_glb: mailbox@f111000 { 1254 apcs_glb: mailbox@f111000 { 1978 compatible = "qcom,qc 1255 compatible = "qcom,qcm2290-apcs-hmss-global"; 1979 reg = <0x0 0x0f111000 1256 reg = <0x0 0x0f111000 0x0 0x1000>; 1980 #mbox-cells = <1>; 1257 #mbox-cells = <1>; 1981 }; 1258 }; 1982 1259 1983 timer@f120000 { 1260 timer@f120000 { 1984 compatible = "arm,arm 1261 compatible = "arm,armv7-timer-mem"; 1985 reg = <0x0 0x0f120000 1262 reg = <0x0 0x0f120000 0x0 0x1000>; 1986 #address-cells = <1>; 1263 #address-cells = <1>; 1987 #size-cells = <1>; 1264 #size-cells = <1>; 1988 ranges = <0 0x0 0x0f1 1265 ranges = <0 0x0 0x0f121000 0x8000>; 1989 1266 1990 frame@0 { 1267 frame@0 { 1991 reg = <0x0 0x 1268 reg = <0x0 0x1000>, 1992 <0x1000 1269 <0x1000 0x1000>; 1993 interrupts = 1270 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 1994 1271 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 1995 frame-number 1272 frame-number = <0>; 1996 }; 1273 }; 1997 1274 1998 frame@2000 { 1275 frame@2000 { 1999 reg = <0x2000 1276 reg = <0x2000 0x1000>; 2000 interrupts = 1277 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 2001 frame-number 1278 frame-number = <1>; 2002 status = "dis 1279 status = "disabled"; 2003 }; 1280 }; 2004 1281 2005 frame@3000 { 1282 frame@3000 { 2006 reg = <0x3000 1283 reg = <0x3000 0x1000>; 2007 interrupts = 1284 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 2008 frame-number 1285 frame-number = <2>; 2009 status = "dis 1286 status = "disabled"; 2010 }; 1287 }; 2011 1288 2012 frame@4000 { 1289 frame@4000 { 2013 reg = <0x4000 1290 reg = <0x4000 0x1000>; 2014 interrupts = 1291 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 2015 frame-number 1292 frame-number = <3>; 2016 status = "dis 1293 status = "disabled"; 2017 }; 1294 }; 2018 1295 2019 frame@5000 { 1296 frame@5000 { 2020 reg = <0x5000 1297 reg = <0x5000 0x1000>; 2021 interrupts = 1298 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 2022 frame-number 1299 frame-number = <4>; 2023 status = "dis 1300 status = "disabled"; 2024 }; 1301 }; 2025 1302 2026 frame@6000 { 1303 frame@6000 { 2027 reg = <0x6000 1304 reg = <0x6000 0x1000>; 2028 interrupts = 1305 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 2029 frame-number 1306 frame-number = <5>; 2030 status = "dis 1307 status = "disabled"; 2031 }; 1308 }; 2032 1309 2033 frame@7000 { 1310 frame@7000 { 2034 reg = <0x7000 1311 reg = <0x7000 0x1000>; 2035 interrupts = 1312 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 2036 frame-number 1313 frame-number = <6>; 2037 status = "dis 1314 status = "disabled"; 2038 }; 1315 }; 2039 }; 1316 }; 2040 1317 2041 intc: interrupt-controller@f2 1318 intc: interrupt-controller@f200000 { 2042 compatible = "arm,gic 1319 compatible = "arm,gic-v3"; 2043 reg = <0x0 0x0f200000 1320 reg = <0x0 0x0f200000 0x0 0x10000>, 2044 <0x0 0x0f300000 1321 <0x0 0x0f300000 0x0 0x100000>; 2045 interrupts = <GIC_PPI 1322 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; 2046 #interrupt-cells = <3 1323 #interrupt-cells = <3>; 2047 interrupt-controller; 1324 interrupt-controller; 2048 interrupt-parent = <& 1325 interrupt-parent = <&intc>; 2049 #redistributor-region 1326 #redistributor-regions = <1>; 2050 redistributor-stride 1327 redistributor-stride = <0x0 0x20000>; 2051 }; 1328 }; 2052 1329 2053 cpufreq_hw: cpufreq@f521000 { 1330 cpufreq_hw: cpufreq@f521000 { 2054 compatible = "qcom,qc 1331 compatible = "qcom,qcm2290-cpufreq-hw", "qcom,cpufreq-hw"; 2055 reg = <0x0 0x0f521000 1332 reg = <0x0 0x0f521000 0x0 0x1000>; 2056 reg-names = "freq-dom 1333 reg-names = "freq-domain0"; 2057 interrupts-extended = !! 1334 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 2058 interrupt-names = "dc 1335 interrupt-names = "dcvsh-irq-0"; 2059 clocks = <&rpmcc RPM_ 1336 clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&gcc GPLL0>; 2060 clock-names = "xo", " 1337 clock-names = "xo", "alternate"; 2061 1338 2062 #freq-domain-cells = 1339 #freq-domain-cells = <1>; 2063 #clock-cells = <1>; 1340 #clock-cells = <1>; 2064 }; 1341 }; 2065 << 2066 lmh_cluster: lmh@f550800 { << 2067 compatible = "qcom,qc << 2068 reg = <0x0 0x0f550800 << 2069 interrupts = <GIC_SPI << 2070 cpus = <&CPU0>; << 2071 qcom,lmh-temp-arm-mil << 2072 qcom,lmh-temp-low-mil << 2073 qcom,lmh-temp-high-mi << 2074 interrupt-controller; << 2075 #interrupt-cells = <1 << 2076 }; << 2077 }; 1342 }; 2078 1343 2079 thermal-zones { 1344 thermal-zones { 2080 mapss-thermal { 1345 mapss-thermal { >> 1346 polling-delay-passive = <0>; >> 1347 polling-delay = <0>; >> 1348 2081 thermal-sensors = <&t 1349 thermal-sensors = <&tsens0 0>; 2082 1350 2083 trips { 1351 trips { 2084 mapss_alert0: 1352 mapss_alert0: trip-point0 { 2085 tempe 1353 temperature = <90000>; 2086 hyste 1354 hysteresis = <2000>; 2087 type 1355 type = "passive"; 2088 }; 1356 }; 2089 1357 2090 mapss_alert1: 1358 mapss_alert1: trip-point1 { 2091 tempe 1359 temperature = <95000>; 2092 hyste 1360 hysteresis = <2000>; 2093 type 1361 type = "passive"; 2094 }; 1362 }; 2095 1363 2096 mapss_crit: m 1364 mapss_crit: mapss-crit { 2097 tempe 1365 temperature = <110000>; 2098 hyste 1366 hysteresis = <1000>; 2099 type 1367 type = "critical"; 2100 }; 1368 }; 2101 }; 1369 }; 2102 }; 1370 }; 2103 1371 2104 video-thermal { 1372 video-thermal { >> 1373 polling-delay-passive = <0>; >> 1374 polling-delay = <0>; >> 1375 2105 thermal-sensors = <&t 1376 thermal-sensors = <&tsens0 1>; 2106 1377 2107 trips { 1378 trips { 2108 video_alert0: 1379 video_alert0: trip-point0 { 2109 tempe 1380 temperature = <90000>; 2110 hyste 1381 hysteresis = <2000>; 2111 type 1382 type = "passive"; 2112 }; 1383 }; 2113 1384 2114 video_alert1: 1385 video_alert1: trip-point1 { 2115 tempe 1386 temperature = <95000>; 2116 hyste 1387 hysteresis = <2000>; 2117 type 1388 type = "passive"; 2118 }; 1389 }; 2119 1390 2120 video_crit: v 1391 video_crit: video-crit { 2121 tempe 1392 temperature = <110000>; 2122 hyste 1393 hysteresis = <1000>; 2123 type 1394 type = "critical"; 2124 }; 1395 }; 2125 }; 1396 }; 2126 }; 1397 }; 2127 1398 2128 wlan-thermal { 1399 wlan-thermal { >> 1400 polling-delay-passive = <0>; >> 1401 polling-delay = <0>; >> 1402 2129 thermal-sensors = <&t 1403 thermal-sensors = <&tsens0 2>; 2130 1404 2131 trips { 1405 trips { 2132 wlan_alert0: 1406 wlan_alert0: trip-point0 { 2133 tempe 1407 temperature = <90000>; 2134 hyste 1408 hysteresis = <2000>; 2135 type 1409 type = "passive"; 2136 }; 1410 }; 2137 1411 2138 wlan_alert1: 1412 wlan_alert1: trip-point1 { 2139 tempe 1413 temperature = <95000>; 2140 hyste 1414 hysteresis = <2000>; 2141 type 1415 type = "passive"; 2142 }; 1416 }; 2143 1417 2144 wlan_crit: wl 1418 wlan_crit: wlan-crit { 2145 tempe 1419 temperature = <110000>; 2146 hyste 1420 hysteresis = <1000>; 2147 type 1421 type = "critical"; 2148 }; 1422 }; 2149 }; 1423 }; 2150 }; 1424 }; 2151 1425 2152 cpuss0-thermal { 1426 cpuss0-thermal { >> 1427 polling-delay-passive = <0>; >> 1428 polling-delay = <0>; >> 1429 2153 thermal-sensors = <&t 1430 thermal-sensors = <&tsens0 3>; 2154 1431 2155 trips { 1432 trips { 2156 cpuss0_alert0 1433 cpuss0_alert0: trip-point0 { 2157 tempe 1434 temperature = <90000>; 2158 hyste 1435 hysteresis = <2000>; 2159 type 1436 type = "passive"; 2160 }; 1437 }; 2161 1438 2162 cpuss0_alert1 1439 cpuss0_alert1: trip-point1 { 2163 tempe 1440 temperature = <95000>; 2164 hyste 1441 hysteresis = <2000>; 2165 type 1442 type = "passive"; 2166 }; 1443 }; 2167 1444 2168 cpuss0_crit: 1445 cpuss0_crit: cpuss0-crit { 2169 tempe 1446 temperature = <110000>; 2170 hyste 1447 hysteresis = <1000>; 2171 type 1448 type = "critical"; 2172 }; 1449 }; 2173 }; 1450 }; 2174 }; 1451 }; 2175 1452 2176 cpuss1-thermal { 1453 cpuss1-thermal { >> 1454 polling-delay-passive = <0>; >> 1455 polling-delay = <0>; >> 1456 2177 thermal-sensors = <&t 1457 thermal-sensors = <&tsens0 4>; 2178 1458 2179 trips { 1459 trips { 2180 cpuss1_alert0 1460 cpuss1_alert0: trip-point0 { 2181 tempe 1461 temperature = <90000>; 2182 hyste 1462 hysteresis = <2000>; 2183 type 1463 type = "passive"; 2184 }; 1464 }; 2185 1465 2186 cpuss1_alert1 1466 cpuss1_alert1: trip-point1 { 2187 tempe 1467 temperature = <95000>; 2188 hyste 1468 hysteresis = <2000>; 2189 type 1469 type = "passive"; 2190 }; 1470 }; 2191 1471 2192 cpuss1_crit: 1472 cpuss1_crit: cpuss1-crit { 2193 tempe 1473 temperature = <110000>; 2194 hyste 1474 hysteresis = <1000>; 2195 type 1475 type = "critical"; 2196 }; 1476 }; 2197 }; 1477 }; 2198 }; 1478 }; 2199 1479 2200 mdm0-thermal { 1480 mdm0-thermal { >> 1481 polling-delay-passive = <0>; >> 1482 polling-delay = <0>; >> 1483 2201 thermal-sensors = <&t 1484 thermal-sensors = <&tsens0 5>; 2202 1485 2203 trips { 1486 trips { 2204 mdm0_alert0: 1487 mdm0_alert0: trip-point0 { 2205 tempe 1488 temperature = <90000>; 2206 hyste 1489 hysteresis = <2000>; 2207 type 1490 type = "passive"; 2208 }; 1491 }; 2209 1492 2210 mdm0_alert1: 1493 mdm0_alert1: trip-point1 { 2211 tempe 1494 temperature = <95000>; 2212 hyste 1495 hysteresis = <2000>; 2213 type 1496 type = "passive"; 2214 }; 1497 }; 2215 1498 2216 mdm0_crit: md 1499 mdm0_crit: mdm0-crit { 2217 tempe 1500 temperature = <110000>; 2218 hyste 1501 hysteresis = <1000>; 2219 type 1502 type = "critical"; 2220 }; 1503 }; 2221 }; 1504 }; 2222 }; 1505 }; 2223 1506 2224 mdm1-thermal { 1507 mdm1-thermal { >> 1508 polling-delay-passive = <0>; >> 1509 polling-delay = <0>; >> 1510 2225 thermal-sensors = <&t 1511 thermal-sensors = <&tsens0 6>; 2226 1512 2227 trips { 1513 trips { 2228 mdm1_alert0: 1514 mdm1_alert0: trip-point0 { 2229 tempe 1515 temperature = <90000>; 2230 hyste 1516 hysteresis = <2000>; 2231 type 1517 type = "passive"; 2232 }; 1518 }; 2233 1519 2234 mdm1_alert1: 1520 mdm1_alert1: trip-point1 { 2235 tempe 1521 temperature = <95000>; 2236 hyste 1522 hysteresis = <2000>; 2237 type 1523 type = "passive"; 2238 }; 1524 }; 2239 1525 2240 mdm1_crit: md 1526 mdm1_crit: mdm1-crit { 2241 tempe 1527 temperature = <110000>; 2242 hyste 1528 hysteresis = <1000>; 2243 type 1529 type = "critical"; 2244 }; 1530 }; 2245 }; 1531 }; 2246 }; 1532 }; 2247 1533 2248 gpu-thermal { 1534 gpu-thermal { >> 1535 polling-delay-passive = <0>; >> 1536 polling-delay = <0>; >> 1537 2249 thermal-sensors = <&t 1538 thermal-sensors = <&tsens0 7>; 2250 1539 2251 trips { 1540 trips { 2252 gpu_alert0: t 1541 gpu_alert0: trip-point0 { 2253 tempe 1542 temperature = <90000>; 2254 hyste 1543 hysteresis = <2000>; 2255 type 1544 type = "passive"; 2256 }; 1545 }; 2257 1546 2258 gpu_alert1: t 1547 gpu_alert1: trip-point1 { 2259 tempe 1548 temperature = <95000>; 2260 hyste 1549 hysteresis = <2000>; 2261 type 1550 type = "passive"; 2262 }; 1551 }; 2263 1552 2264 gpu_crit: gpu 1553 gpu_crit: gpu-crit { 2265 tempe 1554 temperature = <110000>; 2266 hyste 1555 hysteresis = <1000>; 2267 type 1556 type = "critical"; 2268 }; 1557 }; 2269 }; 1558 }; 2270 }; 1559 }; 2271 1560 2272 hm-center-thermal { 1561 hm-center-thermal { >> 1562 polling-delay-passive = <0>; >> 1563 polling-delay = <0>; >> 1564 2273 thermal-sensors = <&t 1565 thermal-sensors = <&tsens0 8>; 2274 1566 2275 trips { 1567 trips { 2276 hm_center_ale 1568 hm_center_alert0: trip-point0 { 2277 tempe 1569 temperature = <90000>; 2278 hyste 1570 hysteresis = <2000>; 2279 type 1571 type = "passive"; 2280 }; 1572 }; 2281 1573 2282 hm_center_ale 1574 hm_center_alert1: trip-point1 { 2283 tempe 1575 temperature = <95000>; 2284 hyste 1576 hysteresis = <2000>; 2285 type 1577 type = "passive"; 2286 }; 1578 }; 2287 1579 2288 hm_center_cri 1580 hm_center_crit: hm-center-crit { 2289 tempe 1581 temperature = <110000>; 2290 hyste 1582 hysteresis = <1000>; 2291 type 1583 type = "critical"; 2292 }; 1584 }; 2293 }; 1585 }; 2294 }; 1586 }; 2295 1587 2296 camera-thermal { 1588 camera-thermal { >> 1589 polling-delay-passive = <0>; >> 1590 polling-delay = <0>; >> 1591 2297 thermal-sensors = <&t 1592 thermal-sensors = <&tsens0 9>; 2298 1593 2299 trips { 1594 trips { 2300 camera_alert0 1595 camera_alert0: trip-point0 { 2301 tempe 1596 temperature = <90000>; 2302 hyste 1597 hysteresis = <2000>; 2303 type 1598 type = "passive"; 2304 }; 1599 }; 2305 1600 2306 camera_alert1 1601 camera_alert1: trip-point1 { 2307 tempe 1602 temperature = <95000>; 2308 hyste 1603 hysteresis = <2000>; 2309 type 1604 type = "passive"; 2310 }; 1605 }; 2311 1606 2312 camera_crit: 1607 camera_crit: camera-crit { 2313 tempe 1608 temperature = <110000>; 2314 hyste 1609 hysteresis = <1000>; 2315 type 1610 type = "critical"; 2316 }; 1611 }; 2317 }; 1612 }; 2318 }; 1613 }; 2319 }; 1614 }; 2320 1615 2321 timer { 1616 timer { 2322 compatible = "arm,armv8-timer 1617 compatible = "arm,armv8-timer"; 2323 interrupts = <GIC_PPI 1 (GIC_ 1618 interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 2324 <GIC_PPI 2 (GIC_ 1619 <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 2325 <GIC_PPI 3 (GIC_ 1620 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, 2326 <GIC_PPI 0 (GIC_ 1621 <GIC_PPI 0 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 2327 }; 1622 }; 2328 }; 1623 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.