1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (c) 2023, Linaro Ltd
6 #include <dt-bindings/iio/qcom,spmi-vadc.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
13 compatible = "qcom,pm2250", "qcom,spmi-pmic";
14 reg = <0x0 SPMI_USID>;
19 compatible = "qcom,pm8916-pon";
22 pm2250_pwrkey: pwrkey {
23 compatible = "qcom,pm8941-pwrkey";
24 interrupts-extended = <&spmi_bus 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
25 linux,code = <KEY_POWER>;
31 compatible = "qcom,pm8941-resin";
32 interrupts-extended = <&spmi_bus 0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
40 compatible = "qcom,pm8941-rtc";
41 reg = <0x6000>, <0x6100>;
42 reg-names = "rtc", "alarm";
43 interrupts-extended = <&spmi_bus 0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
46 pm2250_gpios: gpio@c000 {
47 compatible = "qcom,pm2250-gpio", "qcom,spmi-gpio";
50 gpio-ranges = <&pm2250_gpios 0 0 10>;
53 #interrupt-cells = <2>;
58 compatible = "qcom,pm2250", "qcom,spmi-pmic";
59 reg = <0x1 SPMI_USID>;