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>
11 compatible = "qcom,pm6350", "qcom,spmi-pmic";
12 reg = <0x0 SPMI_USID>;
17 compatible = "qcom,pm8998-pon";
19 mode-bootloader = <0x2>;
20 mode-recovery = <0x1>;
22 pm6350_pwrkey: pwrkey {
23 compatible = "qcom,pm8941-pwrkey";
24 interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>;
27 linux,code = <KEY_POWER>;
31 compatible = "qcom,pm8941-resin";
32 interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
39 pm6350_gpios: gpios@c000 {
40 compatible = "qcom,pm6350-gpio", "qcom,spmi-gpio";
43 gpio-ranges = <&pm6350_gpios 0 0 9>;
46 #interrupt-cells = <2>;
51 compatible = "qcom,pm6350", "qcom,spmi-pmic";
52 reg = <0x1 SPMI_USID>;