ti,lp87524-q1.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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,lp87524-q1.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: TI LP87524-Q1 four 1-phase output buck converter
  7. maintainers:
  8. - Keerthy <j-keerthy@ti.com>
  9. properties:
  10. compatible:
  11. const: ti,lp87524-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. regulators:
  26. type: object
  27. patternProperties:
  28. "^buck[0123]$":
  29. type: object
  30. $ref: /schemas/regulator/regulator.yaml#
  31. unevaluatedProperties: false
  32. required:
  33. - buck0
  34. - buck1
  35. - buck2
  36. - buck3
  37. additionalProperties: false
  38. patternProperties:
  39. "^buck[0123]-in-supply$":
  40. description: Voltage regulator supply for each BUCK converter
  41. required:
  42. - compatible
  43. - reg
  44. - gpio-controller
  45. - '#gpio-cells'
  46. - buck0-in-supply
  47. - buck1-in-supply
  48. - buck2-in-supply
  49. - buck3-in-supply
  50. - regulators
  51. additionalProperties: false
  52. examples:
  53. - |
  54. i2c@0 {
  55. reg = <0x0 0x100>;
  56. #address-cells = <1>;
  57. #size-cells = <0>;
  58. pmic@60 {
  59. compatible = "ti,lp87524-q1";
  60. reg = <0x60>;
  61. gpio-controller;
  62. #gpio-cells = <2>;
  63. buck0-in-supply = <&vdd_5v0>;
  64. buck1-in-supply = <&vdd_5v0>;
  65. buck2-in-supply = <&vdd_5v0>;
  66. buck3-in-supply = <&vdd_5v0>;
  67. regulators {
  68. buck0_reg: buck0 {
  69. regulator-name = "buck0";
  70. regulator-min-microvolt = <3300000>;
  71. regulator-max-microvolt = <3300000>;
  72. regulator-always-on;
  73. };
  74. buck1_reg: buck1 {
  75. regulator-name = "buck1";
  76. regulator-min-microvolt = <1350000>;
  77. regulator-max-microvolt = <1350000>;
  78. regulator-always-on;
  79. };
  80. buck2_reg: buck2 {
  81. regulator-name = "buck2";
  82. regulator-min-microvolt = <950000>;
  83. regulator-max-microvolt = <950000>;
  84. regulator-always-on;
  85. };
  86. buck3_reg: buck3 {
  87. regulator-name = "buck3";
  88. regulator-min-microvolt = <1800000>;
  89. regulator-max-microvolt = <1800000>;
  90. regulator-always-on;
  91. };
  92. };
  93. };
  94. };
  95. ...