1 // SPDX-License-Identifier: BSD-3-Clause
2 #include <dt-bindings/interrupt-controller/irq.h>
3 #include <dt-bindings/spmi/spmi.h>
4 #include <dt-bindings/iio/qcom,spmi-vadc.h>
8 compatible = "qcom,pm8226", "qcom,spmi-pmic";
14 compatible = "qcom,pm8941-pwrkey";
16 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
22 compatible = "qcom,pm8226-charger";
24 interrupts = <0x0 0x10 7 IRQ_TYPE_EDGE_BOTH>,
25 <0x0 0x10 5 IRQ_TYPE_EDGE_BOTH>,
26 <0x0 0x10 4 IRQ_TYPE_EDGE_BOTH>,
27 <0x0 0x12 1 IRQ_TYPE_EDGE_BOTH>,
28 <0x0 0x12 0 IRQ_TYPE_EDGE_BOTH>,
29 <0x0 0x13 2 IRQ_TYPE_EDGE_BOTH>,
30 <0x0 0x13 1 IRQ_TYPE_EDGE_BOTH>,
31 <0x0 0x14 1 IRQ_TYPE_EDGE_BOTH>;
32 interrupt-names = "chg-done",
41 chg_otg: otg-vbus { };
45 compatible = "qcom,pm8941-rtc";
46 reg = <0x6000>, <0x6100>;
47 reg-names = "rtc", "alarm";
48 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
51 pm8226_vadc: adc@3100 {
52 compatible = "qcom,spmi-vadc";
54 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
57 #io-channel-cells = <1>;
61 qcom,pre-scaling = <1 3>;
65 reg = <VADC_DIE_TEMP>;
69 reg = <VADC_REF_625MV>;
73 reg = <VADC_REF_1250MV>;
80 reg = <VADC_VDD_VADC>;
84 pm8226_mpps: mpps@a000 {
85 compatible = "qcom,pm8226-mpp", "qcom,spmi-mpp";
89 gpio-ranges = <&pm8226_mpps 0 0 8>;
91 #interrupt-cells = <2>;
96 compatible = "qcom,pm8226", "qcom,spmi-pmic";
97 reg = <0x1 SPMI_USID>;
101 pm8226_spmi_regulators: pm8226-regulators {
102 compatible = "qcom,pm8226-regulators";
105 pm8226_vib: vibrator@c000 {
106 compatible = "qcom,pm8916-vib";