1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/power/reset/qcom,pon.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PON Device
10 - Vinod Koul <vkoul@kernel.org>
13 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
14 and resin along with the Android reboot-mode.
16 This DT node has pwrkey and resin as sub nodes.
19 - $ref: reboot-mode.yaml#
33 $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
37 $ref: "../../input/qcom,pm8941-pwrkey.yaml#"
43 unevaluatedProperties: false
47 #include <dt-bindings/interrupt-controller/irq.h>
48 #include <dt-bindings/input/linux-event-codes.h>
49 #include <dt-bindings/spmi/spmi.h>
50 spmi_bus: spmi@c440000 {
51 reg = <0x0c440000 0x1100>;
55 reg = <0x0 SPMI_USID>;
58 pmk8350_pon: pon_hlos@1300 {
60 compatible = "qcom,pm8998-pon";
63 compatible = "qcom,pm8941-pwrkey";
64 interrupts = < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >;
67 linux,code = <KEY_POWER>;
71 compatible = "qcom,pm8941-resin";
72 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
75 linux,code = <KEY_VOLUMEDOWN>;