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  gpio-controller: true
21
22  '#gpio-cells':
23    description:
24      The first cell is the pin number.
25      The second cell is is used to specify flags.
26      See ../gpio/gpio.txt for more information.
27    const: 2
28
29  buck3210-in-supply:
30    description:
31      Voltage regulator supply for all the four BUCK converters.
32
33  regulators:
34    type: object
35
36    properties:
37      buck3210:
38        type: object
39        $ref: /schemas/regulator/regulator.yaml#
40
41    required:
42      - buck3210
43
44    additionalProperties: false
45
46required:
47  - compatible
48  - reg
49  - gpio-controller
50  - '#gpio-cells'
51  - buck3210-in-supply
52
53additionalProperties: false
54
55examples:
56  - |
57    i2c@0 {
58        reg = <0x0 0x100>;
59        #address-cells = <1>;
60        #size-cells = <0>;
61
62        pmic@60 {
63            compatible = "ti,lp87561-q1";
64            reg = <0x60>;
65            gpio-controller;
66            #gpio-cells = <2>;
67
68            buck3210-in-supply = <&vsys_3v3>;
69
70            regulators {
71                buck3210_reg: buck3210 {
72                    /* VDD_CORE */
73                    regulator-name = "buck3210";
74                    regulator-min-microvolt = <800000>;
75                    regulator-max-microvolt = <800000>;
76                    regulator-always-on;
77                    regulator-boot-on;
78                };
79            };
80        };
81    };
82
83...
84