qcom,pon.txt 1.1 KB

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