1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/max8660.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim MAX8660 voltage regulator
8
9maintainers:
10  - Daniel Mack <zonque@gmail.com>
11
12properties:
13  $nodename:
14    pattern: "pmic@[0-9a-f]{1,2}"
15  compatible:
16    enum:
17      - maxim,max8660
18      - maxim,max8661
19
20  reg:
21    maxItems: 1
22
23  regulators:
24    type: object
25
26    patternProperties:
27      "^regulator-.+$":
28        $ref: "regulator.yaml#"
29        unevaluatedProperties: false
30
31    additionalProperties: false
32
33additionalProperties: false
34
35examples:
36  - |
37    i2c {
38      #address-cells = <1>;
39      #size-cells = <0>;
40
41      pmic@34 {
42        compatible = "maxim,max8660";
43        reg = <0x34>;
44
45        regulators {
46          regulator-V3 {
47            regulator-min-microvolt = <725000>;
48            regulator-max-microvolt = <1800000>;
49          };
50
51          regulator-V4 {
52            regulator-min-microvolt = <725000>;
53            regulator-max-microvolt = <1800000>;
54          };
55
56          regulator-V5 {
57            regulator-min-microvolt = <1700000>;
58            regulator-max-microvolt = <2000000>;
59          };
60
61          regulator-V6 {
62            regulator-min-microvolt = <1800000>;
63            regulator-max-microvolt = <3300000>;
64          };
65
66          regulator-V7 {
67            regulator-min-microvolt = <1800000>;
68            regulator-max-microvolt = <3300000>;
69          };
70        };
71      };
72    };
73...
74