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";
524 rpmcc: clock-controller {
525 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
530 compatible = "qcom,rpm-pm8921-regulators";
566 pm8921_lvs1: lvs1 {};
567 pm8921_lvs2: lvs2 {};
568 pm8921_lvs3: lvs3 {};
569 pm8921_lvs4: lvs4 {};
570 pm8921_lvs5: lvs5 {};
571 pm8921_lvs6: lvs6 {};
572 pm8921_lvs7: lvs7 {};
574 pm8921_usb_switch: usb-switch {};
576 pm8921_hdmi_switch: hdmi-switch {
584 usb1_phy: phy@12500000 {
585 compatible = "qcom,usb-otg-ci";
586 reg = <0x12500000 0x400>;
587 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
591 clocks = <&gcc USB_HS1_XCVR_CLK>,
592 <&gcc USB_HS1_H_CLK>;
593 clock-names = "core", "iface";
595 resets = <&gcc USB_HS1_RESET>;
596 reset-names = "link";
599 usb3_phy: phy@12520000 {
600 compatible = "qcom,usb-otg-ci";
601 reg = <0x12520000 0x400>;
602 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
606 clocks = <&gcc USB_HS3_XCVR_CLK>,
607 <&gcc USB_HS3_H_CLK>;
608 clock-names = "core", "iface";
610 resets = <&gcc USB_HS3_RESET>;
611 reset-names = "link";
614 usb4_phy: phy@12530000 {
615 compatible = "qcom,usb-otg-ci";
616 reg = <0x12530000 0x400>;
617 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
621 clocks = <&gcc USB_HS4_XCVR_CLK>,
622 <&gcc USB_HS4_H_CLK>;
623 clock-names = "core", "iface";
625 resets = <&gcc USB_HS4_RESET>;
626 reset-names = "link";
629 gadget1: gadget@12500000 {
630 compatible = "qcom,ci-hdrc";
631 reg = <0x12500000 0x400>;
633 dr_mode = "peripheral";
634 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
635 usb-phy = <&usb1_phy>;
639 compatible = "qcom,ehci-host";
640 reg = <0x12500000 0x400>;
641 interrupts = <GIC_SPI 100 IRQ_TYPE_NONE>;
643 usb-phy = <&usb1_phy>;
647 compatible = "qcom,ehci-host";
648 reg = <0x12520000 0x400>;
649 interrupts = <GIC_SPI 188 IRQ_TYPE_NONE>;
651 usb-phy = <&usb3_phy>;
655 compatible = "qcom,ehci-host";
656 reg = <0x12530000 0x400>;
657 interrupts = <GIC_SPI 215 IRQ_TYPE_NONE>;
659 usb-phy = <&usb4_phy>;
662 sata_phy0: phy@1b400000 {
663 compatible = "qcom,apq8064-sata-phy";
665 reg = <0x1b400000 0x200>;
666 reg-names = "phy_mem";
667 clocks = <&gcc SATA_PHY_CFG_CLK>;
672 sata0: sata@29000000 {
673 compatible = "generic-ahci";
675 reg = <0x29000000 0x180>;
676 interrupts = <GIC_SPI 209 IRQ_TYPE_NONE>;
678 clocks = <&gcc SFAB_SATA_S_H_CLK>,
681 <&gcc SATA_RXOOB_CLK>,
682 <&gcc SATA_PMALIVE_CLK>;
683 clock-names = "slave_iface",
689 assigned-clocks = <&gcc SATA_RXOOB_CLK>,
690 <&gcc SATA_PMALIVE_CLK>;
691 assigned-clock-rates = <100000000>, <100000000>;
694 phy-names = "sata-phy";
697 /* Temporary fixed regulator */
698 sdcc1bam:dma@12402000{
699 compatible = "qcom,bam-v1.3.0";
700 reg = <0x12402000 0x8000>;
701 interrupts = <0 98 0>;
702 clocks = <&gcc SDC1_H_CLK>;
703 clock-names = "bam_clk";
708 sdcc3bam:dma@12182000{
709 compatible = "qcom,bam-v1.3.0";
710 reg = <0x12182000 0x8000>;
711 interrupts = <0 96 0>;
712 clocks = <&gcc SDC3_H_CLK>;
713 clock-names = "bam_clk";
718 sdcc4bam:dma@121c2000{
719 compatible = "qcom,bam-v1.3.0";
720 reg = <0x121c2000 0x8000>;
721 interrupts = <0 95 0>;
722 clocks = <&gcc SDC4_H_CLK>;
723 clock-names = "bam_clk";
729 compatible = "arm,amba-bus";
730 #address-cells = <1>;
733 sdcc1: sdcc@12400000 {
735 compatible = "arm,pl18x", "arm,primecell";
736 arm,primecell-periphid = <0x00051180>;
737 reg = <0x12400000 0x2000>;
738 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
739 interrupt-names = "cmd_irq";
740 clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
741 clock-names = "mclk", "apb_pclk";
743 max-frequency = <96000000>;
747 dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
748 dma-names = "tx", "rx";
751 sdcc3: sdcc@12180000 {
752 compatible = "arm,pl18x", "arm,primecell";
753 arm,primecell-periphid = <0x00051180>;
755 reg = <0x12180000 0x2000>;
756 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
757 interrupt-names = "cmd_irq";
758 clocks = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
759 clock-names = "mclk", "apb_pclk";
763 max-frequency = <192000000>;
765 dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
766 dma-names = "tx", "rx";
769 sdcc4: sdcc@121c0000 {
770 compatible = "arm,pl18x", "arm,primecell";
771 arm,primecell-periphid = <0x00051180>;
773 reg = <0x121c0000 0x2000>;
774 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
775 interrupt-names = "cmd_irq";
776 clocks = <&gcc SDC4_CLK>, <&gcc SDC4_H_CLK>;
777 clock-names = "mclk", "apb_pclk";
781 max-frequency = <48000000>;
782 dmas = <&sdcc4bam 2>, <&sdcc4bam 1>;
783 dma-names = "tx", "rx";
784 pinctrl-names = "default";
785 pinctrl-0 = <&sdc4_gpios>;
789 tcsr: syscon@1a400000 {
790 compatible = "qcom,tcsr-apq8064", "syscon";
791 reg = <0x1a400000 0x100>;
795 compatible = "qcom,pcie-apq8064", "snps,dw-pcie";
796 reg = <0x1b500000 0x1000
799 0x0ff00000 0x100000>;
800 reg-names = "dbi", "elbi", "parf", "config";
802 linux,pci-domain = <0>;
803 bus-range = <0x00 0xff>;
805 #address-cells = <3>;
807 ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */
808 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */
809 interrupts = <GIC_SPI 238 IRQ_TYPE_NONE>;
810 interrupt-names = "msi";
811 #interrupt-cells = <1>;
812 interrupt-map-mask = <0 0 0 0x7>;
813 interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
814 <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
815 <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
816 <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
817 clocks = <&gcc PCIE_A_CLK>,
819 <&gcc PCIE_PHY_REF_CLK>;
820 clock-names = "core", "iface", "phy";
821 resets = <&gcc PCIE_ACLK_RESET>,
822 <&gcc PCIE_HCLK_RESET>,
823 <&gcc PCIE_POR_RESET>,
824 <&gcc PCIE_PCI_RESET>,
825 <&gcc PCIE_PHY_RESET>;
826 reset-names = "axi", "ahb", "por", "pci", "phy";