1130ac214SPascal Paillet# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2130ac214SPascal Paillet%YAML 1.2
3130ac214SPascal Paillet---
4130ac214SPascal Paillet$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#
5130ac214SPascal Paillet$schema: http://devicetree.org/meta-schemas/core.yaml#
6130ac214SPascal Paillet
7130ac214SPascal Paillettitle: STM32MP1 PWR voltage regulators
8130ac214SPascal Paillet
9130ac214SPascal Pailletmaintainers:
10f4eedebdSPatrice Chotard  - Pascal Paillet <p.paillet@foss.st.com>
11130ac214SPascal Paillet
12130ac214SPascal Pailletproperties:
13130ac214SPascal Paillet  compatible:
14130ac214SPascal Paillet    const: st,stm32mp1,pwr-reg
15130ac214SPascal Paillet
16130ac214SPascal Paillet  reg:
17130ac214SPascal Paillet    maxItems: 1
18130ac214SPascal Paillet
19130ac214SPascal Paillet  vdd-supply:
20130ac214SPascal Paillet    description: Input supply phandle(s) for vdd input
21130ac214SPascal Paillet
22130ac214SPascal Paillet  vdd_3v3_usbfs-supply:
23130ac214SPascal Paillet    description: Input supply phandle(s) for vdd_3v3_usbfs input
24130ac214SPascal Paillet
25130ac214SPascal PailletpatternProperties:
26130ac214SPascal Paillet  "^(reg11|reg18|usb33)$":
27130ac214SPascal Paillet    type: object
28cff5c895SRob Herring    $ref: regulator.yaml#
29*d2d54819SKrzysztof Kozlowski    unevaluatedProperties: false
30130ac214SPascal Paillet
31130ac214SPascal Pailletrequired:
32130ac214SPascal Paillet  - compatible
33130ac214SPascal Paillet  - reg
34130ac214SPascal Paillet
35130ac214SPascal PailletadditionalProperties: false
36130ac214SPascal Paillet
37130ac214SPascal Pailletexamples:
38130ac214SPascal Paillet  - |
39130ac214SPascal Paillet    pwr@50001000 {
40130ac214SPascal Paillet      compatible = "st,stm32mp1,pwr-reg";
41130ac214SPascal Paillet      reg = <0x50001000 0x10>;
42130ac214SPascal Paillet      vdd-supply = <&vdd>;
43130ac214SPascal Paillet      vdd_3v3_usbfs-supply = <&vdd_usb>;
44130ac214SPascal Paillet
45130ac214SPascal Paillet      reg11 {
46130ac214SPascal Paillet        regulator-name = "reg11";
47130ac214SPascal Paillet        regulator-min-microvolt = <1100000>;
48130ac214SPascal Paillet        regulator-max-microvolt = <1100000>;
49130ac214SPascal Paillet      };
50130ac214SPascal Paillet
51130ac214SPascal Paillet      reg18 {
52130ac214SPascal Paillet        regulator-name = "reg18";
53130ac214SPascal Paillet        regulator-min-microvolt = <1800000>;
54130ac214SPascal Paillet        regulator-max-microvolt = <1800000>;
55130ac214SPascal Paillet      };
56130ac214SPascal Paillet
57130ac214SPascal Paillet      usb33 {
58130ac214SPascal Paillet        regulator-name = "usb33";
59130ac214SPascal Paillet        regulator-min-microvolt = <3300000>;
60130ac214SPascal Paillet        regulator-max-microvolt = <3300000>;
61130ac214SPascal Paillet      };
62130ac214SPascal Paillet    };
63130ac214SPascal Paillet...
64