Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / regulator / st,stm32mp1-pwr-reg.txt
1 STM32MP1 PWR Regulators
2 -----------------------
3
4 Available Regulators in STM32MP1 PWR block are:
5   - reg11 for regulator 1V1
6   - reg18 for regulator 1V8
7   - usb33 for the swtich USB3V3
8
9 Required properties:
10 - compatible: Must be "st,stm32mp1,pwr-reg"
11 - list of child nodes that specify the regulator reg11, reg18 or usb33
12   initialization data for defined regulators. The definition for each of
13   these nodes is defined using the standard binding for regulators found at
14   Documentation/devicetree/bindings/regulator/regulator.txt.
15 - vdd-supply: phandle to the parent supply/regulator node for vdd input
16 - vdd_3v3_usbfs-supply: phandle to the parent supply/regulator node for usb33
17
18 Example:
19
20 pwr_regulators: pwr@50001000 {
21         compatible = "st,stm32mp1,pwr-reg";
22         reg = <0x50001000 0x10>;
23         vdd-supply = <&vdd>;
24         vdd_3v3_usbfs-supply = <&vdd_usb>;
25
26         reg11: reg11 {
27                 regulator-name = "reg11";
28                 regulator-min-microvolt = <1100000>;
29                 regulator-max-microvolt = <1100000>;
30         };
31
32         reg18: reg18 {
33                 regulator-name = "reg18";
34                 regulator-min-microvolt = <1800000>;
35                 regulator-max-microvolt = <1800000>;
36         };
37
38         usb33: usb33 {
39                 regulator-name = "usb33";
40                 regulator-min-microvolt = <3300000>;
41                 regulator-max-microvolt = <3300000>;
42         };
43 };