1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2018, Linaro Limited
4 #include <dt-bindings/spmi/spmi.h>
5 #include <dt-bindings/input/linux-event-codes.h>
9 compatible = "qcom,spmi-pmic";
10 reg = <0x0 SPMI_USID>;
14 pms405_gpios: gpio@c000 {
15 compatible = "qcom,pms405-gpio";
19 interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
20 <0 0xc1 0 IRQ_TYPE_NONE>,
21 <0 0xc2 0 IRQ_TYPE_NONE>,
22 <0 0xc3 0 IRQ_TYPE_NONE>,
23 <0 0xc4 0 IRQ_TYPE_NONE>,
24 <0 0xc5 0 IRQ_TYPE_NONE>,
25 <0 0xc6 0 IRQ_TYPE_NONE>,
26 <0 0xc7 0 IRQ_TYPE_NONE>,
27 <0 0xc8 0 IRQ_TYPE_NONE>,
28 <0 0xc9 0 IRQ_TYPE_NONE>,
29 <0 0xca 0 IRQ_TYPE_NONE>,
30 <0 0xcb 0 IRQ_TYPE_NONE>;
34 compatible = "qcom,pms405-pon";
36 mode-bootloader = <0x2>;
37 mode-recovery = <0x1>;
40 compatible = "qcom,pm8941-pwrkey";
41 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
44 linux,code = <KEY_POWER>;
49 compatible = "qcom,pm8941-rtc";
51 reg-names = "rtc", "alarm";
52 interrupts = <0x0 0x61 0x1 IRQ_TYPE_NONE>;