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