1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 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 converter 8 9maintainers: 10 - Keerthy <j-keerthy@ti.com> 11 12properties: 13 compatible: 14 const: ti,lp87524-q1 15 16 reg: 17 description: I2C slave address 18 const: 0x60 19 20 gpio-controller: true 21 22 '#gpio-cells': 23 description: 24 The first cell is the pin number. 25 The second cell is is used to specify flags. 26 See ../gpio/gpio.txt for more information. 27 const: 2 28 29 regulators: 30 type: object 31 32 patternProperties: 33 "^buck[0123]$": 34 type: object 35 $ref: /schemas/regulator/regulator.yaml# 36 37 required: 38 - buck0 39 - buck1 40 - buck2 41 - buck3 42 43 additionalProperties: false 44 45patternProperties: 46 "^buck[0123]-in-supply$": 47 description: Voltage regulator supply for each BUCK converter 48 49required: 50 - compatible 51 - reg 52 - gpio-controller 53 - '#gpio-cells' 54 - buck0-in-supply 55 - buck1-in-supply 56 - buck2-in-supply 57 - buck3-in-supply 58 - regulators 59 60additionalProperties: false 61 62examples: 63 - | 64 i2c@0 { 65 reg = <0x0 0x100>; 66 #address-cells = <1>; 67 #size-cells = <0>; 68 69 pmic@60 { 70 compatible = "ti,lp87524-q1"; 71 reg = <0x60>; 72 gpio-controller; 73 #gpio-cells = <2>; 74 75 buck0-in-supply = <&vdd_5v0>; 76 buck1-in-supply = <&vdd_5v0>; 77 buck2-in-supply = <&vdd_5v0>; 78 buck3-in-supply = <&vdd_5v0>; 79 80 regulators { 81 buck0_reg: buck0 { 82 regulator-name = "buck0"; 83 regulator-min-microvolt = <3300000>; 84 regulator-max-microvolt = <3300000>; 85 regulator-always-on; 86 }; 87 88 buck1_reg: buck1 { 89 regulator-name = "buck1"; 90 regulator-min-microvolt = <1350000>; 91 regulator-max-microvolt = <1350000>; 92 regulator-always-on; 93 }; 94 95 buck2_reg: buck2 { 96 regulator-name = "buck2"; 97 regulator-min-microvolt = <950000>; 98 regulator-max-microvolt = <950000>; 99 regulator-always-on; 100 }; 101 102 buck3_reg: buck3 { 103 regulator-name = "buck3"; 104 regulator-min-microvolt = <1800000>; 105 regulator-max-microvolt = <1800000>; 106 regulator-always-on; 107 }; 108 }; 109 }; 110 }; 111 112... 113