ti,lp87561-q1.yaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mfd/ti,lp87561-q1.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI LP87561-Q1 single 4-phase output buck converter
  7. maintainers:
  8. - Keerthy <j-keerthy@ti.com>
  9. properties:
  10. compatible:
  11. const: ti,lp87561-q1
  12. reg:
  13. description: I2C slave address
  14. const: 0x60
  15. reset-gpios:
  16. description: GPIO connected to NRST pin (active low reset, pin 20)
  17. maxItems: 1
  18. gpio-controller: true
  19. '#gpio-cells':
  20. description:
  21. The first cell is the pin number.
  22. The second cell is is used to specify flags.
  23. See ../gpio/gpio.txt for more information.
  24. const: 2
  25. buck3210-in-supply:
  26. description:
  27. Voltage regulator supply for all the four BUCK converters.
  28. regulators:
  29. type: object
  30. properties:
  31. buck3210:
  32. type: object
  33. $ref: /schemas/regulator/regulator.yaml#
  34. unevaluatedProperties: false
  35. required:
  36. - buck3210
  37. additionalProperties: false
  38. required:
  39. - compatible
  40. - reg
  41. - gpio-controller
  42. - '#gpio-cells'
  43. - buck3210-in-supply
  44. additionalProperties: false
  45. examples:
  46. - |
  47. i2c@0 {
  48. reg = <0x0 0x100>;
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. pmic@60 {
  52. compatible = "ti,lp87561-q1";
  53. reg = <0x60>;
  54. gpio-controller;
  55. #gpio-cells = <2>;
  56. buck3210-in-supply = <&vsys_3v3>;
  57. regulators {
  58. buck3210_reg: buck3210 {
  59. /* VDD_CORE */
  60. regulator-name = "buck3210";
  61. regulator-min-microvolt = <800000>;
  62. regulator-max-microvolt = <800000>;
  63. regulator-always-on;
  64. regulator-boot-on;
  65. };
  66. };
  67. };
  68. };
  69. ...