1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/clock/qcom,gcc-msm8994.h>
9 interrupt-parent = <&intc>;
22 compatible = "arm,cortex-a53";
24 next-level-cache = <&L2_0>;
25 enable-method = "psci";
34 compatible = "arm,cortex-a53";
36 next-level-cache = <&L2_0>;
37 enable-method = "psci";
42 compatible = "arm,cortex-a53";
44 next-level-cache = <&L2_0>;
45 enable-method = "psci";
50 compatible = "arm,cortex-a53";
52 next-level-cache = <&L2_0>;
53 enable-method = "psci";
58 compatible = "arm,cortex-a57";
60 next-level-cache = <&L2_1>;
61 enable-method = "psci";
70 compatible = "arm,cortex-a57";
72 next-level-cache = <&L2_1>;
73 enable-method = "psci";
109 compatible = "fixed-clock";
111 clock-frequency = <19200000>;
114 sleep_clk: sleep_clk {
115 compatible = "fixed-clock";
117 clock-frequency = <32768>;
123 compatible = "qcom,scm-msm8994", "qcom,scm";
128 device_type = "memory";
129 /* We expect the bootloader to fill in the reg */
134 compatible = "arm,cortex-a53-pmu";
135 interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4)| IRQ_TYPE_LEVEL_HIGH)>;
139 compatible = "arm,psci-0.2";
144 #address-cells = <2>;
148 smem_region: smem@6a00000 {
149 reg = <0x0 0x6a00000 0x0 0x200000>;
154 sfpb_mutex: hwmutex {
155 compatible = "qcom,sfpb-mutex";
156 syscon = <&sfpb_mutex_regs 0x0 0x100>;
161 compatible = "qcom,smem";
162 memory-region = <&smem_region>;
163 qcom,rpm-msg-ram = <&rpm_msg_ram>;
164 hwlocks = <&sfpb_mutex 3>;
168 #address-cells = <1>;
170 ranges = <0 0 0 0xffffffff>;
171 compatible = "simple-bus";
173 intc: interrupt-controller@f9000000 {
174 compatible = "qcom,msm-qgic2";
175 interrupt-controller;
176 #interrupt-cells = <3>;
177 reg = <0xf9000000 0x1000>,
181 apcs: mailbox@f900d000 {
182 compatible = "qcom,msm8994-apcs-kpss-global", "syscon";
183 reg = <0xf900d000 0x2000>;
188 #address-cells = <1>;
191 compatible = "arm,armv7-timer-mem";
192 reg = <0xf9020000 0x1000>;
196 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
197 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
198 reg = <0xf9021000 0x1000>,
204 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
205 reg = <0xf9023000 0x1000>;
211 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
212 reg = <0xf9024000 0x1000>;
218 interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
219 reg = <0xf9025000 0x1000>;
225 interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
226 reg = <0xf9026000 0x1000>;
232 interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
233 reg = <0xf9027000 0x1000>;
239 interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
240 reg = <0xf9028000 0x1000>;
246 compatible = "qcom,msm8996-dwc3", "qcom,dwc3";
247 reg = <0xf92f8800 0x400>;
248 #address-cells = <1>;
252 clocks = <&gcc GCC_USB30_MASTER_CLK>,
253 <&gcc GCC_SYS_NOC_USB3_AXI_CLK>,
254 <&gcc GCC_USB30_SLEEP_CLK>,
255 <&gcc GCC_USB30_MOCK_UTMI_CLK>;
256 clock-names = "core", "iface", "sleep", "mock_utmi", "ref", "xo";
258 assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>,
259 <&gcc GCC_USB30_MASTER_CLK>;
260 assigned-clock-rates = <19200000>, <120000000>;
262 power-domains = <&gcc USB30_GDSC>;
263 qcom,select-utmi-as-pipe-clk;
266 compatible = "snps,dwc3";
267 reg = <0xf9200000 0xcc00>;
268 interrupts = <0 131 IRQ_TYPE_LEVEL_HIGH>;
269 snps,dis_u2_susphy_quirk;
270 snps,dis_enblslpm_quirk;
271 maximum-speed = "high-speed";
272 dr_mode = "peripheral";
276 sdhc_1: sdhci@f9824900 {
277 compatible = "qcom,sdhci-msm-v4";
278 reg = <0xf9824900 0x1a0>, <0xf9824000 0x800>;
279 reg-names = "hc_mem", "core_mem";
281 interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
282 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
283 interrupt-names = "hc_irq", "pwr_irq";
285 clocks = <&gcc GCC_SDCC1_APPS_CLK>,
286 <&gcc GCC_SDCC1_AHB_CLK>,
288 clock-names = "core", "iface", "xo";
290 pinctrl-names = "default", "sleep";
291 pinctrl-0 = <&sdc1_clk_on &sdc1_cmd_on &sdc1_data_on
293 pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off
303 sdhc_2: sdhci@f98a4900 {
304 compatible = "qcom,sdhci-msm-v4";
305 reg = <0xf98a4900 0x11c>, <0xf98a4000 0x800>;
306 reg-names = "hc_mem", "core_mem";
308 interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
309 <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
310 interrupt-names = "hc_irq", "pwr_irq";
312 clocks = <&gcc GCC_SDCC2_APPS_CLK>,
313 <&gcc GCC_SDCC2_AHB_CLK>,
315 clock-names = "core", "iface", "xo";
317 pinctrl-names = "default", "sleep";
318 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
319 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
321 cd-gpios = <&tlmm 100 0>;
326 blsp1_uart2: serial@f991e000 {
327 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
328 reg = <0xf991e000 0x1000>;
329 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_LOW>;
330 clock-names = "core", "iface";
331 clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>,
332 <&gcc GCC_BLSP1_AHB_CLK>;
333 pinctrl-names = "default", "sleep";
334 pinctrl-0 = <&blsp1_uart2_default>;
335 pinctrl-1 = <&blsp1_uart2_sleep>;
339 blsp_i2c1: i2c@f9923000 {
340 compatible = "qcom,i2c-qup-v2.2.1";
341 reg = <0xf9923000 0x500>;
342 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
343 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
344 <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>;
345 clock-names = "iface", "core";
346 clock-frequency = <400000>;
347 pinctrl-names = "default", "sleep";
348 pinctrl-0 = <&i2c1_default>;
349 pinctrl-1 = <&i2c1_sleep>;
350 #address-cells = <1>;
355 blsp_i2c2: i2c@f9924000 {
356 compatible = "qcom,i2c-qup-v2.2.1";
357 reg = <0xf9924000 0x500>;
358 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
359 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
360 <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>;
361 clock-names = "iface", "core";
362 clock-frequency = <400000>;
363 pinctrl-names = "default", "sleep";
364 pinctrl-0 = <&i2c2_default>;
365 pinctrl-1 = <&i2c2_sleep>;
366 #address-cells = <1>;
371 /* Somebody was very creative with their numbering scheme downstream... */
373 blsp_i2c13: i2c@f9927000 {
374 compatible = "qcom,i2c-qup-v2.2.1";
375 reg = <0xf9927000 0x500>;
376 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>;
377 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
378 <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>;
379 clock-names = "iface", "core";
380 clock-frequency = <400000>;
381 pinctrl-names = "default", "sleep";
382 pinctrl-0 = <&i2c13_default>;
383 pinctrl-1 = <&i2c13_sleep>;
384 #address-cells = <1>;
389 blsp_i2c6: i2c@f9928000 {
390 compatible = "qcom,i2c-qup-v2.2.1";
391 reg = <0xf9928000 0x500>;
392 interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
393 clocks = <&gcc GCC_BLSP1_AHB_CLK>,
394 <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>;
395 clock-names = "iface", "core";
396 clock-frequency = <400000>;
397 pinctrl-names = "default", "sleep";
398 pinctrl-0 = <&i2c6_default>;
399 pinctrl-1 = <&i2c6_sleep>;
400 #address-cells = <1>;
405 blsp2_uart2: serial@f995e000 {
406 compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
407 reg = <0xf995e000 0x1000>;
408 interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_LOW>;
409 clock-names = "core", "iface";
410 clocks = <&gcc GCC_BLSP2_UART2_APPS_CLK>,
411 <&gcc GCC_BLSP2_AHB_CLK>;
412 pinctrl-names = "default", "sleep";
413 pinctrl-0 = <&blsp2_uart2_default>;
414 pinctrl-1 = <&blsp2_uart2_sleep>;
418 blsp_i2c7: i2c@f9963000 {
419 compatible = "qcom,i2c-qup-v2.2.1";
420 reg = <0xf9963000 0x500>;
421 interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
422 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
423 <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>;
424 clock-names = "iface", "core";
425 clock-frequency = <400000>;
426 pinctrl-names = "default", "sleep";
427 pinctrl-0 = <&i2c7_default>;
428 pinctrl-1 = <&i2c7_sleep>;
429 #address-cells = <1>;
434 blsp_i2c5: i2c@f9967000 {
435 compatible = "qcom,i2c-qup-v2.2.1";
436 reg = <0xf9967000 0x500>;
437 interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
438 clocks = <&gcc GCC_BLSP2_AHB_CLK>,
439 <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>;
440 clock-names = "iface", "core";
441 clock-frequency = <100000>;
442 pinctrl-names = "default", "sleep";
443 pinctrl-0 = <&i2c5_default>;
444 pinctrl-1 = <&i2c5_sleep>;
445 #address-cells = <1>;
450 gcc: clock-controller@fc400000 {
451 compatible = "qcom,gcc-msm8994";
454 #power-domain-cells = <1>;
455 reg = <0xfc400000 0x2000>;
458 rpm_msg_ram: memory@fc428000 {
459 compatible = "qcom,rpm-msg-ram";
460 reg = <0xfc428000 0x4000>;
464 compatible = "qcom,pshold";
465 reg = <0xfc4ab000 0x4>;
468 spmi_bus: spmi@fc4c0000 {
469 compatible = "qcom,spmi-pmic-arb";
470 reg = <0xfc4cf000 0x1000>,
473 reg-names = "core", "intr", "cnfg";
474 interrupt-names = "periph_irq";
475 interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
478 #address-cells = <2>;
480 interrupt-controller;
481 #interrupt-cells = <4>;
484 sfpb_mutex_regs: syscon@fd484000 {
485 #address-cells = <1>;
487 compatible = "syscon";
488 reg = <0xfd484000 0x400>;
491 tlmm: pinctrl@fd510000 {
492 compatible = "qcom,msm8994-pinctrl";
493 reg = <0xfd510000 0x4000>;
494 interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
496 gpio-ranges = <&tlmm 0 0 146>;
498 interrupt-controller;
499 #interrupt-cells = <2>;
501 blsp1_uart2_default: blsp1-uart2-default {
502 function = "blsp_uart2";
503 pins = "gpio4", "gpio5";
504 drive-strength = <16>;
508 blsp1_uart2_sleep: blsp1-uart2-sleep {
510 pins = "gpio4", "gpio5";
511 drive-strength = <2>;
515 blsp2_uart2_default: blsp2-uart2-default {
516 function = "blsp_uart8";
517 pins = "gpio45", "gpio46", "gpio47", "gpio48";
518 drive-strength = <16>;
522 blsp2_uart2_sleep: blsp2-uart2-sleep {
524 pins = "gpio45", "gpio46", "gpio47", "gpio48";
525 drive-strength = <2>;
529 sdc1_clk_on: clk-on {
532 drive-strength = <6>;
535 sdc1_clk_off: clk-off {
538 drive-strength = <2>;
541 sdc1_cmd_on: cmd-on {
544 drive-strength = <6>;
547 sdc1_cmd_off: cmd-off {
550 drive-strength = <2>;
553 sdc1_data_on: data-on {
556 drive-strength = <6>;
559 sdc1_data_off: data-off {
562 drive-strength = <2>;
565 sdc1_rclk_on: rclk-on {
570 sdc1_rclk_off: rclk-off {
575 i2c1_default: i2c1-default {
576 function = "blsp_i2c1";
577 pins = "gpio2", "gpio3";
578 drive-strength = <2>;
582 i2c1_sleep: i2c1-sleep {
584 pins = "gpio2", "gpio3";
585 drive-strength = <2>;
589 i2c2_default: i2c2-default {
590 function = "blsp_i2c2";
591 pins = "gpio6", "gpio7";
592 drive-strength = <2>;
596 i2c2_sleep: i2c2-sleep {
598 pins = "gpio6", "gpio7";
599 drive-strength = <2>;
603 i2c5_default: i2c5-default {
604 /* Don't be fooled! Nobody knows the reason why though... */
605 function = "blsp_i2c11";
606 pins = "gpio83", "gpio84";
607 drive-strength = <2>;
611 i2c5_sleep: i2c5-sleep {
613 pins = "gpio83", "gpio84";
614 drive-strength = <2>;
618 i2c6_default: i2c6-default {
619 function = "blsp_i2c6";
620 pins = "gpio28", "gpio27";
621 drive-strength = <2>;
625 i2c6_sleep: i2c6-sleep {
627 pins = "gpio28", "gpio27";
628 drive-strength = <2>;
632 i2c7_default: i2c7-default {
633 function = "blsp_i2c7";
634 pins = "gpio43", "gpio44";
635 drive-strength = <2>;
639 i2c7_sleep: i2c7-sleep {
641 pins = "gpio43", "gpio44";
642 drive-strength = <2>;
646 i2c13_default: i2c13-default {
647 /* Not a typo either. */
648 function = "blsp_i2c5";
649 pins = "gpio23", "gpio24";
650 drive-strength = <2>;
654 i2c13_sleep: i2c13-sleep {
656 pins = "gpio23", "gpio24";
657 drive-strength = <2>;
661 sdc2_clk_on: sdc2-clk-on {
664 drive-strength = <16>;
667 sdc2_clk_off: sdc2-clk-off {
670 drive-strength = <2>;
673 sdc2_cmd_on: sdc2-cmd-on {
676 drive-strength = <10>;
679 sdc2_cmd_off: sdc2-cmd-off {
682 drive-strength = <2>;
685 sdc2_data_on: sdc2-data-on {
688 drive-strength = <10>;
691 sdc2_data_off: sdc2-data-off {
694 drive-strength = <2>;
700 compatible = "qcom,smd";
702 interrupts = <GIC_SPI 168 IRQ_TYPE_EDGE_RISING>;
703 qcom,ipc = <&apcs 8 0>;
704 qcom,smd-edge = <15>;
705 qcom,local-pid = <0>;
706 qcom,remote-pid = <6>;
708 rpm_requests: rpm-requests {
709 compatible = "qcom,rpm-msm8994";
710 qcom,smd-channels = "rpm_requests";
713 compatible = "qcom,rpmcc-msm8992";
721 compatible = "arm,armv8-timer";
722 interrupts = <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
723 <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
724 <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
725 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
728 vreg_vph_pwr: vreg-vph-pwr {
729 compatible = "regulator-fixed";
731 regulator-name = "vph-pwr";
733 regulator-min-microvolt = <3600000>;
734 regulator-max-microvolt = <3600000>;