1 // SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
5 * Copyright (c) 2020, Linaro Limited
8 #include <dt-bindings/iio/qcom,spmi-vadc.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/spmi/spmi.h>
14 compatible = "qcom,pmx55", "qcom,spmi-pmic";
15 reg = <0x8 SPMI_USID>;
20 compatible = "qcom,pm8916-pon";
26 pmx55_temp: temp-alarm@2400 {
27 compatible = "qcom,spmi-temp-alarm";
29 interrupts = <0x8 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
30 io-channels = <&pmx55_adc ADC5_DIE_TEMP>;
31 io-channel-names = "thermal";
32 #thermal-sensor-cells = <0>;
36 compatible = "qcom,spmi-adc5";
40 #io-channel-cells = <1>;
41 interrupts = <0x8 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>;
62 reg = <ADC5_CHG_TEMP>;
63 qcom,pre-scaling = <1 1>;
68 pmx55_gpios: gpio@c000 {
69 compatible = "qcom,pmx55-gpio", "qcom,spmi-gpio";
74 #interrupt-cells = <2>;
79 compatible = "qcom,pmx55", "qcom,spmi-pmic";
80 reg = <0x9 SPMI_USID>;