xref: /linux/Documentation/devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: STM32MP1 PWR voltage regulators
8
9maintainers:
10  - Pascal Paillet <p.paillet@foss.st.com>
11
12properties:
13  compatible:
14    const: st,stm32mp1,pwr-reg
15
16  reg:
17    maxItems: 1
18
19  vdd-supply:
20    description: Input supply phandle(s) for vdd input
21
22  vdd_3v3_usbfs-supply:
23    description: Input supply phandle(s) for vdd_3v3_usbfs input
24
25patternProperties:
26  "^(reg11|reg18|usb33)$":
27    type: object
28    $ref: regulator.yaml#
29    unevaluatedProperties: false
30
31required:
32  - compatible
33  - reg
34
35additionalProperties: false
36
37examples:
38  - |
39    pwr@50001000 {
40      compatible = "st,stm32mp1,pwr-reg";
41      reg = <0x50001000 0x10>;
42      vdd-supply = <&vdd>;
43      vdd_3v3_usbfs-supply = <&vdd_usb>;
44
45      reg11 {
46        regulator-name = "reg11";
47        regulator-min-microvolt = <1100000>;
48        regulator-max-microvolt = <1100000>;
49      };
50
51      reg18 {
52        regulator-name = "reg18";
53        regulator-min-microvolt = <1800000>;
54        regulator-max-microvolt = <1800000>;
55      };
56
57      usb33 {
58        regulator-name = "usb33";
59        regulator-min-microvolt = <3300000>;
60        regulator-max-microvolt = <3300000>;
61      };
62    };
63...
64