WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / st,stm32mp1-pwr-reg.yaml
blobe6322bc3e4478ffe7252640fa082df8653d3768b
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#
7 title: STM32MP1 PWR voltage regulators
9 maintainers:
10   - Pascal Paillet <p.paillet@st.com>
12 properties:
13   compatible:
14     const: st,stm32mp1,pwr-reg
16   reg:
17     maxItems: 1
19   vdd-supply:
20     description: Input supply phandle(s) for vdd input
22   vdd_3v3_usbfs-supply:
23     description: Input supply phandle(s) for vdd_3v3_usbfs input
25 patternProperties:
26   "^(reg11|reg18|usb33)$":
27     type: object
29     $ref: "regulator.yaml#"
31 required:
32   - compatible
33   - reg
35 additionalProperties: false
37 examples:
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>;
45       reg11 {
46         regulator-name = "reg11";
47         regulator-min-microvolt = <1100000>;
48         regulator-max-microvolt = <1100000>;
49       };
51       reg18 {
52         regulator-name = "reg18";
53         regulator-min-microvolt = <1800000>;
54         regulator-max-microvolt = <1800000>;
55       };
57       usb33 {
58         regulator-name = "usb33";
59         regulator-min-microvolt = <3300000>;
60         regulator-max-microvolt = <3300000>;
61       };
62     };
63 ...