xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp8732.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1*7d0873ebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2*7d0873ebSEmmanuel Vadot%YAML 1.2
3*7d0873ebSEmmanuel Vadot---
4*7d0873ebSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/ti,lp8732.yaml#
5*7d0873ebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7d0873ebSEmmanuel Vadot
7*7d0873ebSEmmanuel Vadottitle: TI LP873X Power Management Integrated Circuit
8*7d0873ebSEmmanuel Vadot
9*7d0873ebSEmmanuel Vadotmaintainers:
10*7d0873ebSEmmanuel Vadot  - J Keerthy <j-keerthy@ti.com>
11*7d0873ebSEmmanuel Vadot
12*7d0873ebSEmmanuel Vadotdescription:
13*7d0873ebSEmmanuel Vadot  PMIC with two high-current buck converters and two linear regulators.
14*7d0873ebSEmmanuel Vadot
15*7d0873ebSEmmanuel Vadotproperties:
16*7d0873ebSEmmanuel Vadot  compatible:
17*7d0873ebSEmmanuel Vadot    enum:
18*7d0873ebSEmmanuel Vadot      - ti,lp8732
19*7d0873ebSEmmanuel Vadot      - ti,lp8733
20*7d0873ebSEmmanuel Vadot
21*7d0873ebSEmmanuel Vadot  reg:
22*7d0873ebSEmmanuel Vadot    maxItems: 1
23*7d0873ebSEmmanuel Vadot
24*7d0873ebSEmmanuel Vadot  gpio-controller: true
25*7d0873ebSEmmanuel Vadot
26*7d0873ebSEmmanuel Vadot  '#gpio-cells':
27*7d0873ebSEmmanuel Vadot    const: 2
28*7d0873ebSEmmanuel Vadot
29*7d0873ebSEmmanuel Vadot  regulators:
30*7d0873ebSEmmanuel Vadot    description:
31*7d0873ebSEmmanuel Vadot      List of child nodes that specify the regulator initialization data.
32*7d0873ebSEmmanuel Vadot    type: object
33*7d0873ebSEmmanuel Vadot    patternProperties:
34*7d0873ebSEmmanuel Vadot      "^buck[01]|ldo[01]$":
35*7d0873ebSEmmanuel Vadot        type: object
36*7d0873ebSEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
37*7d0873ebSEmmanuel Vadot        unevaluatedProperties: false
38*7d0873ebSEmmanuel Vadot    additionalProperties: false
39*7d0873ebSEmmanuel Vadot
40*7d0873ebSEmmanuel VadotpatternProperties:
41*7d0873ebSEmmanuel Vadot  '^(buck[01]|ldo[01])-in-supply$':
42*7d0873ebSEmmanuel Vadot    description: Phandle to parent supply of each regulator populated under regulators node.
43*7d0873ebSEmmanuel Vadot
44*7d0873ebSEmmanuel Vadotrequired:
45*7d0873ebSEmmanuel Vadot  - compatible
46*7d0873ebSEmmanuel Vadot  - reg
47*7d0873ebSEmmanuel Vadot  - regulators
48*7d0873ebSEmmanuel Vadot  - buck0-in-supply
49*7d0873ebSEmmanuel Vadot  - buck1-in-supply
50*7d0873ebSEmmanuel Vadot  - ldo0-in-supply
51*7d0873ebSEmmanuel Vadot  - ldo1-in-supply
52*7d0873ebSEmmanuel Vadot
53*7d0873ebSEmmanuel VadotadditionalProperties: false
54*7d0873ebSEmmanuel Vadot
55*7d0873ebSEmmanuel Vadotexamples:
56*7d0873ebSEmmanuel Vadot  - |
57*7d0873ebSEmmanuel Vadot    i2c {
58*7d0873ebSEmmanuel Vadot        #address-cells = <1>;
59*7d0873ebSEmmanuel Vadot        #size-cells = <0>;
60*7d0873ebSEmmanuel Vadot
61*7d0873ebSEmmanuel Vadot        pmic: pmic@60 {
62*7d0873ebSEmmanuel Vadot            compatible = "ti,lp8733";
63*7d0873ebSEmmanuel Vadot            reg = <0x60>;
64*7d0873ebSEmmanuel Vadot            gpio-controller;
65*7d0873ebSEmmanuel Vadot            #gpio-cells = <2>;
66*7d0873ebSEmmanuel Vadot
67*7d0873ebSEmmanuel Vadot            buck0-in-supply = <&vsys_3v3>;
68*7d0873ebSEmmanuel Vadot            buck1-in-supply = <&vsys_3v3>;
69*7d0873ebSEmmanuel Vadot            ldo0-in-supply = <&vsys_3v3>;
70*7d0873ebSEmmanuel Vadot            ldo1-in-supply = <&vsys_3v3>;
71*7d0873ebSEmmanuel Vadot
72*7d0873ebSEmmanuel Vadot            regulators {
73*7d0873ebSEmmanuel Vadot                buck0: buck0 {
74*7d0873ebSEmmanuel Vadot                    regulator-name = "buck0";
75*7d0873ebSEmmanuel Vadot                    regulator-min-microvolt = <800000>;
76*7d0873ebSEmmanuel Vadot                    regulator-max-microvolt = <1400000>;
77*7d0873ebSEmmanuel Vadot                    regulator-min-microamp = <1500000>;
78*7d0873ebSEmmanuel Vadot                    regulator-max-microamp = <4000000>;
79*7d0873ebSEmmanuel Vadot                    regulator-ramp-delay = <10000>;
80*7d0873ebSEmmanuel Vadot                    regulator-always-on;
81*7d0873ebSEmmanuel Vadot                    regulator-boot-on;
82*7d0873ebSEmmanuel Vadot                };
83*7d0873ebSEmmanuel Vadot
84*7d0873ebSEmmanuel Vadot                buck1: buck1 {
85*7d0873ebSEmmanuel Vadot                    regulator-name = "buck1";
86*7d0873ebSEmmanuel Vadot                    regulator-min-microvolt = <800000>;
87*7d0873ebSEmmanuel Vadot                    regulator-max-microvolt = <1400000>;
88*7d0873ebSEmmanuel Vadot                    regulator-min-microamp = <1500000>;
89*7d0873ebSEmmanuel Vadot                    regulator-max-microamp = <4000000>;
90*7d0873ebSEmmanuel Vadot                    regulator-ramp-delay = <10000>;
91*7d0873ebSEmmanuel Vadot                    regulator-boot-on;
92*7d0873ebSEmmanuel Vadot                    regulator-always-on;
93*7d0873ebSEmmanuel Vadot                };
94*7d0873ebSEmmanuel Vadot
95*7d0873ebSEmmanuel Vadot                ldo0: ldo0 {
96*7d0873ebSEmmanuel Vadot                    regulator-name = "ldo0";
97*7d0873ebSEmmanuel Vadot                    regulator-min-microvolt = <800000>;
98*7d0873ebSEmmanuel Vadot                    regulator-max-microvolt = <3000000>;
99*7d0873ebSEmmanuel Vadot                    regulator-boot-on;
100*7d0873ebSEmmanuel Vadot                    regulator-always-on;
101*7d0873ebSEmmanuel Vadot                };
102*7d0873ebSEmmanuel Vadot
103*7d0873ebSEmmanuel Vadot                ldo1: ldo1 {
104*7d0873ebSEmmanuel Vadot                    regulator-name = "ldo1";
105*7d0873ebSEmmanuel Vadot                    regulator-min-microvolt = <800000>;
106*7d0873ebSEmmanuel Vadot                    regulator-max-microvolt = <3000000>;
107*7d0873ebSEmmanuel Vadot                    regulator-always-on;
108*7d0873ebSEmmanuel Vadot                    regulator-boot-on;
109*7d0873ebSEmmanuel Vadot                };
110*7d0873ebSEmmanuel Vadot            };
111*7d0873ebSEmmanuel Vadot        };
112*7d0873ebSEmmanuel Vadot    };
113