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