2 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <dt-bindings/interrupt-controller/arm-gic.h>
15 #include <dt-bindings/clock/qcom,gcc-msm8916.h>
16 #include <dt-bindings/reset/qcom,gcc-msm8916.h>
17 #include <dt-bindings/clock/qcom,rpmcc.h>
18 #include <dt-bindings/thermal/thermal.h>
19 #include <dt-bindings/arm/qcom-ids.h>
22 model = "Qualcomm Technologies, Inc. MSM8916";
23 compatible = "qcom,msm8916";
24 qcom,msm-id = <QCOM_ID_MSM8916 0>,
31 interrupt-parent = <&intc>;
37 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
38 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
44 device_type = "memory";
45 /* We expect the bootloader to fill in the reg */
54 reserve_aligned@86000000 {
55 reg = <0x0 0x86000000 0x0 0x0300000>;
59 smem_mem: smem_region@86300000 {
60 reg = <0x0 0x86300000 0x0 0x0100000>;
64 hypervisor_mem: hypervisor_region@86400000 {
66 reg = <0x0 0x86400000 0x0 0x0400000>;
69 modem_adsp_mem: modem_adsp_region@86800000 {
71 reg = <0x0 0x86800000 0x0 0x04800000>;
74 peripheral_mem: peripheral_region@8b600000 {
76 reg = <0x0 0x8b600000 0x0 0x0600000>;
79 vidc_mem: vidc_region@8f800000 {
81 reg = <0 0x8f800000 0 0x800000>;
91 compatible = "arm,cortex-a53", "arm,armv8";
93 enable-method = "qcom,arm-cortex-acc";
95 next-level-cache = <&L2_0>;
97 clock-latency = <200000>;
98 cpu-supply = <&pm8916_spmi_s2>;
100 cooling-min-level = <0>;
101 cooling-max-level = <7>;
102 #cooling-cells = <2>;
104 compatible = "arm,arch-cache";
106 power-domain = <&l2ccc_0>;
112 compatible = "arm,cortex-a53", "arm,armv8";
114 enable-method = "qcom,arm-cortex-acc";
116 next-level-cache = <&L2_0>;
118 clock-latency = <200000>;
119 cpu-supply = <&pm8916_spmi_s2>;
120 /* cooling options */
121 cooling-min-level = <0>;
122 cooling-max-level = <7>;
123 #cooling-cells = <2>;
128 compatible = "arm,cortex-a53", "arm,armv8";
130 enable-method = "qcom,arm-cortex-acc";
132 next-level-cache = <&L2_0>;
134 clock-latency = <200000>;
135 cpu-supply = <&pm8916_spmi_s2>;
136 /* cooling options */
137 cooling-min-level = <0>;
138 cooling-max-level = <7>;
139 #cooling-cells = <2>;
144 compatible = "arm,cortex-a53", "arm,armv8";
146 enable-method = "qcom,arm-cortex-acc";
148 next-level-cache = <&L2_0>;
150 clock-latency = <200000>;
151 cpu-supply = <&pm8916_spmi_s2>;
152 /* cooling options */
153 cooling-min-level = <0>;
154 cooling-max-level = <7>;
155 #cooling-cells = <2>;
160 compatible = "arm,armv8-pmuv3";
161 interrupts = <GIC_PPI 7 GIC_CPU_MASK_SIMPLE(4)>;
166 polling-delay-passive = <250>;
167 polling-delay = <1000>;
169 thermal-sensors = <&tsens 4>;
173 temperature = <75000>;
178 temperature = <100000>;
186 trip = <&cpu_alert0>;
187 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
193 polling-delay-passive = <250>;
194 polling-delay = <1000>;
196 thermal-sensors = <&tsens 3>;
200 temperature = <75000>;
205 temperature = <100000>;
213 trip = <&cpu_alert1>;
214 cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
221 compatible = "arm,armv8-timer";
222 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
223 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
224 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
225 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
230 compatible = "fixed-clock";
232 clock-frequency = <19200000>;
233 clock-output-names = "xo_board";
236 sleep_clk: sleep_clk {
237 compatible = "fixed-clock";
239 clock-frequency = <32768>;
244 #address-cells = <1>;
246 ranges = <0 0 0 0xffffffff>;
247 compatible = "simple-bus";
250 compatible = "qcom,pshold";
251 reg = <0x4ab000 0x4>;
254 msmgpio: pinctrl@1000000 {
255 compatible = "qcom,msm8916-pinctrl";
256 reg = <0x1000000 0x300000>;
257 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
260 interrupt-controller;
261 #interrupt-cells = <2>;
264 gcc: qcom,gcc@1800000 {
265 compatible = "qcom,gcc-msm8916";
268 #power-domain-cells = <1>;
269 reg = <0x1800000 0x80000>;
272 tcsr_mutex_regs: syscon@1905000 {
273 compatible = "syscon";
274 reg = <0x1905000 0x20000>;
278 compatible = "qcom,tcsr-mutex";
279 syscon = <&tcsr_mutex_regs 0 0x1000>;
283 rpm_msg_ram: memory@60000 {
284 compatible = "qcom,rpm-msg-ram";
285 reg = <0x60000 0x8000>;
288 blsp1_uart1: serial@78af000 {
289 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
290 reg = <0x78af000 0x200>;
291 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
292 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
293 clock-names = "core", "iface";
294 dmas = <&blsp_dma 1>, <&blsp_dma 0>;
295 dma-names = "rx", "tx";
299 apcs: syscon@b011000 {
300 compatible = "syscon";
301 reg = <0x0b011000 0x1000>;
304 a53cc: qcom,a53cc@0b016000 {
305 compatible = "qcom,clock-a53-msm8916";
306 reg = <0x0b016000 0x40>;
311 blsp1_uart2: serial@78b0000 {
312 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
313 reg = <0x78b0000 0x200>;
314 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
315 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
316 clock-names = "core", "iface";
317 dmas = <&blsp_dma 3>, <&blsp_dma 2>;
318 dma-names = "rx", "tx";
322 blsp_dma: dma@7884000 {
323 compatible = "qcom,bam-v1.7.0";
324 reg = <0x07884000 0x23000>;
325 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
326 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
327 clock-names = "bam_clk";
333 blsp_spi1: spi@78b5000 {
334 compatible = "qcom,spi-qup-v2.2.1";
335 reg = <0x078b5000 0x600>;
336 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
337 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
338 <&gcc GCC_BLSP1_AHB_CLK>;
339 clock-names = "core", "iface";
340 dmas = <&blsp_dma 5>, <&blsp_dma 4>;
341 dma-names = "rx", "tx";
342 pinctrl-names = "default", "sleep";
343 pinctrl-0 = <&spi1_default>;
344 pinctrl-1 = <&spi1_sleep>;
345 #address-cells = <1>;
350 blsp_spi2: spi@78b6000 {
351 compatible = "qcom,spi-qup-v2.2.1";
352 reg = <0x078b6000 0x600>;
353 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
354 clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
355 <&gcc GCC_BLSP1_AHB_CLK>;
356 clock-names = "core", "iface";
357 dmas = <&blsp_dma 7>, <&blsp_dma 6>;
358 dma-names = "rx", "tx";
359 pinctrl-names = "default", "sleep";
360 pinctrl-0 = <&spi2_default>;
361 pinctrl-1 = <&spi2_sleep>;
362 #address-cells = <1>;
367 blsp_spi3: spi@78b7000 {
368 compatible = "qcom,spi-qup-v2.2.1";
369 reg = <0x078b7000 0x600>;
370 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
371 clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
372 <&gcc GCC_BLSP1_AHB_CLK>;
373 clock-names = "core", "iface";
374 dmas = <&blsp_dma 9>, <&blsp_dma 8>;
375 dma-names = "rx", "tx";
376 pinctrl-names = "default", "sleep";
377 pinctrl-0 = <&spi3_default>;
378 pinctrl-1 = <&spi3_sleep>;
379 #address-cells = <1>;
384 blsp_spi4: spi@78b8000 {
385 compatible = "qcom,spi-qup-v2.2.1";
386 reg = <0x078b8000 0x600>;
387 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
388 clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
389 <&gcc GCC_BLSP1_AHB_CLK>;
390 clock-names = "core", "iface";
391 dmas = <&blsp_dma 11>, <&blsp_dma 10>;
392 dma-names = "rx", "tx";
393 pinctrl-names = "default", "sleep";
394 pinctrl-0 = <&spi4_default>;
395 pinctrl-1 = <&spi4_sleep>;
396 #address-cells = <1>;
401 blsp_spi5: spi@78b9000 {
402 compatible = "qcom,spi-qup-v2.2.1";
403 reg = <0x078b9000 0x600>;
404 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
405 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
406 <&gcc GCC_BLSP1_AHB_CLK>;
407 clock-names = "core", "iface";
408 dmas = <&blsp_dma 13>, <&blsp_dma 12>;
409 dma-names = "rx", "tx";
410 pinctrl-names = "default", "sleep";
411 pinctrl-0 = <&spi5_default>;
412 pinctrl-1 = <&spi5_sleep>;
413 #address-cells = <1>;
418 blsp_spi6: spi@78ba000 {
419 compatible = "qcom,spi-qup-v2.2.1";
420 reg = <0x078ba000 0x600>;
421 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
422 clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
423 <&gcc GCC_BLSP1_AHB_CLK>;
424 clock-names = "core", "iface";
425 dmas = <&blsp_dma 15>, <&blsp_dma 14>;
426 dma-names = "rx", "tx";
427 pinctrl-names = "default", "sleep";
428 pinctrl-0 = <&spi6_default>;
429 pinctrl-1 = <&spi6_sleep>;
430 #address-cells = <1>;
435 blsp_i2c2: i2c@78b6000 {
436 compatible = "qcom,i2c-qup-v2.2.1";
437 reg = <0x78b6000 0x1000>;
438 interrupts = <GIC_SPI 96 0>;
439 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
440 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
441 clock-names = "iface", "core";
442 pinctrl-names = "default", "sleep";
443 pinctrl-0 = <&i2c2_default>;
444 pinctrl-1 = <&i2c2_sleep>;
445 #address-cells = <1>;
450 blsp_i2c4: i2c@78b8000 {
451 compatible = "qcom,i2c-qup-v2.2.1";
452 reg = <0x78b8000 0x1000>;
453 interrupts = <GIC_SPI 98 0>;
454 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
455 <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>;
456 clock-names = "iface", "core";
457 pinctrl-names = "default", "sleep";
458 pinctrl-0 = <&i2c4_default>;
459 pinctrl-1 = <&i2c4_sleep>;
460 #address-cells = <1>;
465 blsp_i2c6: i2c@78ba000 {
466 compatible = "qcom,i2c-qup-v2.2.1";
467 reg = <0x78ba000 0x1000>;
468 interrupts = <GIC_SPI 100 0>;
469 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
470 <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>;
471 clock-names = "iface", "core";
472 pinctrl-names = "default", "sleep";
473 pinctrl-0 = <&i2c6_default>;
474 pinctrl-1 = <&i2c6_sleep>;
475 #address-cells = <1>;
480 sdhc_1: sdhci@07824000 {
481 compatible = "qcom,sdhci-msm-v4";
482 reg = <0x07824900 0x11c>, <0x07824000 0x800>;
483 reg-names = "hc_mem", "core_mem";
485 interrupts = <0 123 0>, <0 138 0>;
486 interrupt-names = "hc_irq", "pwr_irq";
487 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
488 <&gcc GCC_SDCC1_AHB_CLK>;
489 clock-names = "core", "iface";
495 sdhc_2: sdhci@07864000 {
496 compatible = "qcom,sdhci-msm-v4";
497 reg = <0x07864900 0x11c>, <0x07864000 0x800>;
498 reg-names = "hc_mem", "core_mem";
500 interrupts = <0 125 0>, <0 221 0>;
501 interrupt-names = "hc_irq", "pwr_irq";
502 clocks = <&gcc GCC_SDCC2_APPS_CLK>,
503 <&gcc GCC_SDCC2_AHB_CLK>;
504 clock-names = "core", "iface";
509 usb_dev: usb@78d9000 {
510 compatible = "qcom,ci-hdrc";
511 reg = <0x78d9000 0x400>;
512 dr_mode = "peripheral";
513 interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>;
514 usb-phy = <&usb_otg>;
518 usb_host: ehci@78d9000 {
519 compatible = "qcom,ehci-host";
520 reg = <0x78d9000 0x400>;
521 interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>;
522 usb-phy = <&usb_otg>;
526 usb_otg: phy@78d9000 {
527 compatible = "qcom,usb-otg-snps";
528 reg = <0x78d9000 0x400>;
529 interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_BOTH>,
530 <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
532 v1p8-supply = <&pm8916_l7>;
533 v3p3-supply = <&pm8916_l13>;
534 qcom,vdd-levels = <1 5 7>;
535 qcom,phy-init-sequence = <0x44 0x6B 0x24 0x13>;
536 dr_mode = "peripheral";
537 qcom,otg-control = <2>; // PMIC
540 qcom,msm-bus,name = "usb2";
541 qcom,msm-bus,num-cases = <3>;
542 qcom,msm-bus,num-paths = <1>;
543 qcom,msm-bus,vectors-KBps =
548 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
549 <&gcc GCC_USB_HS_SYSTEM_CLK>,
550 <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
551 clock-names = "iface", "core", "sleep";
553 resets = <&gcc GCC_USB2A_PHY_BCR>,
554 <&gcc GCC_USB_HS_BCR>;
555 reset-names = "phy", "link";
559 intc: interrupt-controller@b000000 {
560 compatible = "qcom,msm-qgic2";
561 interrupt-controller;
562 #interrupt-cells = <3>;
563 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
566 l2ccc_0: clock-controller@b011000 {
567 compatible = "qcom,8916-l2ccc";
568 reg = <0x0b011000 0x1000>;
572 #address-cells = <1>;
575 compatible = "arm,armv7-timer-mem";
576 reg = <0xb020000 0x1000>;
577 clock-frequency = <19200000>;
581 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
582 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
583 reg = <0xb021000 0x1000>,
589 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
590 reg = <0xb023000 0x1000>;
596 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
597 reg = <0xb024000 0x1000>;
603 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
604 reg = <0xb025000 0x1000>;
610 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
611 reg = <0xb026000 0x1000>;
617 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
618 reg = <0xb027000 0x1000>;
624 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
625 reg = <0xb028000 0x1000>;
630 spmi_bus: spmi@200f000 {
631 compatible = "qcom,spmi-pmic-arb";
632 reg = <0x200f000 0x001000>,
633 <0x2400000 0x400000>,
634 <0x2c00000 0x400000>,
635 <0x3800000 0x200000>,
636 <0x200a000 0x002100>;
637 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
638 interrupt-names = "periph_irq";
639 interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
642 #address-cells = <2>;
644 interrupt-controller;
645 #interrupt-cells = <4>;
649 compatible = "qcom,prng";
650 reg = <0x00022000 0x200>;
651 clocks = <&gcc GCC_PRNG_AHB_CLK>;
652 clock-names = "core";
654 acc0: clock-controller@b088000 {
655 compatible = "qcom,arm-cortex-acc";
656 reg = <0x0b088000 0x1000>,
660 acc1: clock-controller@b098000 {
661 compatible = "qcom,arm-cortex-acc";
662 reg = <0x0b098000 0x1000>,
666 acc2: clock-controller@b0a8000 {
667 compatible = "qcom,arm-cortex-acc";
668 reg = <0x0b0a8000 0x1000>,
672 acc3: clock-controller@b0b8000 {
673 compatible = "qcom,arm-cortex-acc";
674 reg = <0x0b0b8000 0x1000>,
680 wcd_digital: codec-digital{
681 compatible = "syscon", "qcom,apq8016-wcd-digital-codec";
682 reg = <0x0771c000 0x400>;
685 lpass: lpass-cpu@07700000 {
687 compatible = "qcom,lpass-cpu-apq8016";
688 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
689 <&gcc GCC_ULTAUDIO_PCNOC_MPORT_CLK>,
690 <&gcc GCC_ULTAUDIO_PCNOC_SWAY_CLK>,
691 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
692 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
693 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>,
694 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>;
696 clock-names = "ahbix-clk",
703 #sound-dai-cells = <1>;
705 interrupts = <0 160 0>;
706 interrupt-names = "lpass-irq-lpaif";
707 reg = <0x07708000 0x10000>, <0x07702000 0x4>, <0x07702004 0x4>;
708 reg-names = "lpass-lpaif", "mic-iomux", "spkr-iomux";
713 compatible = "qcom,apq8016-sbc-sndcard";
714 reg = <0x07702000 0x4>, <0x07702004 0x4>;
715 reg-names = "mic-iomux", "spkr-iomux";
718 tcsr: syscon@1937000 {
719 compatible = "qcom,tcsr-msm8916", "syscon";
720 reg = <0x1937000 0x30000>;
723 uqfprom: eeprom@58000 {
724 compatible = "qcom,qfprom-msm8916";
725 reg = <0x58000 0x7000>;
729 compatible = "qcom,cpr";
730 reg = <0xb018000 0x1000>;
731 interrupts = <0 15 1>, <0 16 1>, <0 17 1>;
732 vdd-mx-supply = <&pm8916_l3>;
733 acc-syscon = <&tcsr>;
736 qcom,cpr-ref-clk = <19200>;
737 qcom,cpr-timer-delay-us = <5000>;
738 qcom,cpr-timer-cons-up = <0>;
739 qcom,cpr-timer-cons-down = <2>;
740 qcom,cpr-up-threshold = <0>;
741 qcom,cpr-down-threshold = <2>;
742 qcom,cpr-idle-clocks = <15>;
743 qcom,cpr-gcnt-us = <1>;
744 qcom,vdd-apc-step-up-limit = <1>;
745 qcom,vdd-apc-step-down-limit = <1>;
746 qcom,cpr-cpus = <&CPU0 &CPU1 &CPU2 &CPU3>;
749 qfprom: qfprom@5c000 {
750 compatible = "qcom,qfprom";
751 reg = <0x5c000 0x1000>;
752 #address-cells = <1>;
754 tsens_caldata: caldata@d0 {
757 tsens_calsel: calsel@ec {
762 tsens: thermal-sensor@4a8000 {
763 compatible = "qcom,msm8916-tsens";
764 reg = <0x4a8000 0x2000>;
765 nvmem-cells = <&tsens_caldata>, <&tsens_calsel>;
766 nvmem-cell-names = "calib", "calib_sel";
767 qcom,tsens-slopes = <3200 3200 3200 3200 3200>;
768 qcom,sensor-id = <0 1 2 4 5>;
769 #thermal-sensor-cells = <1>;
773 compatible = "qcom,smp2p";
774 qcom,smem = <435>, <428>;
775 interrupts = <0 27 1>;
776 qcom,ipc = <&apcs 8 14>;
778 qcom,local-pid = <0>;
779 qcom,remote-pid = <1>;
781 q6_smp2p_out: master-kernel {
782 qcom,entry-name = "master-kernel";
789 q6_smp2p_in: slave-kernel {
790 qcom,entry-name = "slave-kernel";
793 interrupt-controller;
794 #interrupt-cells = <2>;
799 compatible = "qcom,smp2p";
800 qcom,smem = <451>, <431>;
802 interrupts = <0 143 1>;
804 qcom,ipc = <&apcs 8 18>;
806 qcom,local-pid = <0>;
807 qcom,remote-pid = <4>;
809 wcnss_smp2p_out: master-kernel {
810 qcom,entry-name = "master-kernel";
817 wcnss_smp2p_in: slave-kernel {
818 qcom,entry-name = "slave-kernel";
821 interrupt-controller;
822 #interrupt-cells = <2>;
827 compatible = "qcom,pil-q6v56-mss", "qcom,q6v5-pil";
828 reg = <0x04080000 0x100>,
836 reg-names = "qdsp6_base", "rmb_base", "restart_reg_sec",
837 "halt_q6", "halt_modem", "halt_nc";
839 interrupts-extended = <&intc 0 24 1>,
844 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
846 clocks = <&gcc GCC_MSS_CFG_AHB_CLK>, <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>, <&gcc GCC_BOOT_ROM_AHB_CLK>;
848 clock-names = "iface", "bus", "mem";
850 qcom,mx-supply = <&pm8916_l3>;
851 qcom,mx-uV = <1050000>;
852 qcom,pll-supply = <&pm8916_l7>;
853 qcom,pll-uV = <1800000>;
854 qcom,proxy-clock-names = "xo";
855 qcom,active-clock-names = "iface_clk", "bus_clk", "mem_clk";
857 qcom,firmware-name = "modem";
861 /* GPIO inputs from mss */
862 qcom,gpio-err-fatal = <&q6_smp2p_in 0 0>;
863 qcom,gpio-err-ready = <&q6_smp2p_in 1 0>;
864 qcom,gpio-proxy-unvote = <&q6_smp2p_in 2 0>;
865 qcom,gpio-stop-ack = <&q6_smp2p_in 3 0>;
866 qcom,gpio-ramdump-disable = <&q6_smp2p_in 15 0>;
867 /* GPIO output to mss */
868 qcom,gpio-force-stop = <&q6_smp2p_out 0 0>;
869 qcom,stop-gpio = <&q6_smp2p_out 0 0>;
870 memory-region = <&modem_adsp_mem>;
873 pronto_rproc:pronto_rproc {
874 compatible = "qcom,tz-pil";
876 interrupts-extended = <&intc 0 149 1>,
877 <&wcnss_smp2p_in 0 0>,
878 <&wcnss_smp2p_in 1 0>,
879 <&wcnss_smp2p_in 2 0>,
880 <&wcnss_smp2p_in 3 0>;
881 interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
883 clocks = <&gcc GCC_CRYPTO_CLK>,
884 <&gcc GCC_CRYPTO_AHB_CLK>,
885 <&gcc GCC_CRYPTO_AXI_CLK>,
886 <&gcc CRYPTO_CLK_SRC>;
887 clock-names = "scm_core_clk", "scm_iface_clk", "scm_bus_clk", "scm_src_clk";
889 qcom,firmware-name = "wcnss";
892 qcom,crash-reason = <422>;
893 qcom,smd-edges = <&pronto_smd_edge>;
895 qcom,pll-supply = <&pm8916_l7>;
896 qcom,pll-uV = <1800000>;
897 qcom,pll-uA = <18000>;
899 qcom,stop-gpio = <&wcnss_smp2p_out 0 0>;
901 pinctrl-names = "default";
902 pinctrl-0 = <&wcnss_default>;
904 memory-region = <&peripheral_mem>;
907 qcom,wcn36xx@0a000000 {
908 compatible = "qcom,wcn3620";
909 reg = <0x0a000000 0x280000>,
912 <0x03204000 0x00000100>,
913 <0x03200800 0x00000200>,
914 <0x0A100400 0x00000200>,
915 <0x0A205050 0x00000200>,
916 <0x0A219000 0x00000020>,
917 <0x0A080488 0x00000008>,
918 <0x0A080fb0 0x00000008>,
919 <0x0A08040c 0x00000008>,
920 <0x0A0120a8 0x00000008>,
921 <0x0A012448 0x00000008>,
922 <0x0A080c00 0x00000001>;
924 reg-names = "wcnss_mmio", "wcnss_fiq",
925 "pronto_phy_base", "riva_phy_base",
926 "riva_ccu_base", "pronto_a2xb_base",
927 "pronto_ccpu_base", "pronto_saw2_base",
928 "wlan_tx_phy_aborts","wlan_brdg_err_source",
929 "wlan_tx_status", "alarms_txctl",
930 "alarms_tactl", "pronto_mcu_base";
932 interrupts = <0 145 0 0 146 0>;
933 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
935 // qcom,pronto-vddmx-supply = <&pm8916_l3>;
936 // qcom,pronto-vddcx-supply = <&pm8916_s1_corner>;
937 // qcom,pronto-vddpx-supply = <&pm8916_l7>;
938 // qcom,iris-vddxo-supply = <&pm8916_l7>;
939 // qcom,iris-vddrfa-supply = <&pm8916_s3>;
940 // qcom,iris-vddpa-supply = <&pm8916_l9>;
941 // qcom,iris-vdddig-supply = <&pm8916_l5>;
943 pinctrl-names = "wcnss_default";
944 // pinctrl-names = "wcnss_default", "wcnss_sleep",
945 // "wcnss_gpio_default";
946 pinctrl-0 = <&wcnss_default>;
947 // pinctrl-1 = <&wcnss_sleep>;
948 // pinctrl-2 = <&wcnss_gpio_default>;
950 // clocks = <&rpmcc RPM_XO_CLK_SRC>,
951 // <&rpmcc RPM_RF_CLK2>;
952 //clock-names = "xo", "rf_clk";
954 rproc = <&pronto_rproc>;
955 qcom,has-autodetect-xo;
956 qcom,wlan-rx-buff-count = <512>;
959 // qcom,wcnss-adc_tm = <&pm8916_adc_tm>;
964 qcom,rpm-log@29dc00 {
965 compatible = "qcom,rpm-log";
966 reg = <0x29dc00 0x4000>;
967 qcom,rpm-addr-phys = <0x200000>;
968 qcom,offset-version = <4>;
969 qcom,offset-page-buffer-addr = <36>;
970 qcom,offset-log-len = <40>;
971 qcom,offset-log-len-mask = <44>;
972 qcom,offset-page-indices = <56>;
975 vidc_rproc: vidc_tzpil@0 {
976 compatible = "qcom,tz-pil";
977 clocks = <&gcc GCC_CRYPTO_CLK>,
978 <&gcc GCC_CRYPTO_AHB_CLK>,
979 <&gcc GCC_CRYPTO_AXI_CLK>,
980 <&gcc CRYPTO_CLK_SRC>;
981 clock-names = "scm_core_clk", "scm_iface_clk",
982 "scm_bus_clk", "scm_src_clk";
983 qcom,firmware-name = "venus";
985 memory-region = <&vidc_mem>;
989 vidc: qcom,vidc@1d00000 {
990 compatible = "qcom,msm-vidc";
991 reg = <0x01d00000 0xff000>;
992 interrupts = <GIC_SPI 44 0>;
993 power-domains = <&gcc VENUS_GDSC>;
994 clocks = <&gcc GCC_VENUS0_VCODEC0_CLK>,
995 <&gcc GCC_VENUS0_AHB_CLK>,
996 <&gcc GCC_VENUS0_AXI_CLK>;
997 clock-names = "core_clk", "iface_clk", "bus_clk";
999 qcom,max-hw-load = <352800>; /* 720p @ 30 + 1080p @ 30 */
1000 qcom,enable-idle-indicator;
1001 rproc = <&vidc_rproc>;
1002 qcom,iommu-cb = <&venus_ns>,
1003 <&venus_sec_bitstream>,
1005 <&venus_sec_non_pixel>;
1006 status = "disabled";
1011 compatible = "qcom,smem";
1013 memory-region = <&smem_mem>;
1014 qcom,rpm-msg-ram = <&rpm_msg_ram>;
1016 hwlocks = <&tcsr_mutex 3>;
1019 compatible = "qcom,smd";
1022 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
1023 qcom,ipc = <&apcs 8 0>;
1024 qcom,smd-edge = <15>;
1025 qcom,remote-pid = <0xffffffff>;
1028 compatible = "qcom,rpm-msm8916";
1029 qcom,smd-channels = "rpm_requests";
1031 compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
1036 compatible = "qcom,rpm-msm-bus";
1039 compatible = "qcom,rpm-pm8916-regulators";
1069 interrupts = <0 25 1>;
1070 qcom,smd-edge = <0>;
1071 qcom,ipc = <&apcs 8 12>;
1072 qcom,remote-pid = <1>;
1074 compatible = "qcom,ipcrtr";
1075 qcom,smd-channels = "IPCRTR";
1079 pronto_smd_edge: pronto {
1080 interrupts = <0 142 1>;
1082 qcom,ipc = <&apcs 8 17>;
1083 qcom,smd-edge = <6>;
1084 qcom,remote-pid = <4>;
1087 compatible = "qcom,hci-smd";
1088 qcom,smd-channels = "APPS_RIVA_BT_CMD", "APPS_RIVA_BT_ACL";
1089 qcom,smd-channel-names = "event", "data";
1093 compatible = "qcom,ipcrtr";
1094 qcom,smd-channels = "IPCRTR";
1098 compatible = "qcom,wlan-ctrl";
1099 qcom,smd-channels = "WLAN_CTRL";
1101 interrupts = <0 145 0>, <0 146 0>;
1102 interrupt-names = "wcnss_wlantx_irq", "wcnss_wlanrx_irq";
1104 qcom,wcnss_mmio = <0xfb000000 0x21b000>;
1106 // qcom,tx-enable-gpios = <&apps_smsm 10 0>;
1107 // qcom,tx-rings-empty-gpios = <&apps_smsm 9 0>;
1111 compatible = "qcom,wcnss-ctrl";
1112 qcom,smd-channels = "WCNSS_CTRL";
1114 qcom,wcnss_mmio = <0xfb21b000 0x3000>;
1122 #include "msm8916-pins.dtsi"
1123 #include "msm8916-iommu.dtsi"
1124 #include "msm8916-coresight.dtsi"
1125 #include "msm8916-bus.dtsi"