da9062.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. * Dialog DA9062 Power Management Integrated Circuit (PMIC)
  2. DA9062 consists of a large and varied group of sub-devices:
  3. Device Supply Names Description
  4. ------ ------------ -----------
  5. da9062-regulator : : LDOs & BUCKs
  6. da9062-rtc : : Real-Time Clock
  7. da9062-watchdog : : Watchdog Timer
  8. ======
  9. Required properties:
  10. - compatible : Should be "dlg,da9062".
  11. - reg : Specifies the I2C slave address (this defaults to 0x58 but it can be
  12. modified to match the chip's OTP settings).
  13. - interrupt-parent : Specifies the reference to the interrupt controller for
  14. the DA9062.
  15. - interrupts : IRQ line information.
  16. - interrupt-controller
  17. See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for
  18. further information on IRQ bindings.
  19. Sub-nodes:
  20. - regulators : This node defines the settings for the LDOs and BUCKs. The
  21. DA9062 regulators are bound using their names listed below:
  22. buck1 : BUCK_1
  23. buck2 : BUCK_2
  24. buck3 : BUCK_3
  25. buck4 : BUCK_4
  26. ldo1 : LDO_1
  27. ldo2 : LDO_2
  28. ldo3 : LDO_3
  29. ldo4 : LDO_4
  30. The component follows the standard regulator framework and the bindings
  31. details of individual regulator device can be found in:
  32. Documentation/devicetree/bindings/regulator/regulator.txt
  33. - rtc : This node defines settings required for the Real-Time Clock associated
  34. with the DA9062. There are currently no entries in this binding, however
  35. compatible = "dlg,da9062-rtc" should be added if a node is created.
  36. - watchdog: This node defines the settings for the watchdog driver associated
  37. with the DA9062 PMIC. The compatible = "dlg,da9062-watchdog" should be added
  38. if a node is created.
  39. Example:
  40. pmic0: da9062@58 {
  41. compatible = "dlg,da9062";
  42. reg = <0x58>;
  43. interrupt-parent = <&gpio6>;
  44. interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
  45. interrupt-controller;
  46. rtc {
  47. compatible = "dlg,da9062-rtc";
  48. };
  49. watchdog {
  50. compatible = "dlg,da9062-watchdog";
  51. };
  52. regulators {
  53. DA9062_BUCK1: buck1 {
  54. regulator-name = "BUCK1";
  55. regulator-min-microvolt = <300000>;
  56. regulator-max-microvolt = <1570000>;
  57. regulator-min-microamp = <500000>;
  58. regulator-max-microamp = <2000000>;
  59. regulator-boot-on;
  60. };
  61. DA9062_LDO1: ldo1 {
  62. regulator-name = "LDO_1";
  63. regulator-min-microvolt = <900000>;
  64. regulator-max-microvolt = <3600000>;
  65. regulator-boot-on;
  66. };
  67. };
  68. };