xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp87561-q1.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
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
45    required:
46      - buck3210
47
48    additionalProperties: false
49
50required:
51  - compatible
52  - reg
53  - gpio-controller
54  - '#gpio-cells'
55  - buck3210-in-supply
56
57additionalProperties: false
58
59examples:
60  - |
61    i2c@0 {
62        reg = <0x0 0x100>;
63        #address-cells = <1>;
64        #size-cells = <0>;
65
66        pmic@60 {
67            compatible = "ti,lp87561-q1";
68            reg = <0x60>;
69            gpio-controller;
70            #gpio-cells = <2>;
71
72            buck3210-in-supply = <&vsys_3v3>;
73
74            regulators {
75                buck3210_reg: buck3210 {
76                    /* VDD_CORE */
77                    regulator-name = "buck3210";
78                    regulator-min-microvolt = <800000>;
79                    regulator-max-microvolt = <800000>;
80                    regulator-always-on;
81                    regulator-boot-on;
82                };
83            };
84        };
85    };
86
87...
88