1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2019, Linaro Limited
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/spmi/spmi.h>
10 #include <dt-bindings/iio/qcom,spmi-vadc.h>
14 compatible = "qcom,pm8150", "qcom,spmi-pmic";
15 reg = <0x0 SPMI_USID>;
20 compatible = "qcom,pm8998-pon";
23 compatible = "qcom,pm8941-pwrkey";
24 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
27 linux,code = <KEY_POWER>;
33 pm8150_adc: adc@3100 {
34 compatible = "qcom,spmi-adc5";
38 #io-channel-cells = <1>;
39 interrupts = <0x0 0x31 0x0 IRQ_TYPE_EDGE_RISING>;
45 qcom,pre-scaling = <1 1>;
50 reg = <ADC5_1P25VREF>;
51 qcom,pre-scaling = <1 1>;
56 reg = <ADC5_DIE_TEMP>;
57 qcom,pre-scaling = <1 1>;
63 compatible = "qcom,pm8941-rtc";
65 reg-names = "rtc", "alarm";
66 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;
71 pm8150_gpios: gpio@c000 {
72 compatible = "qcom,pm8150-gpio";
77 #interrupt-cells = <2>;
82 compatible = "qcom,pm8150", "qcom,spmi-pmic";
83 reg = <0x1 SPMI_USID>;