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/iio/qcom,spmi-vadc.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
13 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
14 reg = <0x2 SPMI_USID>;
19 compatible = "qcom,pm8916-pon";
26 compatible = "qcom,spmi-adc5";
30 #io-channel-cells = <1>;
31 interrupts = <0x2 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
37 qcom,pre-scaling = <1 1>;
42 reg = <ADC5_1P25VREF>;
43 qcom,pre-scaling = <1 1>;
48 reg = <ADC5_DIE_TEMP>;
49 qcom,pre-scaling = <1 1>;
54 reg = <ADC5_CHG_TEMP>;
55 qcom,pre-scaling = <1 1>;
60 pm8150b_gpios: gpio@c000 {
61 compatible = "qcom,pm8150b-gpio";
65 interrupts = <0x2 0xc0 0x0 IRQ_TYPE_NONE>,
66 <0x2 0xc1 0x0 IRQ_TYPE_NONE>,
67 <0x2 0xc2 0x0 IRQ_TYPE_NONE>,
68 <0x2 0xc3 0x0 IRQ_TYPE_NONE>,
69 <0x2 0xc4 0x0 IRQ_TYPE_NONE>,
70 <0x2 0xc5 0x0 IRQ_TYPE_NONE>,
71 <0x2 0xc6 0x0 IRQ_TYPE_NONE>,
72 <0x2 0xc7 0x0 IRQ_TYPE_NONE>,
73 <0x2 0xc8 0x0 IRQ_TYPE_NONE>,
74 <0x2 0xc9 0x0 IRQ_TYPE_NONE>,
75 <0x2 0xca 0x0 IRQ_TYPE_NONE>,
76 <0x2 0xcb 0x0 IRQ_TYPE_NONE>;
81 compatible = "qcom,pm8150b", "qcom,spmi-pmic";
82 reg = <0x3 SPMI_USID>;