1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2019, Linaro Limited
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
14 compatible = "qcom,pm8150", "qcom,spmi-pmic";
15 reg = <0x0 SPMI_USID>;
20 compatible = "qcom,pm8916-pon";
23 compatible = "qcom,pm8941-pwrkey";
24 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
27 linux,code = <KEY_POWER>;
33 pm8150_adc: adc@3100 {
34 compatible = "qcom,spmi-adc5";
38 #io-channel-cells = <1>;
39 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
45 qcom,pre-scaling = <1 1>;
50 reg = <ADC5_1P25VREF>;
51 qcom,pre-scaling = <1 1>;
56 reg = <ADC5_DIE_TEMP>;
57 qcom,pre-scaling = <1 1>;
63 compatible = "qcom,pm8941-rtc";
65 reg-names = "rtc", "alarm";
66 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
71 pm8150_gpios: gpio@c000 {
72 compatible = "qcom,pm8150-gpio";
76 interrupts = <0x0 0xc0 0x0 IRQ_TYPE_NONE>,
77 <0x0 0xc1 0x0 IRQ_TYPE_NONE>,
78 <0x0 0xc2 0x0 IRQ_TYPE_NONE>,
79 <0x0 0xc3 0x0 IRQ_TYPE_NONE>,
80 <0x0 0xc4 0x0 IRQ_TYPE_NONE>,
81 <0x0 0xc5 0x0 IRQ_TYPE_NONE>,
82 <0x0 0xc6 0x0 IRQ_TYPE_NONE>,
83 <0x0 0xc7 0x0 IRQ_TYPE_NONE>,
84 <0x0 0xc8 0x0 IRQ_TYPE_NONE>,
85 <0x0 0xc9 0x0 IRQ_TYPE_NONE>,
86 <0x0 0xca 0x0 IRQ_TYPE_NONE>,
87 <0x0 0xcb 0x0 IRQ_TYPE_NONE>;
92 compatible = "qcom,pm8150", "qcom,spmi-pmic";
93 reg = <0x1 SPMI_USID>;