1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2021, Luca Weiss <luca@z3ntu.xyz>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/spmi/spmi.h>
12 polling-delay-passive = <100>;
15 thermal-sensors = <&pm6350_temp>;
19 temperature = <95000>;
25 temperature = <115000>;
31 temperature = <125000>;
42 compatible = "qcom,pm6350", "qcom,spmi-pmic";
43 reg = <0x0 SPMI_USID>;
48 compatible = "qcom,pm8998-pon";
50 mode-bootloader = <0x2>;
51 mode-recovery = <0x1>;
53 pm6350_pwrkey: pwrkey {
54 compatible = "qcom,pm8941-pwrkey";
55 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
58 linux,code = <KEY_POWER>;
62 compatible = "qcom,pm8941-resin";
63 interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
70 pm6350_temp: temp-alarm@2400 {
71 compatible = "qcom,spmi-temp-alarm";
73 interrupts = <0x0 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;
74 #thermal-sensor-cells = <0>;
77 pm6350_gpios: gpio@c000 {
78 compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio";
81 gpio-ranges = <&pm6350_gpios 0 0 9>;
84 #interrupt-cells = <2>;
89 compatible = "qcom,pm6350", "qcom,spmi-pmic";
90 reg = <0x1 SPMI_USID>;