3 #include <dt-bindings/interrupt-controller/arm-gic.h>
4 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
5 #include "skeleton.dtsi"
8 model = "Qualcomm MSM8974";
9 compatible = "qcom,msm8974";
10 interrupt-parent = <&intc>;
18 reg = <0x08000000 0x5100000>;
23 reg = <0x0d100000 0x100000>;
28 reg = <0x0d200000 0xa00000>;
33 reg = <0x0dc00000 0x1900000>;
38 reg = <0x0f500000 0x500000>;
42 smem_region: smem@fa00000 {
43 reg = <0xfa00000 0x200000>;
48 reg = <0x0fc00000 0x160000>;
53 reg = <0x0fd60000 0x20000>;
58 reg = <0x0fd80000 0x180000>;
63 reg = <0x0ff00000 0x10100000>;
71 interrupts = <1 9 0xf04>;
74 compatible = "qcom,krait";
75 enable-method = "qcom,kpss-acc-v2";
78 next-level-cache = <&L2>;
81 cpu-idle-states = <&CPU_SPC>;
85 compatible = "qcom,krait";
86 enable-method = "qcom,kpss-acc-v2";
89 next-level-cache = <&L2>;
92 cpu-idle-states = <&CPU_SPC>;
96 compatible = "qcom,krait";
97 enable-method = "qcom,kpss-acc-v2";
100 next-level-cache = <&L2>;
103 cpu-idle-states = <&CPU_SPC>;
107 compatible = "qcom,krait";
108 enable-method = "qcom,kpss-acc-v2";
111 next-level-cache = <&L2>;
114 cpu-idle-states = <&CPU_SPC>;
118 compatible = "cache";
120 qcom,saw = <&saw_l2>;
125 compatible = "qcom,idle-state-spc",
127 entry-latency-us = <150>;
128 exit-latency-us = <200>;
129 min-residency-us = <2000>;
136 polling-delay-passive = <250>;
137 polling-delay = <1000>;
139 thermal-sensors = <&tsens 5>;
143 temperature = <75000>;
148 temperature = <110000>;
156 polling-delay-passive = <250>;
157 polling-delay = <1000>;
159 thermal-sensors = <&tsens 6>;
163 temperature = <75000>;
168 temperature = <110000>;
176 polling-delay-passive = <250>;
177 polling-delay = <1000>;
179 thermal-sensors = <&tsens 7>;
183 temperature = <75000>;
188 temperature = <110000>;
196 polling-delay-passive = <250>;
197 polling-delay = <1000>;
199 thermal-sensors = <&tsens 8>;
203 temperature = <75000>;
208 temperature = <110000>;
217 compatible = "qcom,krait-pmu";
218 interrupts = <1 7 0xf04>;
223 compatible = "fixed-clock";
225 clock-frequency = <19200000>;
229 compatible = "fixed-clock";
231 clock-frequency = <32768>;
236 compatible = "arm,armv7-timer";
237 interrupts = <1 2 0xf08>,
241 clock-frequency = <19200000>;
245 compatible = "qcom,smem";
247 memory-region = <&smem_region>;
248 qcom,rpm-msg-ram = <&rpm_msg_ram>;
250 hwlocks = <&tcsr_mutex 3>;
254 compatible = "qcom,smp2p";
255 qcom,smem = <435>, <428>;
257 interrupt-parent = <&intc>;
258 interrupts = <0 27 IRQ_TYPE_EDGE_RISING>;
260 qcom,ipc = <&apcs 8 14>;
262 qcom,local-pid = <0>;
263 qcom,remote-pid = <1>;
265 modem_smp2p_out: master-kernel {
266 qcom,entry-name = "master-kernel";
267 #qcom,smem-state-cells = <1>;
270 modem_smp2p_in: slave-kernel {
271 qcom,entry-name = "slave-kernel";
273 interrupt-controller;
274 #interrupt-cells = <2>;
279 compatible = "qcom,smp2p";
280 qcom,smem = <451>, <431>;
282 interrupt-parent = <&intc>;
283 interrupts = <0 143 IRQ_TYPE_EDGE_RISING>;
285 qcom,ipc = <&apcs 8 18>;
287 qcom,local-pid = <0>;
288 qcom,remote-pid = <4>;
290 wcnss_smp2p_out: master-kernel {
291 qcom,entry-name = "master-kernel";
293 #qcom,smem-state-cells = <1>;
296 wcnss_smp2p_in: slave-kernel {
297 qcom,entry-name = "slave-kernel";
299 interrupt-controller;
300 #interrupt-cells = <2>;
305 compatible = "qcom,smsm";
307 #address-cells = <1>;
310 qcom,ipc-1 = <&apcs 8 13>;
311 qcom,ipc-2 = <&apcs 8 9>;
312 qcom,ipc-3 = <&apcs 8 19>;
317 #qcom,smem-state-cells = <1>;
320 modem_smsm: modem@1 {
322 interrupts = <0 26 IRQ_TYPE_EDGE_RISING>;
324 interrupt-controller;
325 #interrupt-cells = <2>;
330 interrupts = <0 157 IRQ_TYPE_EDGE_RISING>;
332 interrupt-controller;
333 #interrupt-cells = <2>;
336 wcnss_smsm: wcnss@7 {
338 interrupts = <0 144 IRQ_TYPE_EDGE_RISING>;
340 interrupt-controller;
341 #interrupt-cells = <2>;
347 compatible = "qcom,scm";
348 clocks = <&gcc GCC_CE1_CLK>, <&gcc GCC_CE1_AXI_CLK>, <&gcc GCC_CE1_AHB_CLK>;
349 clock-names = "core", "bus", "iface";
354 #address-cells = <1>;
357 compatible = "simple-bus";
359 intc: interrupt-controller@f9000000 {
360 compatible = "qcom,msm-qgic2";
361 interrupt-controller;
362 #interrupt-cells = <3>;
363 reg = <0xf9000000 0x1000>,
367 apcs: syscon@f9011000 {
368 compatible = "syscon";
369 reg = <0xf9011000 0x1000>;
372 qfprom: qfprom@fc4bc000 {
373 #address-cells = <1>;
375 compatible = "qcom,qfprom";
376 reg = <0xfc4bc000 0x1000>;
377 tsens_calib: calib@d0 {
380 tsens_backup: backup@440 {
385 tsens: thermal-sensor@fc4a8000 {
386 compatible = "qcom,msm8974-tsens";
387 reg = <0xfc4a8000 0x2000>;
388 nvmem-cells = <&tsens_calib>, <&tsens_backup>;
389 nvmem-cell-names = "calib", "calib_backup";
390 #thermal-sensor-cells = <1>;
394 #address-cells = <1>;
397 compatible = "arm,armv7-timer-mem";
398 reg = <0xf9020000 0x1000>;
399 clock-frequency = <19200000>;
403 interrupts = <0 8 0x4>,
405 reg = <0xf9021000 0x1000>,
411 interrupts = <0 9 0x4>;
412 reg = <0xf9023000 0x1000>;
418 interrupts = <0 10 0x4>;
419 reg = <0xf9024000 0x1000>;
425 interrupts = <0 11 0x4>;
426 reg = <0xf9025000 0x1000>;
432 interrupts = <0 12 0x4>;
433 reg = <0xf9026000 0x1000>;
439 interrupts = <0 13 0x4>;
440 reg = <0xf9027000 0x1000>;
446 interrupts = <0 14 0x4>;
447 reg = <0xf9028000 0x1000>;
452 saw0: power-controller@f9089000 {
453 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
454 reg = <0xf9089000 0x1000>, <0xf9009000 0x1000>;
457 saw1: power-controller@f9099000 {
458 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
459 reg = <0xf9099000 0x1000>, <0xf9009000 0x1000>;
462 saw2: power-controller@f90a9000 {
463 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
464 reg = <0xf90a9000 0x1000>, <0xf9009000 0x1000>;
467 saw3: power-controller@f90b9000 {
468 compatible = "qcom,msm8974-saw2-v2.1-cpu", "qcom,saw2";
469 reg = <0xf90b9000 0x1000>, <0xf9009000 0x1000>;
472 saw_l2: power-controller@f9012000 {
473 compatible = "qcom,saw2";
474 reg = <0xf9012000 0x1000>;
478 acc0: clock-controller@f9088000 {
479 compatible = "qcom,kpss-acc-v2";
480 reg = <0xf9088000 0x1000>, <0xf9008000 0x1000>;
483 acc1: clock-controller@f9098000 {
484 compatible = "qcom,kpss-acc-v2";
485 reg = <0xf9098000 0x1000>, <0xf9008000 0x1000>;
488 acc2: clock-controller@f90a8000 {
489 compatible = "qcom,kpss-acc-v2";
490 reg = <0xf90a8000 0x1000>, <0xf9008000 0x1000>;
493 acc3: clock-controller@f90b8000 {
494 compatible = "qcom,kpss-acc-v2";
495 reg = <0xf90b8000 0x1000>, <0xf9008000 0x1000>;
499 compatible = "qcom,pshold";
500 reg = <0xfc4ab000 0x4>;
503 gcc: clock-controller@fc400000 {
504 compatible = "qcom,gcc-msm8974";
507 #power-domain-cells = <1>;
508 reg = <0xfc400000 0x4000>;
511 tcsr_mutex_block: syscon@fd484000 {
512 compatible = "syscon";
513 reg = <0xfd484000 0x2000>;
516 mmcc: clock-controller@fd8c0000 {
517 compatible = "qcom,mmcc-msm8974";
520 #power-domain-cells = <1>;
521 reg = <0xfd8c0000 0x6000>;
524 tcsr_mutex: tcsr-mutex {
525 compatible = "qcom,tcsr-mutex";
526 syscon = <&tcsr_mutex_block 0 0x80>;
531 rpm_msg_ram: memory@fc428000 {
532 compatible = "qcom,rpm-msg-ram";
533 reg = <0xfc428000 0x4000>;
536 blsp1_uart1: serial@f991d000 {
537 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
538 reg = <0xf991d000 0x1000>;
539 interrupts = <0 107 0x0>;
540 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
541 clock-names = "core", "iface";
545 blsp1_uart2: serial@f991e000 {
546 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
547 reg = <0xf991e000 0x1000>;
548 interrupts = <0 108 0x0>;
549 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
550 clock-names = "core", "iface";
555 compatible = "qcom,sdhci-msm-v4";
556 reg = <0xf9824900 0x11c>, <0xf9824000 0x800>;
557 reg-names = "hc_mem", "core_mem";
558 interrupts = <0 123 0>, <0 138 0>;
559 interrupt-names = "hc_irq", "pwr_irq";
560 clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>;
561 clock-names = "core", "iface";
566 compatible = "qcom,sdhci-msm-v4";
567 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
568 reg-names = "hc_mem", "core_mem";
569 interrupts = <0 125 0>, <0 221 0>;
570 interrupt-names = "hc_irq", "pwr_irq";
571 clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>;
572 clock-names = "core", "iface";
577 compatible = "qcom,prng";
578 reg = <0xf9bff000 0x200>;
579 clocks = <&gcc GCC_PRNG_AHB_CLK>;
580 clock-names = "core";
583 msmgpio: pinctrl@fd510000 {
584 compatible = "qcom,msm8974-pinctrl";
585 reg = <0xfd510000 0x4000>;
588 interrupt-controller;
589 #interrupt-cells = <2>;
590 interrupts = <0 208 0>;
595 compatible = "qcom,i2c-qup-v2.1.1";
596 reg = <0xf9924000 0x1000>;
597 interrupts = <0 96 IRQ_TYPE_NONE>;
598 clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
599 clock-names = "core", "iface";
600 #address-cells = <1>;
604 blsp_i2c8: i2c@f9964000 {
606 compatible = "qcom,i2c-qup-v2.1.1";
607 reg = <0xf9964000 0x1000>;
608 interrupts = <0 102 IRQ_TYPE_NONE>;
609 clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
610 clock-names = "core", "iface";
611 #address-cells = <1>;
615 blsp_i2c11: i2c@f9967000 {
617 compatible = "qcom,i2c-qup-v2.1.1";
618 reg = <0xf9967000 0x1000>;
619 interrupts = <0 105 IRQ_TYPE_NONE>;
620 clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP2_AHB_CLK>;
621 clock-names = "core", "iface";
622 #address-cells = <1>;
624 dmas = <&blsp2_dma 20>, <&blsp2_dma 21>;
625 dma-names = "tx", "rx";
628 spmi_bus: spmi@fc4cf000 {
629 compatible = "qcom,spmi-pmic-arb";
630 reg-names = "core", "intr", "cnfg";
631 reg = <0xfc4cf000 0x1000>,
634 interrupt-names = "periph_irq";
635 interrupts = <0 190 0>;
638 #address-cells = <2>;
640 interrupt-controller;
641 #interrupt-cells = <4>;
644 blsp2_dma: dma-controller@f9944000 {
645 compatible = "qcom,bam-v1.4.0";
646 reg = <0xf9944000 0x19000>;
647 interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>;
648 clocks = <&gcc GCC_BLSP2_AHB_CLK>;
649 clock-names = "bam_clk";
656 compatible = "qcom,smd";
659 interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
661 qcom,ipc = <&apcs 8 12>;
666 interrupts = <0 168 1>;
667 qcom,ipc = <&apcs 8 0>;
668 qcom,smd-edge = <15>;
671 compatible = "qcom,rpm-msm8974";
672 qcom,smd-channels = "rpm_requests";
675 compatible = "qcom,rpm-pm8841-regulators";
688 compatible = "qcom,rpm-pm8941-regulators";
720 pm8941_lvs1: lvs1 {};
721 pm8941_lvs2: lvs2 {};
722 pm8941_lvs3: lvs3 {};
724 pm8941_5vs1: 5vs1 {};
725 pm8941_5vs2: 5vs2 {};
731 vreg_vph_pwr: vreg-vph-pwr {
732 compatible = "regulator-fixed";
733 regulator-name = "vph-pwr";
735 regulator-min-microvolt = <3600000>;
736 regulator-max-microvolt = <3600000>;