xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/ti,lp87524-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,lp87524-q1.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: TI LP87524-Q1 four 1-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,lp87524-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  regulators:
346be33864SEmmanuel Vadot    type: object
356be33864SEmmanuel Vadot
366be33864SEmmanuel Vadot    patternProperties:
376be33864SEmmanuel Vadot      "^buck[0123]$":
386be33864SEmmanuel Vadot        type: object
396be33864SEmmanuel Vadot        $ref: /schemas/regulator/regulator.yaml#
40*84943d6fSEmmanuel Vadot        unevaluatedProperties: false
416be33864SEmmanuel Vadot
426be33864SEmmanuel Vadot    required:
436be33864SEmmanuel Vadot      - buck0
446be33864SEmmanuel Vadot      - buck1
456be33864SEmmanuel Vadot      - buck2
466be33864SEmmanuel Vadot      - buck3
476be33864SEmmanuel Vadot
486be33864SEmmanuel Vadot    additionalProperties: false
496be33864SEmmanuel Vadot
506be33864SEmmanuel VadotpatternProperties:
516be33864SEmmanuel Vadot  "^buck[0123]-in-supply$":
526be33864SEmmanuel Vadot    description: Voltage regulator supply for each BUCK converter
536be33864SEmmanuel Vadot
546be33864SEmmanuel Vadotrequired:
556be33864SEmmanuel Vadot  - compatible
566be33864SEmmanuel Vadot  - reg
576be33864SEmmanuel Vadot  - gpio-controller
586be33864SEmmanuel Vadot  - '#gpio-cells'
596be33864SEmmanuel Vadot  - buck0-in-supply
606be33864SEmmanuel Vadot  - buck1-in-supply
616be33864SEmmanuel Vadot  - buck2-in-supply
626be33864SEmmanuel Vadot  - buck3-in-supply
636be33864SEmmanuel Vadot  - regulators
646be33864SEmmanuel Vadot
656be33864SEmmanuel VadotadditionalProperties: false
666be33864SEmmanuel Vadot
676be33864SEmmanuel Vadotexamples:
686be33864SEmmanuel Vadot  - |
696be33864SEmmanuel Vadot    i2c@0 {
706be33864SEmmanuel Vadot        reg = <0x0 0x100>;
716be33864SEmmanuel Vadot        #address-cells = <1>;
726be33864SEmmanuel Vadot        #size-cells = <0>;
736be33864SEmmanuel Vadot
746be33864SEmmanuel Vadot        pmic@60 {
756be33864SEmmanuel Vadot            compatible = "ti,lp87524-q1";
766be33864SEmmanuel Vadot            reg = <0x60>;
776be33864SEmmanuel Vadot            gpio-controller;
786be33864SEmmanuel Vadot            #gpio-cells = <2>;
796be33864SEmmanuel Vadot
806be33864SEmmanuel Vadot            buck0-in-supply = <&vdd_5v0>;
816be33864SEmmanuel Vadot            buck1-in-supply = <&vdd_5v0>;
826be33864SEmmanuel Vadot            buck2-in-supply = <&vdd_5v0>;
836be33864SEmmanuel Vadot            buck3-in-supply = <&vdd_5v0>;
846be33864SEmmanuel Vadot
856be33864SEmmanuel Vadot            regulators {
866be33864SEmmanuel Vadot                buck0_reg: buck0 {
876be33864SEmmanuel Vadot                    regulator-name = "buck0";
886be33864SEmmanuel Vadot                    regulator-min-microvolt = <3300000>;
896be33864SEmmanuel Vadot                    regulator-max-microvolt = <3300000>;
906be33864SEmmanuel Vadot                    regulator-always-on;
916be33864SEmmanuel Vadot                };
926be33864SEmmanuel Vadot
936be33864SEmmanuel Vadot                buck1_reg: buck1 {
946be33864SEmmanuel Vadot                    regulator-name = "buck1";
956be33864SEmmanuel Vadot                    regulator-min-microvolt = <1350000>;
966be33864SEmmanuel Vadot                    regulator-max-microvolt = <1350000>;
976be33864SEmmanuel Vadot                    regulator-always-on;
986be33864SEmmanuel Vadot                };
996be33864SEmmanuel Vadot
1006be33864SEmmanuel Vadot                buck2_reg: buck2 {
1016be33864SEmmanuel Vadot                    regulator-name = "buck2";
1026be33864SEmmanuel Vadot                    regulator-min-microvolt = <950000>;
1036be33864SEmmanuel Vadot                    regulator-max-microvolt = <950000>;
1046be33864SEmmanuel Vadot                    regulator-always-on;
1056be33864SEmmanuel Vadot                };
1066be33864SEmmanuel Vadot
1076be33864SEmmanuel Vadot                buck3_reg: buck3 {
1086be33864SEmmanuel Vadot                    regulator-name = "buck3";
1096be33864SEmmanuel Vadot                    regulator-min-microvolt = <1800000>;
1106be33864SEmmanuel Vadot                    regulator-max-microvolt = <1800000>;
1116be33864SEmmanuel Vadot                    regulator-always-on;
1126be33864SEmmanuel Vadot                };
1136be33864SEmmanuel Vadot            };
1146be33864SEmmanuel Vadot        };
1156be33864SEmmanuel Vadot    };
1166be33864SEmmanuel Vadot
1176be33864SEmmanuel Vadot...
118