651491bb63b728814ea4923c7a5b371a3e4a5ef1
[muen/linux.git] / Documentation / devicetree / bindings / power / reset / qcom,pon.txt
1 Qualcomm PON Device
2
3 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
4 and resin along with the Android reboot-mode.
5
6 This DT node has pwrkey and resin as sub nodes.
7
8 Required Properties:
9 -compatible: "qcom,pm8916-pon"
10 -reg: Specifies the physical address of the pon register
11
12 Optional subnode:
13 -pwrkey: Specifies the subnode pwrkey and should follow the
14  qcom,pm8941-pwrkey.txt description.
15 -resin: Specifies the subnode resin and should follow the
16  qcom,pm8xxx-pwrkey.txt description.
17
18 The rest of the properties should follow the generic reboot-mode description
19 found in reboot-mode.txt
20
21 Example:
22
23         pon@800 {
24                 compatible = "qcom,pm8916-pon";
25
26                 reg = <0x800>;
27                 mode-bootloader = <0x2>;
28                 mode-recovery = <0x1>;
29
30                 pwrkey {
31                         compatible = "qcom,pm8941-pwrkey";
32                         interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
33                         debounce = <15625>;
34                         bias-pull-up;
35                         linux,code = <KEY_POWER>;
36                 };
37
38                 resin {
39                         compatible = "qcom,pm8941-resin";
40                         interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
41                         debounce = <15625>;
42                         bias-pull-up;
43                         linux,code = <KEY_VOLUMEDOWN>;
44                 };
45         };