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