bd9571mwv.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. * ROHM BD9571MWV Power Management Integrated Circuit (PMIC) bindings
  2. Required properties:
  3. - compatible : Should be "rohm,bd9571mwv".
  4. - reg : I2C slave address.
  5. - interrupts : The interrupt line the device is connected to.
  6. - interrupt-controller : Marks the device node as an interrupt controller.
  7. - #interrupt-cells : The number of cells to describe an IRQ, should be 2.
  8. The first cell is the IRQ number.
  9. The second cell is the flags, encoded as trigger
  10. masks from ../interrupt-controller/interrupts.txt.
  11. - gpio-controller : Marks the device node as a GPIO Controller.
  12. - #gpio-cells : Should be two. The first cell is the pin number and
  13. the second cell is used to specify flags.
  14. See ../gpio/gpio.txt for more information.
  15. - regulators: : List of child nodes that specify the regulator
  16. initialization data. Child nodes must be named
  17. after their hardware counterparts:
  18. - vd09
  19. - vd18
  20. - vd25
  21. - vd33
  22. - dvfs
  23. Each child node is defined using the standard
  24. binding for regulators.
  25. Optional properties:
  26. - rohm,ddr-backup-power : Value to use for DDR-Backup Power (default 0).
  27. This is a bitmask that specifies which DDR power
  28. rails need to be kept powered when backup mode is
  29. entered, for system suspend:
  30. - bit 0: DDR0
  31. - bit 1: DDR1
  32. - bit 2: DDR0C
  33. - bit 3: DDR1C
  34. These bits match the KEEPON_DDR* bits in the
  35. documentation for the "BKUP Mode Cnt" register.
  36. - rohm,rstbmode-level: The RSTB signal is configured for level mode, to
  37. accommodate a toggle power switch (the RSTBMODE pin is
  38. strapped low).
  39. - rohm,rstbmode-pulse: The RSTB signal is configured for pulse mode, to
  40. accommodate a momentary power switch (the RSTBMODE pin
  41. is strapped high).
  42. The two properties above are mutually exclusive.
  43. Example:
  44. pmic: pmic@30 {
  45. compatible = "rohm,bd9571mwv";
  46. reg = <0x30>;
  47. interrupt-parent = <&gpio2>;
  48. interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
  49. interrupt-controller;
  50. #interrupt-cells = <2>;
  51. gpio-controller;
  52. #gpio-cells = <2>;
  53. rohm,ddr-backup-power = <0xf>;
  54. rohm,rstbmode-pulse;
  55. regulators {
  56. dvfs: dvfs {
  57. regulator-name = "dvfs";
  58. regulator-min-microvolt = <750000>;
  59. regulator-max-microvolt = <1030000>;
  60. regulator-boot-on;
  61. regulator-always-on;
  62. };
  63. };
  64. };