xref: /openbmc/linux/Documentation/devicetree/bindings/regulator/tps6586x.txt (revision e5451c8f8330e03ad3cfa16048b4daf961af434f)
162f6b087SThierry RedingTPS6586x family of regulators
262f6b087SThierry Reding
362f6b087SThierry RedingRequired properties:
462f6b087SThierry Reding- compatible: "ti,tps6586x"
562f6b087SThierry Reding- reg: I2C slave address
662f6b087SThierry Reding- interrupts: the interrupt outputs of the controller
762f6b087SThierry Reding- #gpio-cells: number of cells to describe a GPIO
862f6b087SThierry Reding- gpio-controller: mark the device as a GPIO controller
9*3006b8d6SStephen Warren- regulators: A node that houses a sub-node for each regulator within the
10*3006b8d6SStephen Warren  device. Each sub-node is identified using the node's name (or the deprecated
11*3006b8d6SStephen Warren  regulator-compatible property if present), with valid values listed below.
12*3006b8d6SStephen Warren  The content of each sub-node is defined by the standard binding for
13*3006b8d6SStephen Warren  regulators; see regulator.txt.
149394b80cSLaxman Dewangan  sys, sm[0-2], ldo[0-9] and ldo_rtc
159394b80cSLaxman Dewangan- sys-supply: The input supply for SYS.
167f852e05SLaxman Dewangan- vin-sm0-supply: The input supply for the SM0.
177f852e05SLaxman Dewangan- vin-sm1-supply: The input supply for the SM1.
187f852e05SLaxman Dewangan- vin-sm2-supply: The input supply for the SM2.
197c7fac30SLaxman Dewangan- vinldo01-supply: The input supply for the LDO1 and LDO2
207c7fac30SLaxman Dewangan- vinldo23-supply: The input supply for the LDO2 and LDO3
217c7fac30SLaxman Dewangan- vinldo4-supply: The input supply for the LDO4
227c7fac30SLaxman Dewangan- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
237c7fac30SLaxman Dewangan- vinldo9-supply: The input supply for the LDO9
2462f6b087SThierry Reding
25004c15a6SBill HuangOptional properties:
26004c15a6SBill Huang- ti,system-power-controller: Telling whether or not this pmic is controlling
27004c15a6SBill Huang  the system power.
28004c15a6SBill Huang
2962f6b087SThierry RedingEach regulator is defined using the standard binding for regulators.
3062f6b087SThierry Reding
319394b80cSLaxman DewanganNote: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
329394b80cSLaxman Dewangan      take care of making proper parent child relationship.
339394b80cSLaxman Dewangan
3462f6b087SThierry RedingExample:
3562f6b087SThierry Reding
3662f6b087SThierry Reding	pmu: tps6586x@34 {
3762f6b087SThierry Reding		compatible = "ti,tps6586x";
3862f6b087SThierry Reding		reg = <0x34>;
3962f6b087SThierry Reding		interrupts = <0 88 0x4>;
4062f6b087SThierry Reding
4162f6b087SThierry Reding		#gpio-cells = <2>;
4262f6b087SThierry Reding		gpio-controller;
4362f6b087SThierry Reding
44004c15a6SBill Huang		ti,system-power-controller;
45004c15a6SBill Huang
469394b80cSLaxman Dewangan		sys-supply = <&some_reg>;
477f852e05SLaxman Dewangan		vin-sm0-supply = <&some_reg>;
487f852e05SLaxman Dewangan		vin-sm1-supply = <&some_reg>;
497f852e05SLaxman Dewangan		vin-sm2-supply = <&some_reg>;
507c7fac30SLaxman Dewangan		vinldo01-supply = <...>;
517c7fac30SLaxman Dewangan		vinldo23-supply = <...>;
527c7fac30SLaxman Dewangan		vinldo4-supply = <...>;
537c7fac30SLaxman Dewangan		vinldo678-supply = <...>;
547c7fac30SLaxman Dewangan		vinldo9-supply = <...>;
557c7fac30SLaxman Dewangan
5662f6b087SThierry Reding		regulators {
57*3006b8d6SStephen Warren			sys_reg: sys {
589394b80cSLaxman Dewangan				regulator-name = "vdd_sys";
599394b80cSLaxman Dewangan				regulator-boot-on;
609394b80cSLaxman Dewangan				regulator-always-on;
619394b80cSLaxman Dewangan			};
629394b80cSLaxman Dewangan
63*3006b8d6SStephen Warren			sm0_reg: sm0 {
6462f6b087SThierry Reding				regulator-min-microvolt = < 725000>;
6562f6b087SThierry Reding				regulator-max-microvolt = <1500000>;
6662f6b087SThierry Reding				regulator-boot-on;
6762f6b087SThierry Reding				regulator-always-on;
6862f6b087SThierry Reding			};
6962f6b087SThierry Reding
70*3006b8d6SStephen Warren			sm1_reg: sm1 {
7162f6b087SThierry Reding				regulator-min-microvolt = < 725000>;
7262f6b087SThierry Reding				regulator-max-microvolt = <1500000>;
7362f6b087SThierry Reding				regulator-boot-on;
7462f6b087SThierry Reding				regulator-always-on;
7562f6b087SThierry Reding			};
7662f6b087SThierry Reding
77*3006b8d6SStephen Warren			sm2_reg: sm2 {
7862f6b087SThierry Reding				regulator-min-microvolt = <3000000>;
7962f6b087SThierry Reding				regulator-max-microvolt = <4550000>;
8062f6b087SThierry Reding				regulator-boot-on;
8162f6b087SThierry Reding				regulator-always-on;
8262f6b087SThierry Reding			};
8362f6b087SThierry Reding
84*3006b8d6SStephen Warren			ldo0_reg: ldo0 {
8562f6b087SThierry Reding				regulator-name = "PCIE CLK";
8662f6b087SThierry Reding				regulator-min-microvolt = <3300000>;
8762f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
8862f6b087SThierry Reding			};
8962f6b087SThierry Reding
90*3006b8d6SStephen Warren			ldo1_reg: ldo1 {
9162f6b087SThierry Reding				regulator-min-microvolt = < 725000>;
9262f6b087SThierry Reding				regulator-max-microvolt = <1500000>;
9362f6b087SThierry Reding			};
9462f6b087SThierry Reding
95*3006b8d6SStephen Warren			ldo2_reg: ldo2 {
9662f6b087SThierry Reding				regulator-min-microvolt = < 725000>;
9762f6b087SThierry Reding				regulator-max-microvolt = <1500000>;
9862f6b087SThierry Reding			};
9962f6b087SThierry Reding
100*3006b8d6SStephen Warren			ldo3_reg: ldo3 {
10162f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
10262f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
10362f6b087SThierry Reding			};
10462f6b087SThierry Reding
105*3006b8d6SStephen Warren			ldo4_reg: ldo4 {
10662f6b087SThierry Reding				regulator-min-microvolt = <1700000>;
10762f6b087SThierry Reding				regulator-max-microvolt = <2475000>;
10862f6b087SThierry Reding			};
10962f6b087SThierry Reding
110*3006b8d6SStephen Warren			ldo5_reg: ldo5 {
11162f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
11262f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
11362f6b087SThierry Reding			};
11462f6b087SThierry Reding
115*3006b8d6SStephen Warren			ldo6_reg: ldo6 {
11662f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
11762f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
11862f6b087SThierry Reding			};
11962f6b087SThierry Reding
120*3006b8d6SStephen Warren			ldo7_reg: ldo7 {
12162f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
12262f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
12362f6b087SThierry Reding			};
12462f6b087SThierry Reding
125*3006b8d6SStephen Warren			ldo8_reg: ldo8 {
12662f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
12762f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
12862f6b087SThierry Reding			};
12962f6b087SThierry Reding
130*3006b8d6SStephen Warren			ldo9_reg: ldo9 {
13162f6b087SThierry Reding				regulator-min-microvolt = <1250000>;
13262f6b087SThierry Reding				regulator-max-microvolt = <3300000>;
13362f6b087SThierry Reding			};
13462f6b087SThierry Reding		};
13562f6b087SThierry Reding	};
136