1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/iio/qcom,spmi-vadc.h>
3 #include <dt-bindings/interrupt-controller/irq.h>
4 #include <dt-bindings/spmi/spmi.h>
9 compatible = "qcom,pma8084", "qcom,spmi-pmic";
10 reg = <0x0 SPMI_USID>;
15 compatible = "qcom,pm8941-rtc";
18 reg-names = "rtc", "alarm";
19 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
23 compatible = "qcom,pm8941-pwrkey";
25 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
30 pma8084_gpios: gpios@c000 {
31 compatible = "qcom,pma8084-gpio", "qcom,spmi-gpio";
34 gpio-ranges = <&pma8084_gpios 0 0 22>;
37 #interrupt-cells = <2>;
40 pma8084_mpps: mpps@a000 {
41 compatible = "qcom,pma8084-mpp", "qcom,spmi-mpp";
45 gpio-ranges = <&pma8084_mpps 0 0 8>;
47 #interrupt-cells = <2>;
50 pma8084_temp: temp-alarm@2400 {
51 compatible = "qcom,spmi-temp-alarm";
53 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
54 #thermal-sensor-cells = <0>;
55 io-channels = <&pma8084_vadc VADC_DIE_TEMP>;
56 io-channel-names = "thermal";
59 pma8084_vadc: adc@3100 {
60 compatible = "qcom,spmi-vadc";
62 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
65 #io-channel-cells = <1>;
68 reg = <VADC_DIE_TEMP>;
71 reg = <VADC_REF_625MV>;
74 reg = <VADC_REF_1250MV>;
83 reg = <VADC_VDD_VADC>;
88 pma8084_1: pma8084@1 {
89 compatible = "qcom,pma8084", "qcom,spmi-pmic";
90 reg = <0x1 SPMI_USID>;