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