xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp87565-q1.yaml (revision e63d20b70ee1dbee9b075f29de6f30cdcfe1abe1)
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,lp87565-q1.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI LP87565-Q1 / LP87565 dual 2-phase output buck converter
8
9maintainers:
10  - Keerthy <j-keerthy@ti.com>
11
12properties:
13  compatible:
14    enum:
15      - ti,lp87565
16      - ti,lp87565-q1
17
18  reg:
19    description: I2C slave address
20    const: 0x60
21
22  reset-gpios:
23    description: GPIO connected to NRST pin (active low reset, pin 20)
24    maxItems: 1
25
26  gpio-controller: true
27
28  '#gpio-cells':
29    description:
30      The first cell is the pin number.
31      The second cell is is used to specify flags.
32      See ../gpio/gpio.txt for more information.
33    const: 2
34
35  buck10-in-supply:
36    description:
37      Voltage regulator supply for BUCK0 and BUCK1 converters.
38
39  buck23-in-supply:
40    description:
41      Voltage regulator supply for BUCK2 and BUCK3 converters.
42
43  regulators:
44    type: object
45
46    patternProperties:
47      "^buck(10|23)$":
48        type: object
49        $ref: /schemas/regulator/regulator.yaml#
50        unevaluatedProperties: false
51
52    required:
53      - buck10
54      - buck23
55
56    additionalProperties: false
57
58required:
59  - compatible
60  - reg
61  - gpio-controller
62  - '#gpio-cells'
63  - buck10-in-supply
64  - buck23-in-supply
65
66additionalProperties: false
67
68examples:
69  - |
70    i2c@0 {
71        reg = <0x0 0x100>;
72        #address-cells = <1>;
73        #size-cells = <0>;
74
75        pmic@60 {
76            compatible = "ti,lp87565-q1";
77            reg = <0x60>;
78            gpio-controller;
79            #gpio-cells = <2>;
80
81            buck10-in-supply = <&vsys_3v3>;
82            buck23-in-supply = <&vsys_3v3>;
83
84            regulators {
85                buck10_reg: buck10 {
86                    /* VDD_MPU */
87                    regulator-name = "buck10";
88                    regulator-min-microvolt = <850000>;
89                    regulator-max-microvolt = <1250000>;
90                    regulator-always-on;
91                    regulator-boot-on;
92                };
93
94                buck23_reg: buck23 {
95                    /* VDD_GPU */
96                    regulator-name = "buck23";
97                    regulator-min-microvolt = <850000>;
98                    regulator-max-microvolt = <1250000>;
99                    regulator-boot-on;
100                    regulator-always-on;
101                };
102            };
103        };
104    };
105
106...
107