xref: /linux/Documentation/devicetree/bindings/mfd/ti,lp87561-q1.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
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
7title: TI LP87561-Q1 single 4-phase output buck converter
8
9maintainers:
10  - Keerthy <j-keerthy@ti.com>
11
12properties:
13  compatible:
14    const: ti,lp87561-q1
15
16  reg:
17    description: I2C slave address
18    const: 0x60
19
20  reset-gpios:
21    description: GPIO connected to NRST pin (active low reset, pin 20)
22    maxItems: 1
23
24  gpio-controller: true
25
26  '#gpio-cells':
27    description:
28      The first cell is the pin number.
29      The second cell is is used to specify flags.
30      See ../gpio/gpio.txt for more information.
31    const: 2
32
33  buck3210-in-supply:
34    description:
35      Voltage regulator supply for all the four BUCK converters.
36
37  regulators:
38    type: object
39
40    properties:
41      buck3210:
42        type: object
43        $ref: /schemas/regulator/regulator.yaml#
44        unevaluatedProperties: false
45
46    required:
47      - buck3210
48
49    additionalProperties: false
50
51required:
52  - compatible
53  - reg
54  - gpio-controller
55  - '#gpio-cells'
56  - buck3210-in-supply
57
58additionalProperties: false
59
60examples:
61  - |
62    i2c@0 {
63        reg = <0x0 0x100>;
64        #address-cells = <1>;
65        #size-cells = <0>;
66
67        pmic@60 {
68            compatible = "ti,lp87561-q1";
69            reg = <0x60>;
70            gpio-controller;
71            #gpio-cells = <2>;
72
73            buck3210-in-supply = <&vsys_3v3>;
74
75            regulators {
76                buck3210_reg: buck3210 {
77                    /* VDD_CORE */
78                    regulator-name = "buck3210";
79                    regulator-min-microvolt = <800000>;
80                    regulator-max-microvolt = <800000>;
81                    regulator-always-on;
82                    regulator-boot-on;
83                };
84            };
85        };
86    };
87
88...
89