summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml
blob: e6322bc3e4478ffe7252640fa082df8653d3768b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STM32MP1 PWR voltage regulators

maintainers:
  - Pascal Paillet <p.paillet@st.com>

properties:
  compatible:
    const: st,stm32mp1,pwr-reg

  reg:
    maxItems: 1

  vdd-supply:
    description: Input supply phandle(s) for vdd input

  vdd_3v3_usbfs-supply:
    description: Input supply phandle(s) for vdd_3v3_usbfs input

patternProperties:
  "^(reg11|reg18|usb33)$":
    type: object

    $ref: "regulator.yaml#"

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    pwr@50001000 {
      compatible = "st,stm32mp1,pwr-reg";
      reg = <0x50001000 0x10>;
      vdd-supply = <&vdd>;
      vdd_3v3_usbfs-supply = <&vdd_usb>;

      reg11 {
        regulator-name = "reg11";
        regulator-min-microvolt = <1100000>;
        regulator-max-microvolt = <1100000>;
      };

      reg18 {
        regulator-name = "reg18";
        regulator-min-microvolt = <1800000>;
        regulator-max-microvolt = <1800000>;
      };

      usb33 {
        regulator-name = "usb33";
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;
      };
    };
...