brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · ae149eb Raw
118 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/ti,lp87524-q1.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TI LP87524-Q1 four 1-phase output buck converter8 9maintainers:10  - Keerthy <j-keerthy@ti.com>11 12properties:13  compatible:14    const: ti,lp87524-q115 16  reg:17    description: I2C slave address18    const: 0x6019 20  reset-gpios:21    description: GPIO connected to NRST pin (active low reset, pin 20)22    maxItems: 123 24  gpio-controller: true25 26  '#gpio-cells':27    description:28      The first cell is the pin number.29      The second cell is is used to specify flags.30      See ../gpio/gpio.txt for more information.31    const: 232 33  regulators:34    type: object35 36    patternProperties:37      "^buck[0123]$":38        type: object39        $ref: /schemas/regulator/regulator.yaml#40        unevaluatedProperties: false41 42    required:43      - buck044      - buck145      - buck246      - buck347 48    additionalProperties: false49 50patternProperties:51  "^buck[0123]-in-supply$":52    description: Voltage regulator supply for each BUCK converter53 54required:55  - compatible56  - reg57  - gpio-controller58  - '#gpio-cells'59  - buck0-in-supply60  - buck1-in-supply61  - buck2-in-supply62  - buck3-in-supply63  - regulators64 65additionalProperties: false66 67examples:68  - |69    i2c@0 {70        reg = <0x0 0x100>;71        #address-cells = <1>;72        #size-cells = <0>;73 74        pmic@60 {75            compatible = "ti,lp87524-q1";76            reg = <0x60>;77            gpio-controller;78            #gpio-cells = <2>;79 80            buck0-in-supply = <&vdd_5v0>;81            buck1-in-supply = <&vdd_5v0>;82            buck2-in-supply = <&vdd_5v0>;83            buck3-in-supply = <&vdd_5v0>;84 85            regulators {86                buck0_reg: buck0 {87                    regulator-name = "buck0";88                    regulator-min-microvolt = <3300000>;89                    regulator-max-microvolt = <3300000>;90                    regulator-always-on;91                };92 93                buck1_reg: buck1 {94                    regulator-name = "buck1";95                    regulator-min-microvolt = <1350000>;96                    regulator-max-microvolt = <1350000>;97                    regulator-always-on;98                };99 100                buck2_reg: buck2 {101                    regulator-name = "buck2";102                    regulator-min-microvolt = <950000>;103                    regulator-max-microvolt = <950000>;104                    regulator-always-on;105                };106 107                buck3_reg: buck3 {108                    regulator-name = "buck3";109                    regulator-min-microvolt = <1800000>;110                    regulator-max-microvolt = <1800000>;111                    regulator-always-on;112                };113            };114        };115    };116 117...118