1 #include <dt-bindings/iio/qcom,spmi-vadc.h>
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
8 compatible = "qcom,spmi-pmic";
14 compatible = "qcom,pm8941-rtc";
15 reg = <0x6000 0x6100>;
16 reg-names = "rtc", "alarm";
17 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
21 compatible = "qcom,pm8941-pwrkey";
23 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
28 pm8916_gpios: gpios@c000 {
29 compatible = "qcom,pm8916-gpio";
33 interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
34 <0 0xc1 0 IRQ_TYPE_NONE>,
35 <0 0xc2 0 IRQ_TYPE_NONE>,
36 <0 0xc3 0 IRQ_TYPE_NONE>;
39 pm8916_mpps: mpps@a000 {
40 compatible = "qcom,pm8916-mpp";
44 interrupts = <0 0xa0 0 IRQ_TYPE_NONE>,
45 <0 0xa1 0 IRQ_TYPE_NONE>,
46 <0 0xa2 0 IRQ_TYPE_NONE>,
47 <0 0xa3 0 IRQ_TYPE_NONE>;
50 pm8916_temp: temp-alarm@2400 {
51 compatible = "qcom,spmi-temp-alarm";
53 interrupts = <0 0x24 0 IRQ_TYPE_EDGE_RISING>;
54 io-channels = <&pm8916_vadc VADC_DIE_TEMP>;
55 io-channel-names = "thermal";
56 #thermal-sensor-cells = <0>;
59 pm8916_vadc: vadc@3100 {
60 compatible = "qcom,spmi-vadc";
62 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
65 #io-channel-cells = <1>;
69 qcom,pre-scaling = <1 10>;
73 qcom,pre-scaling = <1 3>;
76 reg = <VADC_DIE_TEMP>;
79 reg = <VADC_REF_625MV>;
82 reg = <VADC_REF_1250MV>;
88 reg = <VADC_VDD_VADC>;
94 compatible = "qcom,spmi-pmic";
95 reg = <0x1 SPMI_USID>;