xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/tps6586x.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotTPS6586x family of regulators
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "ti,tps6586x"
5*c66ec88fSEmmanuel Vadot- reg: I2C slave address
6*c66ec88fSEmmanuel Vadot- interrupts: the interrupt outputs of the controller
7*c66ec88fSEmmanuel Vadot- #gpio-cells: number of cells to describe a GPIO
8*c66ec88fSEmmanuel Vadot- gpio-controller: mark the device as a GPIO controller
9*c66ec88fSEmmanuel Vadot- regulators: A node that houses a sub-node for each regulator within the
10*c66ec88fSEmmanuel Vadot  device. Each sub-node is identified using the node's name (or the deprecated
11*c66ec88fSEmmanuel Vadot  regulator-compatible property if present), with valid values listed below.
12*c66ec88fSEmmanuel Vadot  The content of each sub-node is defined by the standard binding for
13*c66ec88fSEmmanuel Vadot  regulators; see regulator.txt.
14*c66ec88fSEmmanuel Vadot  sys, sm[0-2], ldo[0-9] and ldo_rtc
15*c66ec88fSEmmanuel Vadot- sys-supply: The input supply for SYS.
16*c66ec88fSEmmanuel Vadot- vin-sm0-supply: The input supply for the SM0.
17*c66ec88fSEmmanuel Vadot- vin-sm1-supply: The input supply for the SM1.
18*c66ec88fSEmmanuel Vadot- vin-sm2-supply: The input supply for the SM2.
19*c66ec88fSEmmanuel Vadot- vinldo01-supply: The input supply for the LDO1 and LDO2
20*c66ec88fSEmmanuel Vadot- vinldo23-supply: The input supply for the LDO2 and LDO3
21*c66ec88fSEmmanuel Vadot- vinldo4-supply: The input supply for the LDO4
22*c66ec88fSEmmanuel Vadot- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8
23*c66ec88fSEmmanuel Vadot- vinldo9-supply: The input supply for the LDO9
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotOptional properties:
26*c66ec88fSEmmanuel Vadot- ti,system-power-controller: Telling whether or not this pmic is controlling
27*c66ec88fSEmmanuel Vadot  the system power.
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel VadotEach regulator is defined using the standard binding for regulators.
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel VadotNote: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver
32*c66ec88fSEmmanuel Vadot      take care of making proper parent child relationship.
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel VadotExample:
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadot	pmu: tps6586x@34 {
37*c66ec88fSEmmanuel Vadot		compatible = "ti,tps6586x";
38*c66ec88fSEmmanuel Vadot		reg = <0x34>;
39*c66ec88fSEmmanuel Vadot		interrupts = <0 88 0x4>;
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
42*c66ec88fSEmmanuel Vadot		gpio-controller;
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot		ti,system-power-controller;
45*c66ec88fSEmmanuel Vadot
46*c66ec88fSEmmanuel Vadot		sys-supply = <&some_reg>;
47*c66ec88fSEmmanuel Vadot		vin-sm0-supply = <&some_reg>;
48*c66ec88fSEmmanuel Vadot		vin-sm1-supply = <&some_reg>;
49*c66ec88fSEmmanuel Vadot		vin-sm2-supply = <&some_reg>;
50*c66ec88fSEmmanuel Vadot		vinldo01-supply = <...>;
51*c66ec88fSEmmanuel Vadot		vinldo23-supply = <...>;
52*c66ec88fSEmmanuel Vadot		vinldo4-supply = <...>;
53*c66ec88fSEmmanuel Vadot		vinldo678-supply = <...>;
54*c66ec88fSEmmanuel Vadot		vinldo9-supply = <...>;
55*c66ec88fSEmmanuel Vadot
56*c66ec88fSEmmanuel Vadot		regulators {
57*c66ec88fSEmmanuel Vadot			sys_reg: sys {
58*c66ec88fSEmmanuel Vadot				regulator-name = "vdd_sys";
59*c66ec88fSEmmanuel Vadot				regulator-boot-on;
60*c66ec88fSEmmanuel Vadot				regulator-always-on;
61*c66ec88fSEmmanuel Vadot			};
62*c66ec88fSEmmanuel Vadot
63*c66ec88fSEmmanuel Vadot			sm0_reg: sm0 {
64*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = < 725000>;
65*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
66*c66ec88fSEmmanuel Vadot				regulator-boot-on;
67*c66ec88fSEmmanuel Vadot				regulator-always-on;
68*c66ec88fSEmmanuel Vadot			};
69*c66ec88fSEmmanuel Vadot
70*c66ec88fSEmmanuel Vadot			sm1_reg: sm1 {
71*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = < 725000>;
72*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
73*c66ec88fSEmmanuel Vadot				regulator-boot-on;
74*c66ec88fSEmmanuel Vadot				regulator-always-on;
75*c66ec88fSEmmanuel Vadot			};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot			sm2_reg: sm2 {
78*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3000000>;
79*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <4550000>;
80*c66ec88fSEmmanuel Vadot				regulator-boot-on;
81*c66ec88fSEmmanuel Vadot				regulator-always-on;
82*c66ec88fSEmmanuel Vadot			};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadot			ldo0_reg: ldo0 {
85*c66ec88fSEmmanuel Vadot				regulator-name = "PCIE CLK";
86*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <3300000>;
87*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
88*c66ec88fSEmmanuel Vadot			};
89*c66ec88fSEmmanuel Vadot
90*c66ec88fSEmmanuel Vadot			ldo1_reg: ldo1 {
91*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = < 725000>;
92*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
93*c66ec88fSEmmanuel Vadot			};
94*c66ec88fSEmmanuel Vadot
95*c66ec88fSEmmanuel Vadot			ldo2_reg: ldo2 {
96*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = < 725000>;
97*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1500000>;
98*c66ec88fSEmmanuel Vadot			};
99*c66ec88fSEmmanuel Vadot
100*c66ec88fSEmmanuel Vadot			ldo3_reg: ldo3 {
101*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
102*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
103*c66ec88fSEmmanuel Vadot			};
104*c66ec88fSEmmanuel Vadot
105*c66ec88fSEmmanuel Vadot			ldo4_reg: ldo4 {
106*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1700000>;
107*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <2475000>;
108*c66ec88fSEmmanuel Vadot			};
109*c66ec88fSEmmanuel Vadot
110*c66ec88fSEmmanuel Vadot			ldo5_reg: ldo5 {
111*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
112*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
113*c66ec88fSEmmanuel Vadot			};
114*c66ec88fSEmmanuel Vadot
115*c66ec88fSEmmanuel Vadot			ldo6_reg: ldo6 {
116*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
117*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
118*c66ec88fSEmmanuel Vadot			};
119*c66ec88fSEmmanuel Vadot
120*c66ec88fSEmmanuel Vadot			ldo7_reg: ldo7 {
121*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
122*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
123*c66ec88fSEmmanuel Vadot			};
124*c66ec88fSEmmanuel Vadot
125*c66ec88fSEmmanuel Vadot			ldo8_reg: ldo8 {
126*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
127*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
128*c66ec88fSEmmanuel Vadot			};
129*c66ec88fSEmmanuel Vadot
130*c66ec88fSEmmanuel Vadot			ldo9_reg: ldo9 {
131*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1250000>;
132*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
133*c66ec88fSEmmanuel Vadot			};
134*c66ec88fSEmmanuel Vadot		};
135*c66ec88fSEmmanuel Vadot	};
136