xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp87561-q1.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/ti,lp87561-q1.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: TI LP87561-Q1 single 4-phase output buck converter
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Keerthy <j-keerthy@ti.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotproperties:
136be33864SEmmanuel Vadot  compatible:
146be33864SEmmanuel Vadot    const: ti,lp87561-q1
156be33864SEmmanuel Vadot
166be33864SEmmanuel Vadot  reg:
176be33864SEmmanuel Vadot    description: I2C slave address
186be33864SEmmanuel Vadot    const: 0x60
196be33864SEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot  reset-gpios:
212eb4d8dcSEmmanuel Vadot    description: GPIO connected to NRST pin (active low reset, pin 20)
222eb4d8dcSEmmanuel Vadot    maxItems: 1
232eb4d8dcSEmmanuel Vadot
246be33864SEmmanuel Vadot  gpio-controller: true
256be33864SEmmanuel Vadot
266be33864SEmmanuel Vadot  '#gpio-cells':
276be33864SEmmanuel Vadot    description:
286be33864SEmmanuel Vadot      The first cell is the pin number.
296be33864SEmmanuel Vadot      The second cell is is used to specify flags.
306be33864SEmmanuel Vadot      See ../gpio/gpio.txt for more information.
316be33864SEmmanuel Vadot    const: 2
326be33864SEmmanuel Vadot
336be33864SEmmanuel Vadot  buck3210-in-supply:
346be33864SEmmanuel Vadot    description:
356be33864SEmmanuel Vadot      Voltage regulator supply for all the four BUCK converters.
366be33864SEmmanuel Vadot
376be33864SEmmanuel Vadot  regulators:
386be33864SEmmanuel Vadot    type: object
396be33864SEmmanuel Vadot
406be33864SEmmanuel Vadot    properties:
416be33864SEmmanuel Vadot      buck3210:
426be33864SEmmanuel Vadot        type: object
436be33864SEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
44*84943d6fSEmmanuel Vadot        unevaluatedProperties: false
456be33864SEmmanuel Vadot
466be33864SEmmanuel Vadot    required:
476be33864SEmmanuel Vadot      - buck3210
486be33864SEmmanuel Vadot
496be33864SEmmanuel Vadot    additionalProperties: false
506be33864SEmmanuel Vadot
516be33864SEmmanuel Vadotrequired:
526be33864SEmmanuel Vadot  - compatible
536be33864SEmmanuel Vadot  - reg
546be33864SEmmanuel Vadot  - gpio-controller
556be33864SEmmanuel Vadot  - '#gpio-cells'
566be33864SEmmanuel Vadot  - buck3210-in-supply
576be33864SEmmanuel Vadot
586be33864SEmmanuel VadotadditionalProperties: false
596be33864SEmmanuel Vadot
606be33864SEmmanuel Vadotexamples:
616be33864SEmmanuel Vadot  - |
626be33864SEmmanuel Vadot    i2c@0 {
636be33864SEmmanuel Vadot        reg = <0x0 0x100>;
646be33864SEmmanuel Vadot        #address-cells = <1>;
656be33864SEmmanuel Vadot        #size-cells = <0>;
666be33864SEmmanuel Vadot
676be33864SEmmanuel Vadot        pmic@60 {
686be33864SEmmanuel Vadot            compatible = "ti,lp87561-q1";
696be33864SEmmanuel Vadot            reg = <0x60>;
706be33864SEmmanuel Vadot            gpio-controller;
716be33864SEmmanuel Vadot            #gpio-cells = <2>;
726be33864SEmmanuel Vadot
736be33864SEmmanuel Vadot            buck3210-in-supply = <&vsys_3v3>;
746be33864SEmmanuel Vadot
756be33864SEmmanuel Vadot            regulators {
766be33864SEmmanuel Vadot                buck3210_reg: buck3210 {
776be33864SEmmanuel Vadot                    /* VDD_CORE */
786be33864SEmmanuel Vadot                    regulator-name = "buck3210";
796be33864SEmmanuel Vadot                    regulator-min-microvolt = <800000>;
806be33864SEmmanuel Vadot                    regulator-max-microvolt = <800000>;
816be33864SEmmanuel Vadot                    regulator-always-on;
826be33864SEmmanuel Vadot                    regulator-boot-on;
836be33864SEmmanuel Vadot                };
846be33864SEmmanuel Vadot            };
856be33864SEmmanuel Vadot        };
866be33864SEmmanuel Vadot    };
876be33864SEmmanuel Vadot
886be33864SEmmanuel Vadot...
89