xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp87565-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,lp87565-q1.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: TI LP87565-Q1 / LP87565 dual 2-phase output buck converter
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Keerthy <j-keerthy@ti.com>
116be33864SEmmanuel Vadot
126be33864SEmmanuel Vadotproperties:
136be33864SEmmanuel Vadot  compatible:
14354d7675SEmmanuel Vadot    enum:
15354d7675SEmmanuel Vadot      - ti,lp87565
16354d7675SEmmanuel Vadot      - ti,lp87565-q1
176be33864SEmmanuel Vadot
186be33864SEmmanuel Vadot  reg:
196be33864SEmmanuel Vadot    description: I2C slave address
206be33864SEmmanuel Vadot    const: 0x60
216be33864SEmmanuel Vadot
222eb4d8dcSEmmanuel Vadot  reset-gpios:
232eb4d8dcSEmmanuel Vadot    description: GPIO connected to NRST pin (active low reset, pin 20)
242eb4d8dcSEmmanuel Vadot    maxItems: 1
252eb4d8dcSEmmanuel Vadot
266be33864SEmmanuel Vadot  gpio-controller: true
276be33864SEmmanuel Vadot
286be33864SEmmanuel Vadot  '#gpio-cells':
296be33864SEmmanuel Vadot    description:
306be33864SEmmanuel Vadot      The first cell is the pin number.
316be33864SEmmanuel Vadot      The second cell is is used to specify flags.
326be33864SEmmanuel Vadot      See ../gpio/gpio.txt for more information.
336be33864SEmmanuel Vadot    const: 2
346be33864SEmmanuel Vadot
356be33864SEmmanuel Vadot  buck10-in-supply:
366be33864SEmmanuel Vadot    description:
376be33864SEmmanuel Vadot      Voltage regulator supply for BUCK0 and BUCK1 converters.
386be33864SEmmanuel Vadot
396be33864SEmmanuel Vadot  buck23-in-supply:
406be33864SEmmanuel Vadot    description:
416be33864SEmmanuel Vadot      Voltage regulator supply for BUCK2 and BUCK3 converters.
426be33864SEmmanuel Vadot
436be33864SEmmanuel Vadot  regulators:
446be33864SEmmanuel Vadot    type: object
456be33864SEmmanuel Vadot
466be33864SEmmanuel Vadot    patternProperties:
476be33864SEmmanuel Vadot      "^buck(10|23)$":
486be33864SEmmanuel Vadot        type: object
496be33864SEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
50*84943d6fSEmmanuel Vadot        unevaluatedProperties: false
516be33864SEmmanuel Vadot
526be33864SEmmanuel Vadot    required:
536be33864SEmmanuel Vadot      - buck10
546be33864SEmmanuel Vadot      - buck23
556be33864SEmmanuel Vadot
566be33864SEmmanuel Vadot    additionalProperties: false
576be33864SEmmanuel Vadot
586be33864SEmmanuel Vadotrequired:
596be33864SEmmanuel Vadot  - compatible
606be33864SEmmanuel Vadot  - reg
616be33864SEmmanuel Vadot  - gpio-controller
626be33864SEmmanuel Vadot  - '#gpio-cells'
636be33864SEmmanuel Vadot  - buck10-in-supply
646be33864SEmmanuel Vadot  - buck23-in-supply
656be33864SEmmanuel Vadot
666be33864SEmmanuel VadotadditionalProperties: false
676be33864SEmmanuel Vadot
686be33864SEmmanuel Vadotexamples:
696be33864SEmmanuel Vadot  - |
706be33864SEmmanuel Vadot    i2c@0 {
716be33864SEmmanuel Vadot        reg = <0x0 0x100>;
726be33864SEmmanuel Vadot        #address-cells = <1>;
736be33864SEmmanuel Vadot        #size-cells = <0>;
746be33864SEmmanuel Vadot
756be33864SEmmanuel Vadot        pmic@60 {
766be33864SEmmanuel Vadot            compatible = "ti,lp87565-q1";
776be33864SEmmanuel Vadot            reg = <0x60>;
786be33864SEmmanuel Vadot            gpio-controller;
796be33864SEmmanuel Vadot            #gpio-cells = <2>;
806be33864SEmmanuel Vadot
816be33864SEmmanuel Vadot            buck10-in-supply = <&vsys_3v3>;
826be33864SEmmanuel Vadot            buck23-in-supply = <&vsys_3v3>;
836be33864SEmmanuel Vadot
846be33864SEmmanuel Vadot            regulators {
856be33864SEmmanuel Vadot                buck10_reg: buck10 {
866be33864SEmmanuel Vadot                    /* VDD_MPU */
876be33864SEmmanuel Vadot                    regulator-name = "buck10";
886be33864SEmmanuel Vadot                    regulator-min-microvolt = <850000>;
896be33864SEmmanuel Vadot                    regulator-max-microvolt = <1250000>;
906be33864SEmmanuel Vadot                    regulator-always-on;
916be33864SEmmanuel Vadot                    regulator-boot-on;
926be33864SEmmanuel Vadot                };
936be33864SEmmanuel Vadot
946be33864SEmmanuel Vadot                buck23_reg: buck23 {
956be33864SEmmanuel Vadot                    /* VDD_GPU */
966be33864SEmmanuel Vadot                    regulator-name = "buck23";
976be33864SEmmanuel Vadot                    regulator-min-microvolt = <850000>;
986be33864SEmmanuel Vadot                    regulator-max-microvolt = <1250000>;
996be33864SEmmanuel Vadot                    regulator-boot-on;
1006be33864SEmmanuel Vadot                    regulator-always-on;
1016be33864SEmmanuel Vadot                };
1026be33864SEmmanuel Vadot            };
1036be33864SEmmanuel Vadot        };
1046be33864SEmmanuel Vadot    };
1056be33864SEmmanuel Vadot
1066be33864SEmmanuel Vadot...
107