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.
28 Specifies the SPMI base address for the PON (power-on) peripheral. For
29 PMICs that have the PON peripheral (GEN3) split into PON_HLOS and PON_PBS
30 (e.g. PMK8350), this can hold addresses of both PON_HLOS and PON_PBS
31 peripherals. In that case, the PON_PBS address needs to be specified to
32 facilitate software debouncing on some PMIC.
42 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
46 $ref: /schemas/input/qcom,pm8941-pwrkey.yaml#
50 $ref: /schemas/watchdog/qcom,pm8916-wdt.yaml
56 unevaluatedProperties: false
69 - $ref: reboot-mode.yaml#
81 const: qcom,pmk8350-pon
95 #include <dt-bindings/interrupt-controller/irq.h>
96 #include <dt-bindings/input/linux-event-codes.h>
97 #include <dt-bindings/spmi/spmi.h>
98 spmi_bus: spmi@c440000 {
99 reg = <0x0c440000 0x1100>;
100 #address-cells = <2>;
103 reg = <0x0 SPMI_USID>;
104 #address-cells = <1>;
106 pmk8350_pon: pon_hlos@1300 {
108 compatible = "qcom,pm8998-pon";
111 compatible = "qcom,pm8941-pwrkey";
112 interrupts = < 0x0 0x8 0 IRQ_TYPE_EDGE_BOTH >;
115 linux,code = <KEY_POWER>;
119 compatible = "qcom,pm8941-resin";
120 interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
123 linux,code = <KEY_VOLUMEDOWN>;