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>
19 model = "Qualcomm Technologies, Inc. MSM8916";
20 compatible = "qcom,msm8916";
22 interrupt-parent = <&intc>;
28 sdhc1 = &sdhc_1; /* SDC1 eMMC slot */
29 sdhc2 = &sdhc_2; /* SDC2 SD card slot */
35 device_type = "memory";
36 /* We expect the bootloader to fill in the reg */
45 reserve_aligned@86000000 {
46 reg = <0x0 0x86000000 0x0 0x0300000>;
50 smem_mem: smem_region@86300000 {
51 reg = <0x0 0x86300000 0x0 0x0100000>;
62 compatible = "arm,cortex-a53", "arm,armv8";
64 next-level-cache = <&L2_0>;
65 enable-method = "psci";
66 cpu-idle-states = <&CPU_SPC>;
71 compatible = "arm,cortex-a53", "arm,armv8";
73 next-level-cache = <&L2_0>;
74 enable-method = "psci";
75 cpu-idle-states = <&CPU_SPC>;
80 compatible = "arm,cortex-a53", "arm,armv8";
82 next-level-cache = <&L2_0>;
83 enable-method = "psci";
84 cpu-idle-states = <&CPU_SPC>;
89 compatible = "arm,cortex-a53", "arm,armv8";
91 next-level-cache = <&L2_0>;
92 enable-method = "psci";
93 cpu-idle-states = <&CPU_SPC>;
103 compatible = "arm,idle-state";
104 arm,psci-suspend-param = <0x40000002>;
105 entry-latency-us = <130>;
106 exit-latency-us = <150>;
107 min-residency-us = <2000>;
114 compatible = "arm,psci-1.0";
119 compatible = "arm,armv8-timer";
120 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
121 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
122 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
123 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
128 compatible = "fixed-clock";
130 clock-frequency = <19200000>;
133 sleep_clk: sleep_clk {
134 compatible = "fixed-clock";
136 clock-frequency = <32768>;
141 compatible = "qcom,smem";
143 memory-region = <&smem_mem>;
144 qcom,rpm-msg-ram = <&rpm_msg_ram>;
146 hwlocks = <&tcsr_mutex 3>;
150 #address-cells = <1>;
152 ranges = <0 0 0 0xffffffff>;
153 compatible = "simple-bus";
156 compatible = "qcom,pshold";
157 reg = <0x4ab000 0x4>;
160 msmgpio: pinctrl@1000000 {
161 compatible = "qcom,msm8916-pinctrl";
162 reg = <0x1000000 0x300000>;
163 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
166 interrupt-controller;
167 #interrupt-cells = <2>;
170 gcc: clock-controller@1800000 {
171 compatible = "qcom,gcc-msm8916";
174 #power-domain-cells = <1>;
175 reg = <0x1800000 0x80000>;
178 tcsr_mutex_regs: syscon@1905000 {
179 compatible = "syscon";
180 reg = <0x1905000 0x20000>;
184 compatible = "qcom,tcsr-mutex";
185 syscon = <&tcsr_mutex_regs 0 0x1000>;
189 rpm_msg_ram: memory@60000 {
190 compatible = "qcom,rpm-msg-ram";
191 reg = <0x60000 0x8000>;
194 blsp1_uart1: serial@78af000 {
195 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
196 reg = <0x78af000 0x200>;
197 interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
198 clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
199 clock-names = "core", "iface";
200 dmas = <&blsp_dma 1>, <&blsp_dma 0>;
201 dma-names = "rx", "tx";
205 apcs: syscon@b011000 {
206 compatible = "syscon";
207 reg = <0x0b011000 0x1000>;
210 blsp1_uart2: serial@78b0000 {
211 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
212 reg = <0x78b0000 0x200>;
213 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
214 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
215 clock-names = "core", "iface";
216 dmas = <&blsp_dma 3>, <&blsp_dma 2>;
217 dma-names = "rx", "tx";
221 blsp_dma: dma@7884000 {
222 compatible = "qcom,bam-v1.7.0";
223 reg = <0x07884000 0x23000>;
224 interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>;
225 clocks = <&gcc GCC_BLSP1_AHB_CLK>;
226 clock-names = "bam_clk";
232 blsp_spi1: spi@78b5000 {
233 compatible = "qcom,spi-qup-v2.2.1";
234 reg = <0x078b5000 0x600>;
235 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
236 clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>,
237 <&gcc GCC_BLSP1_AHB_CLK>;
238 clock-names = "core", "iface";
239 dmas = <&blsp_dma 5>, <&blsp_dma 4>;
240 dma-names = "rx", "tx";
241 pinctrl-names = "default", "sleep";
242 pinctrl-0 = <&spi1_default>;
243 pinctrl-1 = <&spi1_sleep>;
244 #address-cells = <1>;
249 blsp_spi2: spi@78b6000 {
250 compatible = "qcom,spi-qup-v2.2.1";
251 reg = <0x078b6000 0x600>;
252 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
253 clocks = <&gcc GCC_BLSP1_QUP2_SPI_APPS_CLK>,
254 <&gcc GCC_BLSP1_AHB_CLK>;
255 clock-names = "core", "iface";
256 dmas = <&blsp_dma 7>, <&blsp_dma 6>;
257 dma-names = "rx", "tx";
258 pinctrl-names = "default", "sleep";
259 pinctrl-0 = <&spi2_default>;
260 pinctrl-1 = <&spi2_sleep>;
261 #address-cells = <1>;
266 blsp_spi3: spi@78b7000 {
267 compatible = "qcom,spi-qup-v2.2.1";
268 reg = <0x078b7000 0x600>;
269 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
270 clocks = <&gcc GCC_BLSP1_QUP3_SPI_APPS_CLK>,
271 <&gcc GCC_BLSP1_AHB_CLK>;
272 clock-names = "core", "iface";
273 dmas = <&blsp_dma 9>, <&blsp_dma 8>;
274 dma-names = "rx", "tx";
275 pinctrl-names = "default", "sleep";
276 pinctrl-0 = <&spi3_default>;
277 pinctrl-1 = <&spi3_sleep>;
278 #address-cells = <1>;
283 blsp_spi4: spi@78b8000 {
284 compatible = "qcom,spi-qup-v2.2.1";
285 reg = <0x078b8000 0x600>;
286 interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
287 clocks = <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>,
288 <&gcc GCC_BLSP1_AHB_CLK>;
289 clock-names = "core", "iface";
290 dmas = <&blsp_dma 11>, <&blsp_dma 10>;
291 dma-names = "rx", "tx";
292 pinctrl-names = "default", "sleep";
293 pinctrl-0 = <&spi4_default>;
294 pinctrl-1 = <&spi4_sleep>;
295 #address-cells = <1>;
300 blsp_spi5: spi@78b9000 {
301 compatible = "qcom,spi-qup-v2.2.1";
302 reg = <0x078b9000 0x600>;
303 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
304 clocks = <&gcc GCC_BLSP1_QUP5_SPI_APPS_CLK>,
305 <&gcc GCC_BLSP1_AHB_CLK>;
306 clock-names = "core", "iface";
307 dmas = <&blsp_dma 13>, <&blsp_dma 12>;
308 dma-names = "rx", "tx";
309 pinctrl-names = "default", "sleep";
310 pinctrl-0 = <&spi5_default>;
311 pinctrl-1 = <&spi5_sleep>;
312 #address-cells = <1>;
317 blsp_spi6: spi@78ba000 {
318 compatible = "qcom,spi-qup-v2.2.1";
319 reg = <0x078ba000 0x600>;
320 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
321 clocks = <&gcc GCC_BLSP1_QUP6_SPI_APPS_CLK>,
322 <&gcc GCC_BLSP1_AHB_CLK>;
323 clock-names = "core", "iface";
324 dmas = <&blsp_dma 15>, <&blsp_dma 14>;
325 dma-names = "rx", "tx";
326 pinctrl-names = "default", "sleep";
327 pinctrl-0 = <&spi6_default>;
328 pinctrl-1 = <&spi6_sleep>;
329 #address-cells = <1>;
334 blsp_i2c2: i2c@78b6000 {
335 compatible = "qcom,i2c-qup-v2.2.1";
336 reg = <0x78b6000 0x1000>;
337 interrupts = <GIC_SPI 96 0>;
338 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
339 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
340 clock-names = "iface", "core";
341 pinctrl-names = "default", "sleep";
342 pinctrl-0 = <&i2c2_default>;
343 pinctrl-1 = <&i2c2_sleep>;
344 #address-cells = <1>;
349 blsp_i2c4: i2c@78b8000 {
350 compatible = "qcom,i2c-qup-v2.2.1";
351 reg = <0x78b8000 0x1000>;
352 interrupts = <GIC_SPI 98 0>;
353 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
354 <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>;
355 clock-names = "iface", "core";
356 pinctrl-names = "default", "sleep";
357 pinctrl-0 = <&i2c4_default>;
358 pinctrl-1 = <&i2c4_sleep>;
359 #address-cells = <1>;
364 blsp_i2c6: i2c@78ba000 {
365 compatible = "qcom,i2c-qup-v2.2.1";
366 reg = <0x78ba000 0x1000>;
367 interrupts = <GIC_SPI 100 0>;
368 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
369 <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>;
370 clock-names = "iface", "core";
371 pinctrl-names = "default", "sleep";
372 pinctrl-0 = <&i2c6_default>;
373 pinctrl-1 = <&i2c6_sleep>;
374 #address-cells = <1>;
379 lpass: lpass@07708000 {
381 compatible = "qcom,lpass-cpu-apq8016";
382 clocks = <&gcc GCC_ULTAUDIO_AHBFABRIC_IXFABRIC_CLK>,
383 <&gcc GCC_ULTAUDIO_PCNOC_MPORT_CLK>,
384 <&gcc GCC_ULTAUDIO_PCNOC_SWAY_CLK>,
385 <&gcc GCC_ULTAUDIO_LPAIF_PRI_I2S_CLK>,
386 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
387 <&gcc GCC_ULTAUDIO_LPAIF_SEC_I2S_CLK>,
388 <&gcc GCC_ULTAUDIO_LPAIF_AUX_I2S_CLK>;
390 clock-names = "ahbix-clk",
397 #sound-dai-cells = <1>;
399 interrupts = <0 160 0>;
400 interrupt-names = "lpass-irq-lpaif";
401 reg = <0x07708000 0x10000>;
402 reg-names = "lpass-lpaif";
405 sdhc_1: sdhci@07824000 {
406 compatible = "qcom,sdhci-msm-v4";
407 reg = <0x07824900 0x11c>, <0x07824000 0x800>;
408 reg-names = "hc_mem", "core_mem";
410 interrupts = <0 123 0>, <0 138 0>;
411 interrupt-names = "hc_irq", "pwr_irq";
412 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
413 <&gcc GCC_SDCC1_AHB_CLK>;
414 clock-names = "core", "iface";
420 sdhc_2: sdhci@07864000 {
421 compatible = "qcom,sdhci-msm-v4";
422 reg = <0x07864900 0x11c>, <0x07864000 0x800>;
423 reg-names = "hc_mem", "core_mem";
425 interrupts = <0 125 0>, <0 221 0>;
426 interrupt-names = "hc_irq", "pwr_irq";
427 clocks = <&gcc GCC_SDCC2_APPS_CLK>,
428 <&gcc GCC_SDCC2_AHB_CLK>;
429 clock-names = "core", "iface";
434 usb_dev: usb@78d9000 {
435 compatible = "qcom,ci-hdrc";
436 reg = <0x78d9000 0x400>;
437 dr_mode = "peripheral";
438 interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>;
439 usb-phy = <&usb_otg>;
443 usb_host: ehci@78d9000 {
444 compatible = "qcom,ehci-host";
445 reg = <0x78d9000 0x400>;
446 interrupts = <GIC_SPI 134 IRQ_TYPE_NONE>;
447 usb-phy = <&usb_otg>;
451 usb_otg: phy@78d9000 {
452 compatible = "qcom,usb-otg-snps";
453 reg = <0x78d9000 0x400>;
454 interrupts = <GIC_SPI 134 IRQ_TYPE_EDGE_BOTH>,
455 <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>;
457 qcom,vdd-levels = <500000 1000000 1320000>;
458 qcom,phy-init-sequence = <0x44 0x6B 0x24 0x13>;
459 dr_mode = "peripheral";
460 qcom,otg-control = <2>; // PMIC
463 clocks = <&gcc GCC_USB_HS_AHB_CLK>,
464 <&gcc GCC_USB_HS_SYSTEM_CLK>,
465 <&gcc GCC_USB2A_PHY_SLEEP_CLK>;
466 clock-names = "iface", "core", "sleep";
468 resets = <&gcc GCC_USB2A_PHY_BCR>,
469 <&gcc GCC_USB_HS_BCR>;
470 reset-names = "phy", "link";
474 intc: interrupt-controller@b000000 {
475 compatible = "qcom,msm-qgic2";
476 interrupt-controller;
477 #interrupt-cells = <3>;
478 reg = <0x0b000000 0x1000>, <0x0b002000 0x1000>;
482 #address-cells = <1>;
485 compatible = "arm,armv7-timer-mem";
486 reg = <0xb020000 0x1000>;
487 clock-frequency = <19200000>;
491 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
492 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
493 reg = <0xb021000 0x1000>,
499 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
500 reg = <0xb023000 0x1000>;
506 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
507 reg = <0xb024000 0x1000>;
513 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
514 reg = <0xb025000 0x1000>;
520 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
521 reg = <0xb026000 0x1000>;
527 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
528 reg = <0xb027000 0x1000>;
534 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
535 reg = <0xb028000 0x1000>;
540 spmi_bus: spmi@200f000 {
541 compatible = "qcom,spmi-pmic-arb";
542 reg = <0x200f000 0x001000>,
543 <0x2400000 0x400000>,
544 <0x2c00000 0x400000>,
545 <0x3800000 0x200000>,
546 <0x200a000 0x002100>;
547 reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
548 interrupt-names = "periph_irq";
549 interrupts = <GIC_SPI 190 IRQ_TYPE_NONE>;
552 #address-cells = <2>;
554 interrupt-controller;
555 #interrupt-cells = <4>;
559 compatible = "qcom,prng";
560 reg = <0x00022000 0x200>;
561 clocks = <&gcc GCC_PRNG_AHB_CLK>;
562 clock-names = "core";
567 compatible = "qcom,smd";
570 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
571 qcom,ipc = <&apcs 8 0>;
572 qcom,smd-edge = <15>;
575 compatible = "qcom,rpm-msm8916";
576 qcom,smd-channels = "rpm_requests";
579 compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
583 smd_rpm_regulators: pm8916-regulators {
584 compatible = "qcom,rpm-pm8916-regulators";
614 #include "msm8916-pins.dtsi"