xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/tps65086.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* TPS65086 Power Management Integrated Circuit (PMIC) bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot - compatible		: Should be "ti,tps65086".
5*c66ec88fSEmmanuel Vadot - reg			: I2C slave address.
6*c66ec88fSEmmanuel Vadot - interrupts		: The interrupt line the device is connected to.
7*c66ec88fSEmmanuel Vadot - interrupt-controller	: Marks the device node as an interrupt controller.
8*c66ec88fSEmmanuel Vadot - #interrupt-cells	: The number of cells to describe an IRQ, should be 2.
9*c66ec88fSEmmanuel Vadot			    The first cell is the IRQ number.
10*c66ec88fSEmmanuel Vadot			    The second cell is the flags, encoded as trigger
11*c66ec88fSEmmanuel Vadot			    masks from ../interrupt-controller/interrupts.txt.
12*c66ec88fSEmmanuel Vadot - gpio-controller      : Marks the device node as a GPIO Controller.
13*c66ec88fSEmmanuel Vadot - #gpio-cells          : Should be two.  The first cell is the pin number and
14*c66ec88fSEmmanuel Vadot                            the second cell is used to specify flags.
15*c66ec88fSEmmanuel Vadot                            See ../gpio/gpio.txt for more information.
16*c66ec88fSEmmanuel Vadot - regulators:          : List of child nodes that specify the regulator
17*c66ec88fSEmmanuel Vadot                            initialization data. Child nodes must be named
18*c66ec88fSEmmanuel Vadot                            after their hardware counterparts: buck[1-6],
19*c66ec88fSEmmanuel Vadot                            ldoa[1-3], swa1, swb[1-2], and vtt. Each child
20*c66ec88fSEmmanuel Vadot                            node is defined using the standard binding for
21*c66ec88fSEmmanuel Vadot                            regulators and the optional regulator properties
22*c66ec88fSEmmanuel Vadot                            defined below.
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotOptional regulator properties:
25*c66ec88fSEmmanuel Vadot - ti,regulator-step-size-25mv	: This is applicable for buck[1-6], set this
26*c66ec88fSEmmanuel Vadot				    if the regulator is factory set with a 25mv
27*c66ec88fSEmmanuel Vadot				    step voltage mapping.
28*c66ec88fSEmmanuel Vadot - ti,regulator-decay		: This is applicable for buck[1-6], set this if
29*c66ec88fSEmmanuel Vadot				    the output needs to decay, default is for
30*c66ec88fSEmmanuel Vadot				    the output to slew down.
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel VadotExample:
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	pmic: tps65086@5e {
35*c66ec88fSEmmanuel Vadot		compatible = "ti,tps65086";
36*c66ec88fSEmmanuel Vadot		reg = <0x5e>;
37*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
38*c66ec88fSEmmanuel Vadot		interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
39*c66ec88fSEmmanuel Vadot		interrupt-controller;
40*c66ec88fSEmmanuel Vadot		#interrupt-cells = <2>;
41*c66ec88fSEmmanuel Vadot		gpio-controller;
42*c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot		regulators {
45*c66ec88fSEmmanuel Vadot			buck1 {
46*c66ec88fSEmmanuel Vadot				regulator-name = "vcc1";
47*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1600000>;
48*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1600000>;
49*c66ec88fSEmmanuel Vadot				regulator-boot-on;
50*c66ec88fSEmmanuel Vadot				ti,regulator-decay;
51*c66ec88fSEmmanuel Vadot				ti,regulator-step-size-25mv;
52*c66ec88fSEmmanuel Vadot			};
53*c66ec88fSEmmanuel Vadot		};
54*c66ec88fSEmmanuel Vadot	};
55