.. | .. |
---|
1 | 1 | // SPDX-License-Identifier: GPL-2.0 |
---|
2 | 2 | #include <dt-bindings/interrupt-controller/irq.h> |
---|
3 | 3 | #include <dt-bindings/spmi/spmi.h> |
---|
| 4 | +#include <dt-bindings/input/linux-event-codes.h> |
---|
4 | 5 | |
---|
5 | 6 | &spmi_bus { |
---|
6 | 7 | |
---|
.. | .. |
---|
15 | 16 | reg = <0x6000>, <0x6100>; |
---|
16 | 17 | reg-names = "rtc", "alarm"; |
---|
17 | 18 | interrupts = <0x0 0x61 0x1 IRQ_TYPE_EDGE_RISING>; |
---|
| 19 | + }; |
---|
| 20 | + |
---|
| 21 | + pon@800 { |
---|
| 22 | + compatible = "qcom,pm8916-pon"; |
---|
| 23 | + |
---|
| 24 | + reg = <0x800>; |
---|
| 25 | + mode-bootloader = <0x2>; |
---|
| 26 | + mode-recovery = <0x1>; |
---|
| 27 | + |
---|
| 28 | + pwrkey { |
---|
| 29 | + compatible = "qcom,pm8941-pwrkey"; |
---|
| 30 | + interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>; |
---|
| 31 | + debounce = <15625>; |
---|
| 32 | + bias-pull-up; |
---|
| 33 | + linux,code = <KEY_POWER>; |
---|
| 34 | + }; |
---|
| 35 | + |
---|
18 | 36 | }; |
---|
19 | 37 | |
---|
20 | 38 | pm8994_gpios: gpios@c000 { |
---|
.. | .. |
---|
67 | 85 | reg = <0x1 SPMI_USID>; |
---|
68 | 86 | #address-cells = <1>; |
---|
69 | 87 | #size-cells = <0>; |
---|
| 88 | + |
---|
| 89 | + pm8994_spmi_regulators: regulators { |
---|
| 90 | + compatible = "qcom,pm8994-regulators"; |
---|
| 91 | + }; |
---|
70 | 92 | }; |
---|
71 | 93 | }; |
---|