xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/lp873x.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTI LP873X PMIC MFD driver
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot  - compatible:	"ti,lp8732", "ti,lp8733"
5*c66ec88fSEmmanuel Vadot  - reg:		I2C slave address.
6*c66ec88fSEmmanuel Vadot  - gpio-controller:	Marks the device node as a GPIO Controller.
7*c66ec88fSEmmanuel Vadot  - #gpio-cells:	Should be two.  The first cell is the pin number and
8*c66ec88fSEmmanuel Vadot			the second cell is used to specify flags.
9*c66ec88fSEmmanuel Vadot			See ../gpio/gpio.txt for more information.
10*c66ec88fSEmmanuel Vadot  - xxx-in-supply:	Phandle to parent supply node of each regulator
11*c66ec88fSEmmanuel Vadot			populated under regulators node. xxx can be
12*c66ec88fSEmmanuel Vadot			buck0, buck1, ldo0 or ldo1.
13*c66ec88fSEmmanuel Vadot  - regulators:	List of child nodes that specify the regulator
14*c66ec88fSEmmanuel Vadot			initialization data.
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadotpmic: lp8733@60 {
18*c66ec88fSEmmanuel Vadot	compatible = "ti,lp8733";
19*c66ec88fSEmmanuel Vadot	reg = <0x60>;
20*c66ec88fSEmmanuel Vadot	gpio-controller;
21*c66ec88fSEmmanuel Vadot	#gpio-cells = <2>;
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot	buck0-in-supply = <&vsys_3v3>;
24*c66ec88fSEmmanuel Vadot	buck1-in-supply = <&vsys_3v3>;
25*c66ec88fSEmmanuel Vadot	ldo0-in-supply = <&vsys_3v3>;
26*c66ec88fSEmmanuel Vadot	ldo1-in-supply = <&vsys_3v3>;
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	regulators {
29*c66ec88fSEmmanuel Vadot		lp8733_buck0: buck0 {
30*c66ec88fSEmmanuel Vadot			regulator-name = "lp8733-buck0";
31*c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <800000>;
32*c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1400000>;
33*c66ec88fSEmmanuel Vadot			regulator-min-microamp = <1500000>;
34*c66ec88fSEmmanuel Vadot			regulator-max-microamp = <4000000>;
35*c66ec88fSEmmanuel Vadot			regulator-ramp-delay = <10000>;
36*c66ec88fSEmmanuel Vadot			regulator-always-on;
37*c66ec88fSEmmanuel Vadot			regulator-boot-on;
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot
40*c66ec88fSEmmanuel Vadot		lp8733_buck1: buck1 {
41*c66ec88fSEmmanuel Vadot			regulator-name = "lp8733-buck1";
42*c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <800000>;
43*c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <1400000>;
44*c66ec88fSEmmanuel Vadot			regulator-min-microamp = <1500000>;
45*c66ec88fSEmmanuel Vadot			regulator-max-microamp = <4000000>;
46*c66ec88fSEmmanuel Vadot			regulator-ramp-delay = <10000>;
47*c66ec88fSEmmanuel Vadot			regulator-boot-on;
48*c66ec88fSEmmanuel Vadot			regulator-always-on;
49*c66ec88fSEmmanuel Vadot		};
50*c66ec88fSEmmanuel Vadot
51*c66ec88fSEmmanuel Vadot		lp8733_ldo0: ldo0 {
52*c66ec88fSEmmanuel Vadot			regulator-name = "lp8733-ldo0";
53*c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <800000>;
54*c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
55*c66ec88fSEmmanuel Vadot			regulator-boot-on;
56*c66ec88fSEmmanuel Vadot			regulator-always-on;
57*c66ec88fSEmmanuel Vadot		};
58*c66ec88fSEmmanuel Vadot
59*c66ec88fSEmmanuel Vadot		lp8733_ldo1: ldo1 {
60*c66ec88fSEmmanuel Vadot			regulator-name = "lp8733-ldo1";
61*c66ec88fSEmmanuel Vadot			regulator-min-microvolt = <800000>;
62*c66ec88fSEmmanuel Vadot			regulator-max-microvolt = <3000000>;
63*c66ec88fSEmmanuel Vadot			regulator-always-on;
64*c66ec88fSEmmanuel Vadot			regulator-boot-on;
65*c66ec88fSEmmanuel Vadot		};
66*c66ec88fSEmmanuel Vadot	};
67*c66ec88fSEmmanuel Vadot};
68