3 #include "skeleton.dtsi"
4 #include <dt-bindings/clock/qcom,gcc-msm8960.h>
5 #include <dt-bindings/reset/qcom,gcc-msm8960.h>
6 #include <dt-bindings/clock/qcom,mmcc-msm8960.h>
7 #include <dt-bindings/soc/qcom,gsbi.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 model = "Qualcomm APQ8064";
11 compatible = "qcom,apq8064";
12 interrupt-parent = <&intc>;
19 smem_region: smem@80000000 {
20 reg = <0x80000000 0x200000>;
30 compatible = "qcom,krait";
31 enable-method = "qcom,kpss-acc-v1";
34 next-level-cache = <&L2>;
37 cpu-idle-states = <&CPU_SPC>;
41 compatible = "qcom,krait";
42 enable-method = "qcom,kpss-acc-v1";
45 next-level-cache = <&L2>;
48 cpu-idle-states = <&CPU_SPC>;
52 compatible = "qcom,krait";
53 enable-method = "qcom,kpss-acc-v1";
56 next-level-cache = <&L2>;
59 cpu-idle-states = <&CPU_SPC>;
63 compatible = "qcom,krait";
64 enable-method = "qcom,kpss-acc-v1";
67 next-level-cache = <&L2>;
70 cpu-idle-states = <&CPU_SPC>;
80 compatible = "qcom,idle-state-spc",
82 entry-latency-us = <400>;
83 exit-latency-us = <900>;
84 min-residency-us = <3000>;
90 compatible = "qcom,krait-pmu";
91 interrupts = <1 10 0x304>;
96 compatible = "fixed-clock";
98 clock-frequency = <19200000>;
102 compatible = "fixed-clock";
104 clock-frequency = <27000000>;
108 compatible = "fixed-clock";
110 clock-frequency = <32768>;
114 sfpb_mutex: hwmutex {
115 compatible = "qcom,sfpb-mutex";
116 syscon = <&sfpb_wrapper_mutex 0x604 0x4>;
121 compatible = "qcom,smem";
122 memory-region = <&smem_region>;
124 hwlocks = <&sfpb_mutex 3>;
128 #address-cells = <1>;
131 compatible = "simple-bus";
133 tlmm_pinmux: pinctrl@800000 {
134 compatible = "qcom,apq8064-pinctrl";
135 reg = <0x800000 0x4000>;
139 interrupt-controller;
140 #interrupt-cells = <2>;
141 interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&ps_hold>;
146 sdc4_gpios: sdc4-gpios {
148 pins = "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68";
156 function = "ps_hold";
162 pins = "gpio20", "gpio21";
169 pins = "gpio8", "gpio9";
174 gsbi6_uart_2pins: gsbi6_uart_2pins {
176 pins = "gpio14", "gpio15";
181 gsbi6_uart_4pins: gsbi6_uart_4pins {
183 pins = "gpio14", "gpio15", "gpio16", "gpio17";
188 gsbi7_uart_2pins: gsbi7_uart_2pins {
190 pins = "gpio82", "gpio83";
195 gsbi7_uart_4pins: gsbi7_uart_4pins {
197 pins = "gpio82", "gpio83", "gpio84", "gpio85";
203 sfpb_wrapper_mutex: syscon@1200000 {
204 compatible = "syscon";
205 reg = <0x01200000 0x8000>;
208 intc: interrupt-controller@2000000 {
209 compatible = "qcom,msm-qgic2";
210 interrupt-controller;
211 #interrupt-cells = <3>;
212 reg = <0x02000000 0x1000>,
217 compatible = "qcom,kpss-timer", "qcom,msm-timer";
218 interrupts = <1 1 0x301>,
221 reg = <0x0200a000 0x100>;
222 clock-frequency = <27000000>,
224 cpu-offset = <0x80000>;
227 acc0: clock-controller@2088000 {
228 compatible = "qcom,kpss-acc-v1";
229 reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
232 acc1: clock-controller@2098000 {
233 compatible = "qcom,kpss-acc-v1";
234 reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
237 acc2: clock-controller@20a8000 {
238 compatible = "qcom,kpss-acc-v1";
239 reg = <0x020a8000 0x1000>, <0x02008000 0x1000>;
242 acc3: clock-controller@20b8000 {
243 compatible = "qcom,kpss-acc-v1";
244 reg = <0x020b8000 0x1000>, <0x02008000 0x1000>;
247 saw0: power-controller@2089000 {
248 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
249 reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
253 saw1: power-controller@2099000 {
254 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
255 reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
259 saw2: power-controller@20a9000 {
260 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
261 reg = <0x020a9000 0x1000>, <0x02009000 0x1000>;
265 saw3: power-controller@20b9000 {
266 compatible = "qcom,apq8064-saw2-v1.1-cpu", "qcom,saw2";
267 reg = <0x020b9000 0x1000>, <0x02009000 0x1000>;
271 gsbi1: gsbi@12440000 {
273 compatible = "qcom,gsbi-v1.0.0";
275 reg = <0x12440000 0x100>;
276 clocks = <&gcc GSBI1_H_CLK>;
277 clock-names = "iface";
278 #address-cells = <1>;
282 syscon-tcsr = <&tcsr>;
285 compatible = "qcom,i2c-qup-v1.1.1";
286 pinctrl-0 = <&i2c1_pins>;
287 pinctrl-names = "default";
288 reg = <0x12460000 0x1000>;
289 interrupts = <0 194 IRQ_TYPE_NONE>;
290 clocks = <&gcc GSBI1_QUP_CLK>, <&gcc GSBI1_H_CLK>;
291 clock-names = "core", "iface";
292 #address-cells = <1>;
297 gsbi2: gsbi@12480000 {
299 compatible = "qcom,gsbi-v1.0.0";
301 reg = <0x12480000 0x100>;
302 clocks = <&gcc GSBI2_H_CLK>;
303 clock-names = "iface";
304 #address-cells = <1>;
308 syscon-tcsr = <&tcsr>;
311 compatible = "qcom,i2c-qup-v1.1.1";
312 reg = <0x124a0000 0x1000>;
313 interrupts = <0 196 IRQ_TYPE_NONE>;
314 clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
315 clock-names = "core", "iface";
316 #address-cells = <1>;
321 gsbi3: gsbi@16200000 {
323 compatible = "qcom,gsbi-v1.0.0";
325 reg = <0x16200000 0x100>;
326 clocks = <&gcc GSBI3_H_CLK>;
327 clock-names = "iface";
328 #address-cells = <1>;
332 compatible = "qcom,i2c-qup-v1.1.1";
333 pinctrl-0 = <&i2c3_pins>;
334 pinctrl-names = "default";
335 reg = <0x16280000 0x1000>;
336 interrupts = <GIC_SPI 151 IRQ_TYPE_NONE>;
337 clocks = <&gcc GSBI3_QUP_CLK>,
339 clock-names = "core", "iface";
343 gsbi5: gsbi@1a200000 {
345 compatible = "qcom,gsbi-v1.0.0";
347 reg = <0x1a200000 0x03>;
348 clocks = <&gcc GSBI5_H_CLK>;
349 clock-names = "iface";
350 #address-cells = <1>;
354 gsbi5_serial: serial@1a240000 {
355 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
356 reg = <0x1a240000 0x100>,
358 interrupts = <0 154 0x0>;
359 clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
360 clock-names = "core", "iface";
365 gsbi6: gsbi@16500000 {
367 compatible = "qcom,gsbi-v1.0.0";
369 reg = <0x16500000 0x03>;
370 clocks = <&gcc GSBI6_H_CLK>;
371 clock-names = "iface";
372 #address-cells = <1>;
376 gsbi6_serial: serial@16540000 {
377 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
378 reg = <0x16540000 0x100>,
380 interrupts = <0 156 0x0>;
381 clocks = <&gcc GSBI6_UART_CLK>, <&gcc GSBI6_H_CLK>;
382 clock-names = "core", "iface";
387 gsbi7: gsbi@16600000 {
389 compatible = "qcom,gsbi-v1.0.0";
391 reg = <0x16600000 0x100>;
392 clocks = <&gcc GSBI7_H_CLK>;
393 clock-names = "iface";
394 #address-cells = <1>;
397 syscon-tcsr = <&tcsr>;
399 gsbi7_serial: serial@16640000 {
400 compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
401 reg = <0x16640000 0x1000>,
403 interrupts = <0 158 0x0>;
404 clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
405 clock-names = "core", "iface";
411 compatible = "qcom,prng";
412 reg = <0x1a500000 0x200>;
413 clocks = <&gcc PRNG_CLK>;
414 clock-names = "core";
418 compatible = "qcom,ssbi";
419 reg = <0x00500000 0x1000>;
420 qcom,controller-type = "pmic-arbiter";
423 compatible = "qcom,pm8921";
424 interrupt-parent = <&tlmm_pinmux>;
426 #interrupt-cells = <2>;
427 interrupt-controller;
428 #address-cells = <1>;
431 pm8921_gpio: gpio@150 {
433 compatible = "qcom,pm8921-gpio",
436 interrupts = <192 1>, <193 1>, <194 1>,
437 <195 1>, <196 1>, <197 1>,
438 <198 1>, <199 1>, <200 1>,
439 <201 1>, <202 1>, <203 1>,
440 <204 1>, <205 1>, <206 1>,
441 <207 1>, <208 1>, <209 1>,
442 <210 1>, <211 1>, <212 1>,
443 <213 1>, <214 1>, <215 1>,
444 <216 1>, <217 1>, <218 1>,
445 <219 1>, <220 1>, <221 1>,
446 <222 1>, <223 1>, <224 1>,
447 <225 1>, <226 1>, <227 1>,
448 <228 1>, <229 1>, <230 1>,
449 <231 1>, <232 1>, <233 1>,
457 pm8921_mpps: mpps@50 {
458 compatible = "qcom,pm8921-mpp",
464 <128 1>, <129 1>, <130 1>, <131 1>,
465 <132 1>, <133 1>, <134 1>, <135 1>,
466 <136 1>, <137 1>, <138 1>, <139 1>;
470 compatible = "qcom,pm8921-rtc";
471 interrupt-parent = <&pmicintc>;
478 compatible = "qcom,pm8921-pwrkey";
480 interrupt-parent = <&pmicintc>;
481 interrupts = <50 1>, <51 1>;
488 gcc: clock-controller@900000 {
489 compatible = "qcom,gcc-apq8064";
490 reg = <0x00900000 0x4000>;
495 lcc: clock-controller@28000000 {
496 compatible = "qcom,lcc-apq8064";
497 reg = <0x28000000 0x1000>;
502 mmcc: clock-controller@4000000 {
503 compatible = "qcom,mmcc-apq8064";
504 reg = <0x4000000 0x1000>;
509 l2cc: clock-controller@2011000 {
510 compatible = "syscon";
511 reg = <0x2011000 0x1000>;
515 compatible = "qcom,rpm-apq8064";
516 reg = <0x108000 0x1000>;
517 qcom,ipc = <&l2cc 0x8 2>;
519 interrupts = <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
520 <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
521 <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
522 interrupt-names = "ack", "err", "wakeup";
525 compatible = "qcom,rpm-pm8921-regulators";
561 pm8921_lvs1: lvs1 {};
562 pm8921_lvs2: lvs2 {};
563 pm8921_lvs3: lvs3 {};
564 pm8921_lvs4: lvs4 {};
565 pm8921_lvs5: lvs5 {};
566 pm8921_lvs6: lvs6 {};
567 pm8921_lvs7: lvs7 {};
569 pm8921_usb_switch: usb-switch {};
571 pm8921_hdmi_switch: hdmi-switch {
579 usb1_phy: phy@12500000 {
580 compatible = "qcom,usb-otg-ci";
581 reg = <0x12500000 0x400>;
582 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
586 clocks = <&gcc USB_HS1_XCVR_CLK>,
587 <&gcc USB_HS1_H_CLK>;
588 clock-names = "core", "iface";
590 resets = <&gcc USB_HS1_RESET>;
591 reset-names = "link";
594 usb3_phy: phy@12520000 {
595 compatible = "qcom,usb-otg-ci";
596 reg = <0x12520000 0x400>;
597 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
601 clocks = <&gcc USB_HS3_XCVR_CLK>,
602 <&gcc USB_HS3_H_CLK>;
603 clock-names = "core", "iface";
605 resets = <&gcc USB_HS3_RESET>;
606 reset-names = "link";
609 usb4_phy: phy@12530000 {
610 compatible = "qcom,usb-otg-ci";
611 reg = <0x12530000 0x400>;
612 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
616 clocks = <&gcc USB_HS4_XCVR_CLK>,
617 <&gcc USB_HS4_H_CLK>;
618 clock-names = "core", "iface";
620 resets = <&gcc USB_HS4_RESET>;
621 reset-names = "link";
624 gadget1: gadget@12500000 {
625 compatible = "qcom,ci-hdrc";
626 reg = <0x12500000 0x400>;
628 dr_mode = "peripheral";
629 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
630 usb-phy = <&usb1_phy>;
634 compatible = "qcom,ehci-host";
635 reg = <0x12500000 0x400>;
636 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
638 usb-phy = <&usb1_phy>;
642 compatible = "qcom,ehci-host";
643 reg = <0x12520000 0x400>;
644 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
646 usb-phy = <&usb3_phy>;
650 compatible = "qcom,ehci-host";
651 reg = <0x12530000 0x400>;
652 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
654 usb-phy = <&usb4_phy>;
657 sata_phy0: phy@1b400000 {
658 compatible = "qcom,apq8064-sata-phy";
660 reg = <0x1b400000 0x200>;
661 reg-names = "phy_mem";
662 clocks = <&gcc SATA_PHY_CFG_CLK>;
667 sata0: sata@29000000 {
668 compatible = "generic-ahci";
670 reg = <0x29000000 0x180>;
671 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
673 clocks = <&gcc SFAB_SATA_S_H_CLK>,
676 <&gcc SATA_RXOOB_CLK>,
677 <&gcc SATA_PMALIVE_CLK>;
678 clock-names = "slave_iface",
684 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
685 <&gcc SATA_PMALIVE_CLK>;
686 assigned-clock-rates = <100000000>, <100000000>;
689 phy-names = "sata-phy";
692 /* Temporary fixed regulator */
693 sdcc1bam:dma@12402000{
694 compatible = "qcom,bam-v1.3.0";
695 reg = <0x12402000 0x8000>;
696 interrupts = <0 98 0>;
697 clocks = <&gcc SDC1_H_CLK>;
698 clock-names = "bam_clk";
703 sdcc3bam:dma@12182000{
704 compatible = "qcom,bam-v1.3.0";
705 reg = <0x12182000 0x8000>;
706 interrupts = <0 96 0>;
707 clocks = <&gcc SDC3_H_CLK>;
708 clock-names = "bam_clk";
713 sdcc4bam:dma@121c2000{
714 compatible = "qcom,bam-v1.3.0";
715 reg = <0x121c2000 0x8000>;
716 interrupts = <0 95 0>;
717 clocks = <&gcc SDC4_H_CLK>;
718 clock-names = "bam_clk";
724 compatible = "arm,amba-bus";
725 #address-cells = <1>;
728 sdcc1: sdcc@12400000 {
730 compatible = "arm,pl18x", "arm,primecell";
731 arm,primecell-periphid = <0x00051180>;
732 reg = <0x12400000 0x2000>;
733 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
734 interrupt-names = "cmd_irq";
735 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
736 clock-names = "mclk", "apb_pclk";
738 max-frequency = <96000000>;
742 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
743 dma-names = "tx", "rx";
746 sdcc3: sdcc@12180000 {
747 compatible = "arm,pl18x", "arm,primecell";
748 arm,primecell-periphid = <0x00051180>;
750 reg = <0x12180000 0x2000>;
751 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
752 interrupt-names = "cmd_irq";
753 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
754 clock-names = "mclk", "apb_pclk";
758 max-frequency = <192000000>;
760 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
761 dma-names = "tx", "rx";
764 sdcc4: sdcc@121c0000 {
765 compatible = "arm,pl18x", "arm,primecell";
766 arm,primecell-periphid = <0x00051180>;
768 reg = <0x121c0000 0x2000>;
769 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
770 interrupt-names = "cmd_irq";
771 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
772 clock-names = "mclk", "apb_pclk";
776 max-frequency = <48000000>;
777 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
778 dma-names = "tx", "rx";
779 pinctrl-names = "default";
780 pinctrl-0 = <&sdc4_gpios>;
784 tcsr: syscon@1a400000 {
785 compatible = "qcom,tcsr-apq8064", "syscon";
786 reg = <0x1a400000 0x100>;
790 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
791 reg = <0x1b500000 0x1000
794 0x0ff00000 0x100000>;
795 reg-names = "dbi", "elbi", "parf", "config";
797 linux,pci-domain = <0>;
798 bus-range = <0x00 0xff>;
800 #address-cells = <3>;
802 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
803 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
804 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
805 interrupt-names = "msi";
806 #interrupt-cells = <1>;
807 interrupt-map-mask = <0 0 0 0x7>;
808 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
809 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
810 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
811 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
812 clocks = <&gcc PCIE_A_CLK>,
814 <&gcc PCIE_PHY_REF_CLK>;
815 clock-names = "core", "iface", "phy";
816 resets = <&gcc PCIE_ACLK_RESET>,
817 <&gcc PCIE_HCLK_RESET>,
818 <&gcc PCIE_POR_RESET>,
819 <&gcc PCIE_PCI_RESET>,
820 <&gcc PCIE_PHY_RESET>;
821 reset-names = "axi", "ahb", "por", "pci", "phy";