1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2020, Konrad Dybcio
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/spmi/spmi.h>
13 compatible = "qcom,pm660", "qcom,spmi-pmic";
14 reg = <0x0 SPMI_USID>;
19 compatible = "qcom,pm8941-rtc";
20 reg = <0x6000>, <0x6100>;
21 reg-names = "rtc", "alarm";
22 interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>;
26 compatible = "qcom,pm8916-pon";
31 compatible = "qcom,pm8941-pwrkey";
32 interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
35 linux,code = <KEY_POWER>;
40 pm660_gpios: gpios@c000 {
41 compatible = "qcom,pm660-gpio";
44 gpio-ranges = <&pm660_gpios 0 0 13>;