1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause
3 #include <dt-bindings/spmi/spmi.h>
4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 compatible = "qcom,pmp8074", "qcom,spmi-pmic";
13 pmp8074_adc: adc@3100 {
14 compatible = "qcom,spmi-adc-rev2";
16 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
19 #io-channel-cells = <1>;
23 qcom,pre-scaling = <1 1>;
28 reg = <ADC5_1P25VREF>;
29 qcom,pre-scaling = <1 1>;
34 reg = <ADC5_VREF_VADC>;
35 qcom,pre-scaling = <1 1>;
40 reg = <ADC5_DIE_TEMP>;
41 qcom,pre-scaling = <1 1>;
46 reg = <ADC5_XO_THERM_100K_PU>;
48 qcom,hw-settle-time = <200>;
49 qcom,pre-scaling = <1 1>;
54 reg = <ADC5_AMUX_THM1_100K_PU>;
56 qcom,hw-settle-time = <200>;
57 qcom,pre-scaling = <1 1>;
62 reg = <ADC5_AMUX_THM2_100K_PU>;
64 qcom,hw-settle-time = <200>;
65 qcom,pre-scaling = <1 1>;
70 reg = <ADC5_AMUX_THM3_100K_PU>;
72 qcom,hw-settle-time = <200>;
73 qcom,pre-scaling = <1 1>;
79 qcom,pre-scaling = <1 3>;
84 pmp8074_rtc: rtc@6000 {
85 compatible = "qcom,pm8941-rtc";
86 reg = <0x6000>, <0x6100>;
87 reg-names = "rtc", "alarm";
88 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
93 pmp8074_gpios: gpio@c000 {
94 compatible = "qcom,pmp8074-gpio", "qcom,spmi-gpio";
98 gpio-ranges = <&pmp8074_gpios 0 0 12>;
100 #interrupt-cells = <2>;
105 compatible = "qcom,pmp8074", "qcom,spmi-pmic";
106 reg = <0x1 SPMI_USID>;
109 compatible = "qcom,pmp8074-regulators";
112 regulator-name = "vdd_s3";
113 regulator-min-microvolt = <592000>;
114 regulator-max-microvolt = <1064000>;
120 regulator-name = "vdd_s4";
121 regulator-min-microvolt = <712000>;
122 regulator-max-microvolt = <992000>;
128 regulator-name = "l11";
129 regulator-min-microvolt = <1800000>;
130 regulator-max-microvolt = <3300000>;