1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (c) 2013-2016, The Linux Foundati 3 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 4 */ 4 */ 5 5 6 #include <dt-bindings/interrupt-controller/arm 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/clock/qcom,gcc-msm8994.h 7 #include <dt-bindings/clock/qcom,gcc-msm8994.h> 8 #include <dt-bindings/clock/qcom,mmcc-msm8994. 8 #include <dt-bindings/clock/qcom,mmcc-msm8994.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/clock/qcom,rpmcc.h> 10 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 12 13 / { 13 / { 14 interrupt-parent = <&intc>; 14 interrupt-parent = <&intc>; 15 15 16 #address-cells = <2>; 16 #address-cells = <2>; 17 #size-cells = <2>; 17 #size-cells = <2>; 18 18 19 aliases { 19 aliases { 20 mmc1 = &sdhc1; 20 mmc1 = &sdhc1; 21 mmc2 = &sdhc2; 21 mmc2 = &sdhc2; 22 }; 22 }; 23 23 24 chosen { }; 24 chosen { }; 25 25 26 clocks { 26 clocks { 27 xo_board: xo-board { 27 xo_board: xo-board { 28 compatible = "fixed-cl 28 compatible = "fixed-clock"; 29 #clock-cells = <0>; 29 #clock-cells = <0>; 30 clock-frequency = <192 30 clock-frequency = <19200000>; 31 clock-output-names = " 31 clock-output-names = "xo_board"; 32 }; 32 }; 33 33 34 sleep_clk: sleep-clk { 34 sleep_clk: sleep-clk { 35 compatible = "fixed-cl 35 compatible = "fixed-clock"; 36 #clock-cells = <0>; 36 #clock-cells = <0>; 37 clock-frequency = <327 37 clock-frequency = <32768>; 38 clock-output-names = " 38 clock-output-names = "sleep_clk"; 39 }; 39 }; 40 }; 40 }; 41 41 42 cpus { 42 cpus { 43 #address-cells = <2>; 43 #address-cells = <2>; 44 #size-cells = <0>; 44 #size-cells = <0>; 45 45 46 CPU0: cpu@0 { 46 CPU0: cpu@0 { 47 device_type = "cpu"; 47 device_type = "cpu"; 48 compatible = "arm,cort 48 compatible = "arm,cortex-a53"; 49 reg = <0x0 0x0>; 49 reg = <0x0 0x0>; 50 enable-method = "psci" 50 enable-method = "psci"; 51 next-level-cache = <&L 51 next-level-cache = <&L2_0>; 52 L2_0: l2-cache { 52 L2_0: l2-cache { 53 compatible = " 53 compatible = "cache"; 54 cache-level = 54 cache-level = <2>; 55 cache-unified; 55 cache-unified; 56 }; 56 }; 57 }; 57 }; 58 58 59 CPU1: cpu@1 { 59 CPU1: cpu@1 { 60 device_type = "cpu"; 60 device_type = "cpu"; 61 compatible = "arm,cort 61 compatible = "arm,cortex-a53"; 62 reg = <0x0 0x1>; 62 reg = <0x0 0x1>; 63 enable-method = "psci" 63 enable-method = "psci"; 64 next-level-cache = <&L 64 next-level-cache = <&L2_0>; 65 }; 65 }; 66 66 67 CPU2: cpu@2 { 67 CPU2: cpu@2 { 68 device_type = "cpu"; 68 device_type = "cpu"; 69 compatible = "arm,cort 69 compatible = "arm,cortex-a53"; 70 reg = <0x0 0x2>; 70 reg = <0x0 0x2>; 71 enable-method = "psci" 71 enable-method = "psci"; 72 next-level-cache = <&L 72 next-level-cache = <&L2_0>; 73 }; 73 }; 74 74 75 CPU3: cpu@3 { 75 CPU3: cpu@3 { 76 device_type = "cpu"; 76 device_type = "cpu"; 77 compatible = "arm,cort 77 compatible = "arm,cortex-a53"; 78 reg = <0x0 0x3>; 78 reg = <0x0 0x3>; 79 enable-method = "psci" 79 enable-method = "psci"; 80 next-level-cache = <&L 80 next-level-cache = <&L2_0>; 81 }; 81 }; 82 82 83 CPU4: cpu@100 { 83 CPU4: cpu@100 { 84 device_type = "cpu"; 84 device_type = "cpu"; 85 compatible = "arm,cort 85 compatible = "arm,cortex-a57"; 86 reg = <0x0 0x100>; 86 reg = <0x0 0x100>; 87 enable-method = "psci" 87 enable-method = "psci"; 88 next-level-cache = <&L 88 next-level-cache = <&L2_1>; 89 L2_1: l2-cache { 89 L2_1: l2-cache { 90 compatible = " 90 compatible = "cache"; 91 cache-level = 91 cache-level = <2>; 92 cache-unified; 92 cache-unified; 93 }; 93 }; 94 }; 94 }; 95 95 96 CPU5: cpu@101 { 96 CPU5: cpu@101 { 97 device_type = "cpu"; 97 device_type = "cpu"; 98 compatible = "arm,cort 98 compatible = "arm,cortex-a57"; 99 reg = <0x0 0x101>; 99 reg = <0x0 0x101>; 100 enable-method = "psci" 100 enable-method = "psci"; 101 next-level-cache = <&L 101 next-level-cache = <&L2_1>; 102 }; 102 }; 103 103 104 CPU6: cpu@102 { 104 CPU6: cpu@102 { 105 device_type = "cpu"; 105 device_type = "cpu"; 106 compatible = "arm,cort 106 compatible = "arm,cortex-a57"; 107 reg = <0x0 0x102>; 107 reg = <0x0 0x102>; 108 enable-method = "psci" 108 enable-method = "psci"; 109 next-level-cache = <&L 109 next-level-cache = <&L2_1>; 110 }; 110 }; 111 111 112 CPU7: cpu@103 { 112 CPU7: cpu@103 { 113 device_type = "cpu"; 113 device_type = "cpu"; 114 compatible = "arm,cort 114 compatible = "arm,cortex-a57"; 115 reg = <0x0 0x103>; 115 reg = <0x0 0x103>; 116 enable-method = "psci" 116 enable-method = "psci"; 117 next-level-cache = <&L 117 next-level-cache = <&L2_1>; 118 }; 118 }; 119 119 120 cpu-map { 120 cpu-map { 121 cluster0 { 121 cluster0 { 122 core0 { 122 core0 { 123 cpu = 123 cpu = <&CPU0>; 124 }; 124 }; 125 125 126 core1 { 126 core1 { 127 cpu = 127 cpu = <&CPU1>; 128 }; 128 }; 129 129 130 core2 { 130 core2 { 131 cpu = 131 cpu = <&CPU2>; 132 }; 132 }; 133 133 134 core3 { 134 core3 { 135 cpu = 135 cpu = <&CPU3>; 136 }; 136 }; 137 }; 137 }; 138 138 139 cluster1 { 139 cluster1 { 140 core0 { 140 core0 { 141 cpu = 141 cpu = <&CPU4>; 142 }; 142 }; 143 143 144 core1 { 144 core1 { 145 cpu = 145 cpu = <&CPU5>; 146 }; 146 }; 147 147 148 cpu6_map: core 148 cpu6_map: core2 { 149 cpu = 149 cpu = <&CPU6>; 150 }; 150 }; 151 151 152 cpu7_map: core 152 cpu7_map: core3 { 153 cpu = 153 cpu = <&CPU7>; 154 }; 154 }; 155 }; 155 }; 156 }; 156 }; 157 }; 157 }; 158 158 159 firmware { 159 firmware { 160 scm { 160 scm { 161 compatible = "qcom,scm 161 compatible = "qcom,scm-msm8994", "qcom,scm"; 162 }; 162 }; 163 }; 163 }; 164 164 165 memory@80000000 { 165 memory@80000000 { 166 device_type = "memory"; 166 device_type = "memory"; 167 /* We expect the bootloader to 167 /* We expect the bootloader to fill in the reg */ 168 reg = <0 0x80000000 0 0>; 168 reg = <0 0x80000000 0 0>; 169 }; 169 }; 170 170 171 pmu { 171 pmu { 172 compatible = "arm,cortex-a53-p 172 compatible = "arm,cortex-a53-pmu"; 173 interrupts = <GIC_PPI 7 (GIC_C 173 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>; 174 }; 174 }; 175 175 176 psci { 176 psci { 177 compatible = "arm,psci-0.2"; 177 compatible = "arm,psci-0.2"; 178 method = "hvc"; 178 method = "hvc"; 179 }; 179 }; 180 180 181 rpm: remoteproc { 181 rpm: remoteproc { 182 compatible = "qcom,msm8994-rpm 182 compatible = "qcom,msm8994-rpm-proc", "qcom,rpm-proc"; 183 183 184 smd-edge { 184 smd-edge { 185 interrupts = <GIC_SPI 185 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>; 186 mboxes = <&apcs 0>; !! 186 qcom,ipc = <&apcs 8 0>; 187 qcom,smd-edge = <15>; 187 qcom,smd-edge = <15>; 188 qcom,remote-pid = <6>; 188 qcom,remote-pid = <6>; 189 189 190 rpm_requests: rpm-requ 190 rpm_requests: rpm-requests { 191 compatible = " !! 191 compatible = "qcom,rpm-msm8994"; 192 qcom,smd-chann 192 qcom,smd-channels = "rpm_requests"; 193 193 194 rpmcc: clock-c 194 rpmcc: clock-controller { 195 compat 195 compatible = "qcom,rpmcc-msm8994", "qcom,rpmcc"; 196 #clock 196 #clock-cells = <1>; 197 }; 197 }; 198 198 199 rpmpd: power-c 199 rpmpd: power-controller { 200 compat 200 compatible = "qcom,msm8994-rpmpd"; 201 #power 201 #power-domain-cells = <1>; 202 operat 202 operating-points-v2 = <&rpmpd_opp_table>; 203 203 204 rpmpd_ 204 rpmpd_opp_table: opp-table { 205 205 compatible = "operating-points-v2"; 206 206 207 207 rpmpd_opp_ret: opp1 { 208 208 opp-level = <1>; 209 209 }; 210 210 rpmpd_opp_svs_krait: opp2 { 211 211 opp-level = <2>; 212 212 }; 213 213 rpmpd_opp_svs_soc: opp3 { 214 214 opp-level = <3>; 215 215 }; 216 216 rpmpd_opp_nom: opp4 { 217 217 opp-level = <4>; 218 218 }; 219 219 rpmpd_opp_turbo: opp5 { 220 220 opp-level = <5>; 221 221 }; 222 222 rpmpd_opp_super_turbo: opp6 { 223 223 opp-level = <6>; 224 224 }; 225 }; 225 }; 226 }; 226 }; 227 }; 227 }; 228 }; 228 }; 229 }; 229 }; 230 230 231 reserved-memory { 231 reserved-memory { 232 #address-cells = <2>; 232 #address-cells = <2>; 233 #size-cells = <2>; 233 #size-cells = <2>; 234 ranges; 234 ranges; 235 235 236 dfps_data_mem: dfps-data@34000 !! 236 dfps_data_mem: dfps_data_mem@3400000 { 237 reg = <0 0x03400000 0 237 reg = <0 0x03400000 0 0x1000>; 238 no-map; 238 no-map; 239 }; 239 }; 240 240 241 cont_splash_mem: memory@340100 241 cont_splash_mem: memory@3401000 { 242 reg = <0 0x03401000 0 242 reg = <0 0x03401000 0 0x2200000>; 243 no-map; 243 no-map; 244 }; 244 }; 245 245 246 smem_mem: smem@6a00000 { !! 246 smem_mem: smem_region@6a00000 { 247 reg = <0 0x06a00000 0 247 reg = <0 0x06a00000 0 0x200000>; 248 no-map; 248 no-map; 249 }; 249 }; 250 250 251 mpss_mem: memory@7000000 { 251 mpss_mem: memory@7000000 { 252 reg = <0 0x07000000 0 252 reg = <0 0x07000000 0 0x5a00000>; 253 no-map; 253 no-map; 254 }; 254 }; 255 255 256 peripheral_region: memory@ca00 256 peripheral_region: memory@ca00000 { 257 reg = <0 0x0ca00000 0 257 reg = <0 0x0ca00000 0 0x1f00000>; 258 no-map; 258 no-map; 259 }; 259 }; 260 260 261 rmtfs_mem: memory@c6400000 { 261 rmtfs_mem: memory@c6400000 { 262 compatible = "qcom,rmt 262 compatible = "qcom,rmtfs-mem"; 263 reg = <0 0xc6400000 0 263 reg = <0 0xc6400000 0 0x180000>; 264 no-map; 264 no-map; 265 265 266 qcom,client-id = <1>; 266 qcom,client-id = <1>; 267 }; 267 }; 268 268 269 mba_mem: memory@c6700000 { 269 mba_mem: memory@c6700000 { 270 reg = <0 0xc6700000 0 270 reg = <0 0xc6700000 0 0x100000>; 271 no-map; 271 no-map; 272 }; 272 }; 273 273 274 audio_mem: memory@c7000000 { 274 audio_mem: memory@c7000000 { 275 reg = <0 0xc7000000 0 275 reg = <0 0xc7000000 0 0x800000>; 276 no-map; 276 no-map; 277 }; 277 }; 278 278 279 adsp_mem: memory@c9400000 { 279 adsp_mem: memory@c9400000 { 280 reg = <0 0xc9400000 0 280 reg = <0 0xc9400000 0 0x3f00000>; 281 no-map; 281 no-map; 282 }; 282 }; 283 283 284 res_hyp_mem: reserved@6c00000 284 res_hyp_mem: reserved@6c00000 { 285 reg = <0 0x06c00000 0 285 reg = <0 0x06c00000 0 0x400000>; 286 no-map; 286 no-map; 287 }; 287 }; 288 }; 288 }; 289 289 290 smem { 290 smem { 291 compatible = "qcom,smem"; 291 compatible = "qcom,smem"; 292 memory-region = <&smem_mem>; 292 memory-region = <&smem_mem>; 293 qcom,rpm-msg-ram = <&rpm_msg_r 293 qcom,rpm-msg-ram = <&rpm_msg_ram>; 294 hwlocks = <&tcsr_mutex 3>; 294 hwlocks = <&tcsr_mutex 3>; 295 }; 295 }; 296 296 297 smp2p-lpass { 297 smp2p-lpass { 298 compatible = "qcom,smp2p"; 298 compatible = "qcom,smp2p"; 299 qcom,smem = <443>, <429>; 299 qcom,smem = <443>, <429>; 300 300 301 interrupts = <GIC_SPI 158 IRQ_ 301 interrupts = <GIC_SPI 158 IRQ_TYPE_EDGE_RISING>; 302 302 303 mboxes = <&apcs 10>; !! 303 qcom,ipc = <&apcs 8 10>; 304 304 305 qcom,local-pid = <0>; 305 qcom,local-pid = <0>; 306 qcom,remote-pid = <2>; 306 qcom,remote-pid = <2>; 307 307 308 adsp_smp2p_out: master-kernel 308 adsp_smp2p_out: master-kernel { 309 qcom,entry-name = "mas 309 qcom,entry-name = "master-kernel"; 310 #qcom,smem-state-cells 310 #qcom,smem-state-cells = <1>; 311 }; 311 }; 312 312 313 adsp_smp2p_in: slave-kernel { 313 adsp_smp2p_in: slave-kernel { 314 qcom,entry-name = "sla 314 qcom,entry-name = "slave-kernel"; 315 315 316 interrupt-controller; 316 interrupt-controller; 317 #interrupt-cells = <2> 317 #interrupt-cells = <2>; 318 }; 318 }; 319 }; 319 }; 320 320 321 smp2p-modem { 321 smp2p-modem { 322 compatible = "qcom,smp2p"; 322 compatible = "qcom,smp2p"; 323 qcom,smem = <435>, <428>; 323 qcom,smem = <435>, <428>; 324 324 325 interrupt-parent = <&intc>; 325 interrupt-parent = <&intc>; 326 interrupts = <GIC_SPI 27 IRQ_T 326 interrupts = <GIC_SPI 27 IRQ_TYPE_EDGE_RISING>; 327 327 328 mboxes = <&apcs 14>; !! 328 qcom,ipc = <&apcs 8 14>; 329 329 330 qcom,local-pid = <0>; 330 qcom,local-pid = <0>; 331 qcom,remote-pid = <1>; 331 qcom,remote-pid = <1>; 332 332 333 modem_smp2p_out: master-kernel 333 modem_smp2p_out: master-kernel { 334 qcom,entry-name = "mas 334 qcom,entry-name = "master-kernel"; 335 #qcom,smem-state-cells 335 #qcom,smem-state-cells = <1>; 336 }; 336 }; 337 337 338 modem_smp2p_in: slave-kernel { 338 modem_smp2p_in: slave-kernel { 339 qcom,entry-name = "sla 339 qcom,entry-name = "slave-kernel"; 340 340 341 interrupt-controller; 341 interrupt-controller; 342 #interrupt-cells = <2> 342 #interrupt-cells = <2>; 343 }; 343 }; 344 }; 344 }; 345 345 346 soc: soc@0 { 346 soc: soc@0 { 347 #address-cells = <1>; 347 #address-cells = <1>; 348 #size-cells = <1>; 348 #size-cells = <1>; 349 ranges = <0 0 0 0xffffffff>; 349 ranges = <0 0 0 0xffffffff>; 350 compatible = "simple-bus"; 350 compatible = "simple-bus"; 351 351 352 intc: interrupt-controller@f90 352 intc: interrupt-controller@f9000000 { 353 compatible = "qcom,msm 353 compatible = "qcom,msm-qgic2"; 354 interrupt-controller; 354 interrupt-controller; 355 #interrupt-cells = <3> 355 #interrupt-cells = <3>; 356 reg = <0xf9000000 0x10 356 reg = <0xf9000000 0x1000>, 357 <0xf9002000 0x10 357 <0xf9002000 0x1000>; 358 }; 358 }; 359 359 360 apcs: mailbox@f900d000 { 360 apcs: mailbox@f900d000 { 361 compatible = "qcom,msm 361 compatible = "qcom,msm8994-apcs-kpss-global", "syscon"; 362 reg = <0xf900d000 0x20 362 reg = <0xf900d000 0x2000>; 363 #mbox-cells = <1>; 363 #mbox-cells = <1>; 364 }; 364 }; 365 365 366 watchdog@f9017000 { 366 watchdog@f9017000 { 367 compatible = "qcom,aps 367 compatible = "qcom,apss-wdt-msm8994", "qcom,kpss-wdt"; 368 reg = <0xf9017000 0x10 368 reg = <0xf9017000 0x1000>; 369 interrupts = <GIC_SPI 369 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>, 370 <GIC_SPI 370 <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; 371 clocks = <&sleep_clk>; 371 clocks = <&sleep_clk>; 372 timeout-sec = <10>; 372 timeout-sec = <10>; 373 }; 373 }; 374 374 375 timer@f9020000 { 375 timer@f9020000 { 376 #address-cells = <1>; 376 #address-cells = <1>; 377 #size-cells = <1>; 377 #size-cells = <1>; 378 ranges; 378 ranges; 379 compatible = "arm,armv 379 compatible = "arm,armv7-timer-mem"; 380 reg = <0xf9020000 0x10 380 reg = <0xf9020000 0x1000>; 381 381 382 frame@f9021000 { 382 frame@f9021000 { 383 frame-number = 383 frame-number = <0>; 384 interrupts = < 384 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 385 < 385 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 386 reg = <0xf9021 386 reg = <0xf9021000 0x1000>, 387 <0xf9022 387 <0xf9022000 0x1000>; 388 }; 388 }; 389 389 390 frame@f9023000 { 390 frame@f9023000 { 391 frame-number = 391 frame-number = <1>; 392 interrupts = < 392 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 393 reg = <0xf9023 393 reg = <0xf9023000 0x1000>; 394 status = "disa 394 status = "disabled"; 395 }; 395 }; 396 396 397 frame@f9024000 { 397 frame@f9024000 { 398 frame-number = 398 frame-number = <2>; 399 interrupts = < 399 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 400 reg = <0xf9024 400 reg = <0xf9024000 0x1000>; 401 status = "disa 401 status = "disabled"; 402 }; 402 }; 403 403 404 frame@f9025000 { 404 frame@f9025000 { 405 frame-number = 405 frame-number = <3>; 406 interrupts = < 406 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 407 reg = <0xf9025 407 reg = <0xf9025000 0x1000>; 408 status = "disa 408 status = "disabled"; 409 }; 409 }; 410 410 411 frame@f9026000 { 411 frame@f9026000 { 412 frame-number = 412 frame-number = <4>; 413 interrupts = < 413 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; 414 reg = <0xf9026 414 reg = <0xf9026000 0x1000>; 415 status = "disa 415 status = "disabled"; 416 }; 416 }; 417 417 418 frame@f9027000 { 418 frame@f9027000 { 419 frame-number = 419 frame-number = <5>; 420 interrupts = < 420 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; 421 reg = <0xf9027 421 reg = <0xf9027000 0x1000>; 422 status = "disa 422 status = "disabled"; 423 }; 423 }; 424 424 425 frame@f9028000 { 425 frame@f9028000 { 426 frame-number = 426 frame-number = <6>; 427 interrupts = < 427 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; 428 reg = <0xf9028 428 reg = <0xf9028000 0x1000>; 429 status = "disa 429 status = "disabled"; 430 }; 430 }; 431 }; 431 }; 432 432 433 usb3: usb@f92f8800 { 433 usb3: usb@f92f8800 { 434 compatible = "qcom,msm 434 compatible = "qcom,msm8994-dwc3", "qcom,dwc3"; 435 reg = <0xf92f8800 0x40 435 reg = <0xf92f8800 0x400>; 436 #address-cells = <1>; 436 #address-cells = <1>; 437 #size-cells = <1>; 437 #size-cells = <1>; 438 ranges; 438 ranges; 439 439 440 clocks = <&gcc GCC_USB 440 clocks = <&gcc GCC_USB30_MASTER_CLK>, 441 <&gcc GCC_SYS 441 <&gcc GCC_SYS_NOC_USB3_AXI_CLK>, 442 <&gcc GCC_USB 442 <&gcc GCC_USB30_SLEEP_CLK>, 443 <&gcc GCC_USB 443 <&gcc GCC_USB30_MOCK_UTMI_CLK>; 444 clock-names = "core", 444 clock-names = "core", 445 "iface", 445 "iface", 446 "sleep", 446 "sleep", 447 "mock_ut 447 "mock_utmi"; 448 448 449 assigned-clocks = <&gc 449 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, 450 <&gc 450 <&gcc GCC_USB30_MASTER_CLK>; 451 assigned-clock-rates = 451 assigned-clock-rates = <19200000>, <120000000>; 452 452 453 power-domains = <&gcc 453 power-domains = <&gcc USB30_GDSC>; 454 qcom,select-utmi-as-pi 454 qcom,select-utmi-as-pipe-clk; 455 455 456 usb@f9200000 { 456 usb@f9200000 { 457 compatible = " 457 compatible = "snps,dwc3"; 458 reg = <0xf9200 458 reg = <0xf9200000 0xcc00>; 459 interrupts = < 459 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; 460 snps,dis_u2_su 460 snps,dis_u2_susphy_quirk; 461 snps,dis_enbls 461 snps,dis_enblslpm_quirk; 462 maximum-speed 462 maximum-speed = "high-speed"; 463 dr_mode = "per 463 dr_mode = "peripheral"; 464 }; 464 }; 465 }; 465 }; 466 466 467 sdhc1: mmc@f9824900 { 467 sdhc1: mmc@f9824900 { 468 compatible = "qcom,msm 468 compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4"; 469 reg = <0xf9824900 0x1a 469 reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>; 470 reg-names = "hc", "cor 470 reg-names = "hc", "core"; 471 471 472 interrupts = <GIC_SPI 472 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>, 473 <GIC_SPI 473 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 474 interrupt-names = "hc_ 474 interrupt-names = "hc_irq", "pwr_irq"; 475 475 476 clocks = <&gcc GCC_SDC 476 clocks = <&gcc GCC_SDCC1_AHB_CLK>, 477 <&gcc GCC_SDC 477 <&gcc GCC_SDCC1_APPS_CLK>, 478 <&xo_board>; 478 <&xo_board>; 479 clock-names = "iface", 479 clock-names = "iface", "core", "xo"; 480 480 481 pinctrl-names = "defau 481 pinctrl-names = "default", "sleep"; 482 pinctrl-0 = <&sdc1_clk 482 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on &sdc1_rclk_on>; 483 pinctrl-1 = <&sdc1_clk 483 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off &sdc1_rclk_off>; 484 484 485 bus-width = <8>; 485 bus-width = <8>; 486 non-removable; 486 non-removable; 487 status = "disabled"; 487 status = "disabled"; 488 }; 488 }; 489 489 490 sdhc2: mmc@f98a4900 { 490 sdhc2: mmc@f98a4900 { 491 compatible = "qcom,msm 491 compatible = "qcom,msm8994-sdhci", "qcom,sdhci-msm-v4"; 492 reg = <0xf98a4900 0x11 492 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>; 493 reg-names = "hc", "cor 493 reg-names = "hc", "core"; 494 494 495 interrupts = <GIC_SPI 495 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>, 496 <GIC_SPI 221 I 496 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>; 497 interrupt-names = "hc_ 497 interrupt-names = "hc_irq", "pwr_irq"; 498 498 499 clocks = <&gcc GCC_SDC 499 clocks = <&gcc GCC_SDCC2_AHB_CLK>, 500 <&gcc GCC_SDC 500 <&gcc GCC_SDCC2_APPS_CLK>, 501 <&xo_board>; 501 <&xo_board>; 502 clock-names = "iface", 502 clock-names = "iface", "core", "xo"; 503 503 504 pinctrl-names = "defau 504 pinctrl-names = "default", "sleep"; 505 pinctrl-0 = <&sdc2_clk 505 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; 506 pinctrl-1 = <&sdc2_clk 506 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; 507 507 508 cd-gpios = <&tlmm 100 508 cd-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>; 509 bus-width = <4>; 509 bus-width = <4>; 510 status = "disabled"; 510 status = "disabled"; 511 }; 511 }; 512 512 513 blsp1_dma: dma-controller@f990 513 blsp1_dma: dma-controller@f9904000 { 514 compatible = "qcom,bam 514 compatible = "qcom,bam-v1.7.0"; 515 reg = <0xf9904000 0x19 515 reg = <0xf9904000 0x19000>; 516 interrupts = <GIC_SPI 516 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 517 clocks = <&gcc GCC_BLS 517 clocks = <&gcc GCC_BLSP1_AHB_CLK>; 518 clock-names = "bam_clk 518 clock-names = "bam_clk"; 519 #dma-cells = <1>; 519 #dma-cells = <1>; 520 qcom,ee = <0>; 520 qcom,ee = <0>; 521 qcom,controlled-remote 521 qcom,controlled-remotely; 522 num-channels = <24>; 522 num-channels = <24>; 523 qcom,num-ees = <4>; 523 qcom,num-ees = <4>; 524 }; 524 }; 525 525 526 blsp1_uart2: serial@f991e000 { 526 blsp1_uart2: serial@f991e000 { 527 compatible = "qcom,msm 527 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 528 reg = <0xf991e000 0x10 528 reg = <0xf991e000 0x1000>; 529 interrupts = <GIC_SPI 529 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 530 clock-names = "core", 530 clock-names = "core", "iface"; 531 clocks = <&gcc GCC_BLS 531 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, 532 <&gcc GCC_BLS 532 <&gcc GCC_BLSP1_AHB_CLK>; 533 pinctrl-names = "defau 533 pinctrl-names = "default", "sleep"; 534 pinctrl-0 = <&blsp1_ua 534 pinctrl-0 = <&blsp1_uart2_default>; 535 pinctrl-1 = <&blsp1_ua 535 pinctrl-1 = <&blsp1_uart2_sleep>; 536 status = "disabled"; 536 status = "disabled"; 537 }; 537 }; 538 538 539 blsp1_i2c1: i2c@f9923000 { 539 blsp1_i2c1: i2c@f9923000 { 540 compatible = "qcom,i2c 540 compatible = "qcom,i2c-qup-v2.2.1"; 541 reg = <0xf9923000 0x50 541 reg = <0xf9923000 0x500>; 542 interrupts = <GIC_SPI 542 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 543 clocks = <&gcc GCC_BLS 543 clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, 544 <&gcc GCC_BLS 544 <&gcc GCC_BLSP1_AHB_CLK>; 545 clock-names = "core", 545 clock-names = "core", "iface"; 546 clock-frequency = <400 546 clock-frequency = <400000>; 547 dmas = <&blsp1_dma 12> 547 dmas = <&blsp1_dma 12>, <&blsp1_dma 13>; 548 dma-names = "tx", "rx" 548 dma-names = "tx", "rx"; 549 pinctrl-names = "defau 549 pinctrl-names = "default", "sleep"; 550 pinctrl-0 = <&i2c1_def 550 pinctrl-0 = <&i2c1_default>; 551 pinctrl-1 = <&i2c1_sle 551 pinctrl-1 = <&i2c1_sleep>; 552 #address-cells = <1>; 552 #address-cells = <1>; 553 #size-cells = <0>; 553 #size-cells = <0>; 554 status = "disabled"; 554 status = "disabled"; 555 }; 555 }; 556 556 557 blsp1_spi1: spi@f9923000 { 557 blsp1_spi1: spi@f9923000 { 558 compatible = "qcom,spi 558 compatible = "qcom,spi-qup-v2.2.1"; 559 reg = <0xf9923000 0x50 559 reg = <0xf9923000 0x500>; 560 interrupts = <GIC_SPI 560 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>; 561 clocks = <&gcc GCC_BLS 561 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, 562 <&gcc GCC_BLS 562 <&gcc GCC_BLSP1_AHB_CLK>; 563 clock-names = "core", 563 clock-names = "core", "iface"; 564 dmas = <&blsp1_dma 12> 564 dmas = <&blsp1_dma 12>, <&blsp1_dma 13>; 565 dma-names = "tx", "rx" 565 dma-names = "tx", "rx"; 566 pinctrl-names = "defau 566 pinctrl-names = "default", "sleep"; 567 pinctrl-0 = <&blsp1_sp 567 pinctrl-0 = <&blsp1_spi1_default>; 568 pinctrl-1 = <&blsp1_sp 568 pinctrl-1 = <&blsp1_spi1_sleep>; 569 #address-cells = <1>; 569 #address-cells = <1>; 570 #size-cells = <0>; 570 #size-cells = <0>; 571 status = "disabled"; 571 status = "disabled"; 572 }; 572 }; 573 573 574 blsp1_i2c2: i2c@f9924000 { 574 blsp1_i2c2: i2c@f9924000 { 575 compatible = "qcom,i2c 575 compatible = "qcom,i2c-qup-v2.2.1"; 576 reg = <0xf9924000 0x50 576 reg = <0xf9924000 0x500>; 577 interrupts = <GIC_SPI 577 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 578 clocks = <&gcc GCC_BLS 578 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, 579 <&gcc GCC_BLS 579 <&gcc GCC_BLSP1_AHB_CLK>; 580 clock-names = "core", 580 clock-names = "core", "iface"; 581 clock-frequency = <400 581 clock-frequency = <400000>; 582 dmas = <&blsp1_dma 14> 582 dmas = <&blsp1_dma 14>, <&blsp1_dma 15>; 583 dma-names = "tx", "rx" 583 dma-names = "tx", "rx"; 584 pinctrl-names = "defau 584 pinctrl-names = "default", "sleep"; 585 pinctrl-0 = <&i2c2_def 585 pinctrl-0 = <&i2c2_default>; 586 pinctrl-1 = <&i2c2_sle 586 pinctrl-1 = <&i2c2_sleep>; 587 #address-cells = <1>; 587 #address-cells = <1>; 588 #size-cells = <0>; 588 #size-cells = <0>; 589 status = "disabled"; 589 status = "disabled"; 590 }; 590 }; 591 591 592 /* I2C3 doesn't exist */ 592 /* I2C3 doesn't exist */ 593 593 594 blsp1_i2c4: i2c@f9926000 { 594 blsp1_i2c4: i2c@f9926000 { 595 compatible = "qcom,i2c 595 compatible = "qcom,i2c-qup-v2.2.1"; 596 reg = <0xf9926000 0x50 596 reg = <0xf9926000 0x500>; 597 interrupts = <GIC_SPI 597 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 598 clocks = <&gcc GCC_BLS 598 clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, 599 <&gcc GCC_BLS 599 <&gcc GCC_BLSP1_AHB_CLK>; 600 clock-names = "core", 600 clock-names = "core", "iface"; 601 clock-frequency = <400 601 clock-frequency = <400000>; 602 dmas = <&blsp1_dma 18> 602 dmas = <&blsp1_dma 18>, <&blsp1_dma 19>; 603 dma-names = "tx", "rx" 603 dma-names = "tx", "rx"; 604 pinctrl-names = "defau 604 pinctrl-names = "default", "sleep"; 605 pinctrl-0 = <&i2c4_def 605 pinctrl-0 = <&i2c4_default>; 606 pinctrl-1 = <&i2c4_sle 606 pinctrl-1 = <&i2c4_sleep>; 607 #address-cells = <1>; 607 #address-cells = <1>; 608 #size-cells = <0>; 608 #size-cells = <0>; 609 status = "disabled"; 609 status = "disabled"; 610 }; 610 }; 611 611 612 blsp1_i2c5: i2c@f9927000 { 612 blsp1_i2c5: i2c@f9927000 { 613 compatible = "qcom,i2c 613 compatible = "qcom,i2c-qup-v2.2.1"; 614 reg = <0xf9927000 0x50 614 reg = <0xf9927000 0x500>; 615 interrupts = <GIC_SPI 615 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 616 clocks = <&gcc GCC_BLS 616 clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>, 617 <&gcc GCC_BLS 617 <&gcc GCC_BLSP1_AHB_CLK>; 618 clock-names = "core", 618 clock-names = "core", "iface"; 619 clock-frequency = <400 619 clock-frequency = <400000>; 620 dmas = <&blsp2_dma 20> 620 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>; 621 dma-names = "tx", "rx" 621 dma-names = "tx", "rx"; 622 pinctrl-names = "defau 622 pinctrl-names = "default", "sleep"; 623 pinctrl-0 = <&i2c5_def 623 pinctrl-0 = <&i2c5_default>; 624 pinctrl-1 = <&i2c5_sle 624 pinctrl-1 = <&i2c5_sleep>; 625 #address-cells = <1>; 625 #address-cells = <1>; 626 #size-cells = <0>; 626 #size-cells = <0>; 627 status = "disabled"; 627 status = "disabled"; 628 }; 628 }; 629 629 630 blsp1_i2c6: i2c@f9928000 { 630 blsp1_i2c6: i2c@f9928000 { 631 compatible = "qcom,i2c 631 compatible = "qcom,i2c-qup-v2.2.1"; 632 reg = <0xf9928000 0x50 632 reg = <0xf9928000 0x500>; 633 interrupts = <GIC_SPI 633 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>; 634 clocks = <&gcc GCC_BLS 634 clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, 635 <&gcc GCC_BLS 635 <&gcc GCC_BLSP1_AHB_CLK>; 636 clock-names = "core", 636 clock-names = "core", "iface"; 637 clock-frequency = <400 637 clock-frequency = <400000>; 638 dmas = <&blsp1_dma 22> 638 dmas = <&blsp1_dma 22>, <&blsp1_dma 23>; 639 dma-names = "tx", "rx" 639 dma-names = "tx", "rx"; 640 pinctrl-names = "defau 640 pinctrl-names = "default", "sleep"; 641 pinctrl-0 = <&i2c6_def 641 pinctrl-0 = <&i2c6_default>; 642 pinctrl-1 = <&i2c6_sle 642 pinctrl-1 = <&i2c6_sleep>; 643 #address-cells = <1>; 643 #address-cells = <1>; 644 #size-cells = <0>; 644 #size-cells = <0>; 645 status = "disabled"; 645 status = "disabled"; 646 }; 646 }; 647 647 648 blsp2_dma: dma-controller@f994 648 blsp2_dma: dma-controller@f9944000 { 649 compatible = "qcom,bam 649 compatible = "qcom,bam-v1.7.0"; 650 reg = <0xf9944000 0x19 650 reg = <0xf9944000 0x19000>; 651 interrupts = <GIC_SPI 651 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 652 clocks = <&gcc GCC_BLS 652 clocks = <&gcc GCC_BLSP2_AHB_CLK>; 653 clock-names = "bam_clk 653 clock-names = "bam_clk"; 654 #dma-cells = <1>; 654 #dma-cells = <1>; 655 qcom,ee = <0>; 655 qcom,ee = <0>; 656 qcom,controlled-remote 656 qcom,controlled-remotely; 657 num-channels = <24>; 657 num-channels = <24>; 658 qcom,num-ees = <4>; 658 qcom,num-ees = <4>; 659 }; 659 }; 660 660 661 blsp2_uart2: serial@f995e000 { 661 blsp2_uart2: serial@f995e000 { 662 compatible = "qcom,msm 662 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; 663 reg = <0xf995e000 0x10 663 reg = <0xf995e000 0x1000>; 664 interrupts = <GIC_SPI 664 interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; 665 clock-names = "core", 665 clock-names = "core", "iface"; 666 clocks = <&gcc GCC_BLS 666 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>, 667 <&gcc 667 <&gcc GCC_BLSP2_AHB_CLK>; 668 dmas = <&blsp2_dma 2>, 668 dmas = <&blsp2_dma 2>, <&blsp2_dma 3>; 669 dma-names = "tx", "rx" 669 dma-names = "tx", "rx"; 670 pinctrl-names = "defau 670 pinctrl-names = "default", "sleep"; 671 pinctrl-0 = <&blsp2_ua 671 pinctrl-0 = <&blsp2_uart2_default>; 672 pinctrl-1 = <&blsp2_ua 672 pinctrl-1 = <&blsp2_uart2_sleep>; 673 status = "disabled"; 673 status = "disabled"; 674 }; 674 }; 675 675 676 blsp2_i2c1: i2c@f9963000 { 676 blsp2_i2c1: i2c@f9963000 { 677 compatible = "qcom,i2c 677 compatible = "qcom,i2c-qup-v2.2.1"; 678 reg = <0xf9963000 0x50 678 reg = <0xf9963000 0x500>; 679 interrupts = <GIC_SPI 679 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 680 clocks = <&gcc GCC_BLS 680 clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>, 681 <&gcc GCC_BLS 681 <&gcc GCC_BLSP2_AHB_CLK>; 682 clock-names = "core", 682 clock-names = "core", "iface"; 683 clock-frequency = <400 683 clock-frequency = <400000>; 684 dmas = <&blsp2_dma 12> 684 dmas = <&blsp2_dma 12>, <&blsp2_dma 13>; 685 dma-names = "tx", "rx" 685 dma-names = "tx", "rx"; 686 pinctrl-names = "defau 686 pinctrl-names = "default", "sleep"; 687 pinctrl-0 = <&i2c7_def 687 pinctrl-0 = <&i2c7_default>; 688 pinctrl-1 = <&i2c7_sle 688 pinctrl-1 = <&i2c7_sleep>; 689 #address-cells = <1>; 689 #address-cells = <1>; 690 #size-cells = <0>; 690 #size-cells = <0>; 691 status = "disabled"; 691 status = "disabled"; 692 }; 692 }; 693 693 694 blsp2_spi4: spi@f9966000 { 694 blsp2_spi4: spi@f9966000 { 695 compatible = "qcom,spi 695 compatible = "qcom,spi-qup-v2.2.1"; 696 reg = <0xf9966000 0x50 696 reg = <0xf9966000 0x500>; 697 interrupts = <GIC_SPI 697 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>; 698 clocks = <&gcc GCC_BLS 698 clocks = <&gcc GCC_BLSP2_QUP4_SPI_APPS_CLK>, 699 <&gcc GCC_BLS 699 <&gcc GCC_BLSP2_AHB_CLK>; 700 clock-names = "core", 700 clock-names = "core", "iface"; 701 dmas = <&blsp2_dma 18> 701 dmas = <&blsp2_dma 18>, <&blsp2_dma 19>; 702 dma-names = "tx", "rx" 702 dma-names = "tx", "rx"; 703 pinctrl-names = "defau 703 pinctrl-names = "default", "sleep"; 704 pinctrl-0 = <&blsp2_sp 704 pinctrl-0 = <&blsp2_spi10_default>; 705 pinctrl-1 = <&blsp2_sp 705 pinctrl-1 = <&blsp2_spi10_sleep>; 706 #address-cells = <1>; 706 #address-cells = <1>; 707 #size-cells = <0>; 707 #size-cells = <0>; 708 status = "disabled"; 708 status = "disabled"; 709 }; 709 }; 710 710 711 blsp2_i2c5: i2c@f9967000 { 711 blsp2_i2c5: i2c@f9967000 { 712 compatible = "qcom,i2c 712 compatible = "qcom,i2c-qup-v2.2.1"; 713 reg = <0xf9967000 0x50 713 reg = <0xf9967000 0x500>; 714 interrupts = <GIC_SPI 714 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 715 clocks = <&gcc GCC_BLS 715 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, 716 <&gcc GCC_BLS 716 <&gcc GCC_BLSP2_AHB_CLK>; 717 clock-names = "core", 717 clock-names = "core", "iface"; 718 clock-frequency = <355 718 clock-frequency = <355000>; 719 dmas = <&blsp2_dma 20> 719 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>; 720 dma-names = "tx", "rx" 720 dma-names = "tx", "rx"; 721 pinctrl-names = "defau 721 pinctrl-names = "default", "sleep"; 722 pinctrl-0 = <&i2c11_de 722 pinctrl-0 = <&i2c11_default>; 723 pinctrl-1 = <&i2c11_sl 723 pinctrl-1 = <&i2c11_sleep>; 724 #address-cells = <1>; 724 #address-cells = <1>; 725 #size-cells = <0>; 725 #size-cells = <0>; 726 status = "disabled"; 726 status = "disabled"; 727 }; 727 }; 728 728 729 gcc: clock-controller@fc400000 729 gcc: clock-controller@fc400000 { 730 compatible = "qcom,gcc 730 compatible = "qcom,gcc-msm8994"; 731 #clock-cells = <1>; 731 #clock-cells = <1>; 732 #reset-cells = <1>; 732 #reset-cells = <1>; 733 #power-domain-cells = 733 #power-domain-cells = <1>; 734 reg = <0xfc400000 0x20 734 reg = <0xfc400000 0x2000>; 735 735 736 clock-names = "xo", "s 736 clock-names = "xo", "sleep"; 737 clocks = <&xo_board>, 737 clocks = <&xo_board>, <&sleep_clk>; 738 }; 738 }; 739 739 740 rpm_msg_ram: sram@fc428000 { 740 rpm_msg_ram: sram@fc428000 { 741 compatible = "qcom,rpm 741 compatible = "qcom,rpm-msg-ram"; 742 reg = <0xfc428000 0x40 742 reg = <0xfc428000 0x4000>; 743 }; 743 }; 744 744 745 restart@fc4ab000 { 745 restart@fc4ab000 { 746 compatible = "qcom,psh 746 compatible = "qcom,pshold"; 747 reg = <0xfc4ab000 0x4> 747 reg = <0xfc4ab000 0x4>; 748 }; 748 }; 749 749 750 spmi_bus: spmi@fc4cf000 { 750 spmi_bus: spmi@fc4cf000 { 751 compatible = "qcom,spm 751 compatible = "qcom,spmi-pmic-arb"; 752 reg = <0xfc4cf000 0x10 752 reg = <0xfc4cf000 0x1000>, 753 <0xfc4cb000 0x10 753 <0xfc4cb000 0x1000>, 754 <0xfc4ca000 0x10 754 <0xfc4ca000 0x1000>; 755 reg-names = "core", "i 755 reg-names = "core", "intr", "cnfg"; 756 interrupt-names = "per 756 interrupt-names = "periph_irq"; 757 interrupts = <GIC_SPI 757 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>; 758 qcom,ee = <0>; 758 qcom,ee = <0>; 759 qcom,channel = <0>; 759 qcom,channel = <0>; 760 #address-cells = <2>; 760 #address-cells = <2>; 761 #size-cells = <0>; 761 #size-cells = <0>; 762 interrupt-controller; 762 interrupt-controller; 763 #interrupt-cells = <4> 763 #interrupt-cells = <4>; 764 }; 764 }; 765 765 766 tcsr_mutex: hwlock@fd484000 { 766 tcsr_mutex: hwlock@fd484000 { 767 compatible = "qcom,msm 767 compatible = "qcom,msm8994-tcsr-mutex", "qcom,tcsr-mutex"; 768 reg = <0xfd484000 0x10 768 reg = <0xfd484000 0x1000>; 769 #hwlock-cells = <1>; 769 #hwlock-cells = <1>; 770 }; 770 }; 771 771 772 tlmm: pinctrl@fd510000 { 772 tlmm: pinctrl@fd510000 { 773 compatible = "qcom,msm 773 compatible = "qcom,msm8994-pinctrl"; 774 reg = <0xfd510000 0x40 774 reg = <0xfd510000 0x4000>; 775 interrupts = <GIC_SPI 775 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>; 776 gpio-controller; 776 gpio-controller; 777 gpio-ranges = <&tlmm 0 777 gpio-ranges = <&tlmm 0 0 146>; 778 #gpio-cells = <2>; 778 #gpio-cells = <2>; 779 interrupt-controller; 779 interrupt-controller; 780 #interrupt-cells = <2> 780 #interrupt-cells = <2>; 781 781 782 blsp1_uart2_default: b 782 blsp1_uart2_default: blsp1-uart2-default-state { 783 pins = "gpio4" 783 pins = "gpio4", "gpio5"; 784 function = "bl 784 function = "blsp_uart2"; 785 drive-strength 785 drive-strength = <16>; 786 bias-disable; 786 bias-disable; 787 }; 787 }; 788 788 789 blsp1_uart2_sleep: bls 789 blsp1_uart2_sleep: blsp1-uart2-sleep-state { 790 pins = "gpio4" 790 pins = "gpio4", "gpio5"; 791 function = "gp 791 function = "gpio"; 792 drive-strength 792 drive-strength = <2>; 793 bias-pull-down 793 bias-pull-down; 794 }; 794 }; 795 795 796 blsp2_uart2_default: b 796 blsp2_uart2_default: blsp2-uart2-default-state { 797 pins = "gpio45 797 pins = "gpio45", "gpio46", "gpio47", "gpio48"; 798 function = "bl 798 function = "blsp_uart8"; 799 drive-strength 799 drive-strength = <16>; 800 bias-disable; 800 bias-disable; 801 }; 801 }; 802 802 803 blsp2_uart2_sleep: bls 803 blsp2_uart2_sleep: blsp2-uart2-sleep-state { 804 pins = "gpio45 804 pins = "gpio45", "gpio46", "gpio47", "gpio48"; 805 function = "gp 805 function = "gpio"; 806 drive-strength 806 drive-strength = <2>; 807 bias-disable; 807 bias-disable; 808 }; 808 }; 809 809 810 i2c1_default: i2c1-def 810 i2c1_default: i2c1-default-state { 811 pins = "gpio2" 811 pins = "gpio2", "gpio3"; 812 function = "bl 812 function = "blsp_i2c1"; 813 drive-strength 813 drive-strength = <2>; 814 bias-disable; 814 bias-disable; 815 }; 815 }; 816 816 817 i2c1_sleep: i2c1-sleep 817 i2c1_sleep: i2c1-sleep-state { 818 pins = "gpio2" 818 pins = "gpio2", "gpio3"; 819 function = "gp 819 function = "gpio"; 820 drive-strength 820 drive-strength = <2>; 821 bias-disable; 821 bias-disable; 822 }; 822 }; 823 823 824 i2c2_default: i2c2-def 824 i2c2_default: i2c2-default-state { 825 pins = "gpio6" 825 pins = "gpio6", "gpio7"; 826 function = "bl 826 function = "blsp_i2c2"; 827 drive-strength 827 drive-strength = <2>; 828 bias-disable; 828 bias-disable; 829 }; 829 }; 830 830 831 i2c2_sleep: i2c2-sleep 831 i2c2_sleep: i2c2-sleep-state { 832 pins = "gpio6" 832 pins = "gpio6", "gpio7"; 833 function = "gp 833 function = "gpio"; 834 drive-strength 834 drive-strength = <2>; 835 bias-disable; 835 bias-disable; 836 }; 836 }; 837 837 838 i2c4_default: i2c4-def 838 i2c4_default: i2c4-default-state { 839 pins = "gpio19 839 pins = "gpio19", "gpio20"; 840 function = "bl 840 function = "blsp_i2c4"; 841 drive-strength 841 drive-strength = <2>; 842 bias-disable; 842 bias-disable; 843 }; 843 }; 844 844 845 i2c4_sleep: i2c4-sleep 845 i2c4_sleep: i2c4-sleep-state { 846 pins = "gpio19 846 pins = "gpio19", "gpio20"; 847 function = "gp 847 function = "gpio"; 848 drive-strength 848 drive-strength = <2>; 849 bias-pull-down 849 bias-pull-down; 850 }; 850 }; 851 851 852 i2c5_default: i2c5-def 852 i2c5_default: i2c5-default-state { 853 pins = "gpio23 853 pins = "gpio23", "gpio24"; 854 function = "bl 854 function = "blsp_i2c5"; 855 drive-strength 855 drive-strength = <2>; 856 bias-disable; 856 bias-disable; 857 }; 857 }; 858 858 859 i2c5_sleep: i2c5-sleep 859 i2c5_sleep: i2c5-sleep-state { 860 pins = "gpio23 860 pins = "gpio23", "gpio24"; 861 function = "gp 861 function = "gpio"; 862 drive-strength 862 drive-strength = <2>; 863 bias-disable; 863 bias-disable; 864 }; 864 }; 865 865 866 i2c6_default: i2c6-def 866 i2c6_default: i2c6-default-state { 867 pins = "gpio28 867 pins = "gpio28", "gpio27"; 868 function = "bl 868 function = "blsp_i2c6"; 869 drive-strength 869 drive-strength = <2>; 870 bias-disable; 870 bias-disable; 871 }; 871 }; 872 872 873 i2c6_sleep: i2c6-sleep 873 i2c6_sleep: i2c6-sleep-state { 874 pins = "gpio28 874 pins = "gpio28", "gpio27"; 875 function = "gp 875 function = "gpio"; 876 drive-strength 876 drive-strength = <2>; 877 bias-disable; 877 bias-disable; 878 }; 878 }; 879 879 880 i2c7_default: i2c7-def 880 i2c7_default: i2c7-default-state { 881 pins = "gpio44 881 pins = "gpio44", "gpio43"; 882 function = "bl 882 function = "blsp_i2c7"; 883 drive-strength 883 drive-strength = <2>; 884 bias-disable; 884 bias-disable; 885 }; 885 }; 886 886 887 i2c7_sleep: i2c7-sleep 887 i2c7_sleep: i2c7-sleep-state { 888 pins = "gpio44 888 pins = "gpio44", "gpio43"; 889 function = "gp 889 function = "gpio"; 890 drive-strength 890 drive-strength = <2>; 891 bias-disable; 891 bias-disable; 892 }; 892 }; 893 893 894 blsp2_spi10_default: b 894 blsp2_spi10_default: blsp2-spi10-default-state { 895 default-pins { 895 default-pins { 896 pins = 896 pins = "gpio53", "gpio54", "gpio55"; 897 functi 897 function = "blsp_spi10"; 898 drive- 898 drive-strength = <10>; 899 bias-p 899 bias-pull-down; 900 }; 900 }; 901 901 902 cs-pins { 902 cs-pins { 903 pins = 903 pins = "gpio67"; 904 functi 904 function = "gpio"; 905 drive- 905 drive-strength = <2>; 906 bias-d 906 bias-disable; 907 }; 907 }; 908 }; 908 }; 909 909 910 blsp2_spi10_sleep: bls 910 blsp2_spi10_sleep: blsp2-spi10-sleep-state { 911 pins = "gpio53 911 pins = "gpio53", "gpio54", "gpio55"; 912 function = "gp 912 function = "gpio"; 913 drive-strength 913 drive-strength = <2>; 914 bias-disable; 914 bias-disable; 915 }; 915 }; 916 916 917 i2c11_default: i2c11-d 917 i2c11_default: i2c11-default-state { 918 pins = "gpio83 918 pins = "gpio83", "gpio84"; 919 function = "bl 919 function = "blsp_i2c11"; 920 drive-strength 920 drive-strength = <2>; 921 bias-disable; 921 bias-disable; 922 }; 922 }; 923 923 924 i2c11_sleep: i2c11-sle 924 i2c11_sleep: i2c11-sleep-state { 925 pins = "gpio83 925 pins = "gpio83", "gpio84"; 926 function = "gp 926 function = "gpio"; 927 drive-strength 927 drive-strength = <2>; 928 bias-disable; 928 bias-disable; 929 }; 929 }; 930 930 931 blsp1_spi1_default: bl 931 blsp1_spi1_default: blsp1-spi1-default-state { 932 default-pins { 932 default-pins { 933 pins = 933 pins = "gpio0", "gpio1", "gpio3"; 934 functi 934 function = "blsp_spi1"; 935 drive- 935 drive-strength = <10>; 936 bias-p 936 bias-pull-down; 937 }; 937 }; 938 938 939 cs-pins { 939 cs-pins { 940 pins = 940 pins = "gpio8"; 941 functi 941 function = "gpio"; 942 drive- 942 drive-strength = <2>; 943 bias-d 943 bias-disable; 944 }; 944 }; 945 }; 945 }; 946 946 947 blsp1_spi1_sleep: blsp 947 blsp1_spi1_sleep: blsp1-spi1-sleep-state { 948 pins = "gpio0" 948 pins = "gpio0", "gpio1", "gpio3"; 949 function = "gp 949 function = "gpio"; 950 drive-strength 950 drive-strength = <2>; 951 bias-disable; 951 bias-disable; 952 }; 952 }; 953 953 954 sdc1_clk_on: clk-on-st 954 sdc1_clk_on: clk-on-state { 955 pins = "sdc1_c 955 pins = "sdc1_clk"; 956 bias-disable; 956 bias-disable; 957 drive-strength 957 drive-strength = <16>; 958 }; 958 }; 959 959 960 sdc1_clk_off: clk-off- 960 sdc1_clk_off: clk-off-state { 961 pins = "sdc1_c 961 pins = "sdc1_clk"; 962 bias-disable; 962 bias-disable; 963 drive-strength 963 drive-strength = <2>; 964 }; 964 }; 965 965 966 sdc1_cmd_on: cmd-on-st 966 sdc1_cmd_on: cmd-on-state { 967 pins = "sdc1_c 967 pins = "sdc1_cmd"; 968 bias-pull-up; 968 bias-pull-up; 969 drive-strength 969 drive-strength = <8>; 970 }; 970 }; 971 971 972 sdc1_cmd_off: cmd-off- 972 sdc1_cmd_off: cmd-off-state { 973 pins = "sdc1_c 973 pins = "sdc1_cmd"; 974 bias-pull-up; 974 bias-pull-up; 975 drive-strength 975 drive-strength = <2>; 976 }; 976 }; 977 977 978 sdc1_data_on: data-on- 978 sdc1_data_on: data-on-state { 979 pins = "sdc1_d 979 pins = "sdc1_data"; 980 bias-pull-up; 980 bias-pull-up; 981 drive-strength 981 drive-strength = <8>; 982 }; 982 }; 983 983 984 sdc1_data_off: data-of 984 sdc1_data_off: data-off-state { 985 pins = "sdc1_d 985 pins = "sdc1_data"; 986 bias-pull-up; 986 bias-pull-up; 987 drive-strength 987 drive-strength = <2>; 988 }; 988 }; 989 989 990 sdc1_rclk_on: rclk-on- 990 sdc1_rclk_on: rclk-on-state { 991 pins = "sdc1_r 991 pins = "sdc1_rclk"; 992 bias-pull-down 992 bias-pull-down; 993 }; 993 }; 994 994 995 sdc1_rclk_off: rclk-of 995 sdc1_rclk_off: rclk-off-state { 996 pins = "sdc1_r 996 pins = "sdc1_rclk"; 997 bias-pull-down 997 bias-pull-down; 998 }; 998 }; 999 999 1000 sdc2_clk_on: sdc2-clk 1000 sdc2_clk_on: sdc2-clk-on-state { 1001 pins = "sdc2_ 1001 pins = "sdc2_clk"; 1002 bias-disable; 1002 bias-disable; 1003 drive-strengt 1003 drive-strength = <10>; 1004 }; 1004 }; 1005 1005 1006 sdc2_clk_off: sdc2-cl 1006 sdc2_clk_off: sdc2-clk-off-state { 1007 pins = "sdc2_ 1007 pins = "sdc2_clk"; 1008 bias-disable; 1008 bias-disable; 1009 drive-strengt 1009 drive-strength = <2>; 1010 }; 1010 }; 1011 1011 1012 sdc2_cmd_on: sdc2-cmd 1012 sdc2_cmd_on: sdc2-cmd-on-state { 1013 pins = "sdc2_ 1013 pins = "sdc2_cmd"; 1014 bias-pull-up; 1014 bias-pull-up; 1015 drive-strengt 1015 drive-strength = <10>; 1016 }; 1016 }; 1017 1017 1018 sdc2_cmd_off: sdc2-cm 1018 sdc2_cmd_off: sdc2-cmd-off-state { 1019 pins = "sdc2_ 1019 pins = "sdc2_cmd"; 1020 bias-pull-up; 1020 bias-pull-up; 1021 drive-strengt 1021 drive-strength = <2>; 1022 }; 1022 }; 1023 1023 1024 sdc2_data_on: sdc2-da 1024 sdc2_data_on: sdc2-data-on-state { 1025 pins = "sdc2_ 1025 pins = "sdc2_data"; 1026 bias-pull-up; 1026 bias-pull-up; 1027 drive-strengt 1027 drive-strength = <10>; 1028 }; 1028 }; 1029 1029 1030 sdc2_data_off: sdc2-d 1030 sdc2_data_off: sdc2-data-off-state { 1031 pins = "sdc2_ 1031 pins = "sdc2_data"; 1032 bias-pull-up; 1032 bias-pull-up; 1033 drive-strengt 1033 drive-strength = <2>; 1034 }; 1034 }; 1035 }; 1035 }; 1036 1036 1037 mmcc: clock-controller@fd8c00 1037 mmcc: clock-controller@fd8c0000 { 1038 compatible = "qcom,mm 1038 compatible = "qcom,mmcc-msm8994"; 1039 reg = <0xfd8c0000 0x5 1039 reg = <0xfd8c0000 0x5200>; 1040 #clock-cells = <1>; 1040 #clock-cells = <1>; 1041 #reset-cells = <1>; 1041 #reset-cells = <1>; 1042 #power-domain-cells = 1042 #power-domain-cells = <1>; 1043 1043 1044 clock-names = "xo", 1044 clock-names = "xo", 1045 "gpll0" 1045 "gpll0", 1046 "mmssno 1046 "mmssnoc_ahb", 1047 "oxili_ 1047 "oxili_gfx3d_clk_src", 1048 "dsi0pl 1048 "dsi0pll", 1049 "dsi0pl 1049 "dsi0pllbyte", 1050 "dsi1pl 1050 "dsi1pll", 1051 "dsi1pl 1051 "dsi1pllbyte", 1052 "hdmipl 1052 "hdmipll"; 1053 clocks = <&xo_board>, 1053 clocks = <&xo_board>, 1054 <&gcc GPLL0_ 1054 <&gcc GPLL0_OUT_MMSSCC>, 1055 <&rpmcc RPM_ 1055 <&rpmcc RPM_SMD_MMSSNOC_AHB_CLK>, 1056 <&rpmcc RPM_ 1056 <&rpmcc RPM_SMD_GFX3D_CLK_SRC>, 1057 <0>, 1057 <0>, 1058 <0>, 1058 <0>, 1059 <0>, 1059 <0>, 1060 <0>, 1060 <0>, 1061 <0>; 1061 <0>; 1062 1062 1063 assigned-clocks = <&m 1063 assigned-clocks = <&mmcc MMPLL0_PLL>, 1064 <&m 1064 <&mmcc MMPLL1_PLL>, 1065 <&m 1065 <&mmcc MMPLL3_PLL>, 1066 <&m 1066 <&mmcc MMPLL4_PLL>, 1067 <&m 1067 <&mmcc MMPLL5_PLL>; 1068 assigned-clock-rates 1068 assigned-clock-rates = <800000000>, 1069 1069 <1167000000>, 1070 1070 <1020000000>, 1071 1071 <960000000>, 1072 1072 <600000000>; 1073 }; 1073 }; 1074 1074 1075 ocmem: sram@fdd00000 { 1075 ocmem: sram@fdd00000 { 1076 compatible = "qcom,ms 1076 compatible = "qcom,msm8974-ocmem"; 1077 reg = <0xfdd00000 0x2 1077 reg = <0xfdd00000 0x2000>, 1078 <0xfec00000 0x2 1078 <0xfec00000 0x200000>; 1079 reg-names = "ctrl", " 1079 reg-names = "ctrl", "mem"; 1080 ranges = <0 0xfec0000 1080 ranges = <0 0xfec00000 0x200000>; 1081 clocks = <&rpmcc RPM_ 1081 clocks = <&rpmcc RPM_SMD_OCMEMGX_CLK>, 1082 <&mmcc OCMEM 1082 <&mmcc OCMEMCX_OCMEMNOC_CLK>; 1083 clock-names = "core", 1083 clock-names = "core", "iface"; 1084 1084 1085 #address-cells = <1>; 1085 #address-cells = <1>; 1086 #size-cells = <1>; 1086 #size-cells = <1>; 1087 1087 1088 gmu_sram: gmu-sram@0 1088 gmu_sram: gmu-sram@0 { 1089 reg = <0x0 0x 1089 reg = <0x0 0x180000>; 1090 }; 1090 }; 1091 }; 1091 }; 1092 }; 1092 }; 1093 1093 1094 timer: timer { 1094 timer: timer { 1095 compatible = "arm,armv8-timer 1095 compatible = "arm,armv8-timer"; 1096 interrupts = <GIC_PPI 2 (GIC_ !! 1096 interrupts = <GIC_PPI 2 0xff08>, 1097 <GIC_PPI 3 (GIC_ !! 1097 <GIC_PPI 3 0xff08>, 1098 <GIC_PPI 4 (GIC_ !! 1098 <GIC_PPI 4 0xff08>, 1099 <GIC_PPI 1 (GIC_ !! 1099 <GIC_PPI 1 0xff08>; 1100 }; 1100 }; 1101 1101 1102 vph_pwr: vph-pwr-regulator { 1102 vph_pwr: vph-pwr-regulator { 1103 compatible = "regulator-fixed 1103 compatible = "regulator-fixed"; 1104 regulator-name = "vph_pwr"; 1104 regulator-name = "vph_pwr"; 1105 1105 1106 regulator-min-microvolt = <36 1106 regulator-min-microvolt = <3600000>; 1107 regulator-max-microvolt = <36 1107 regulator-max-microvolt = <3600000>; 1108 1108 1109 regulator-always-on; 1109 regulator-always-on; 1110 }; 1110 }; 1111 }; 1111 }; 1112 1112
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.