xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/rn5t618.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Ricoh RN5T567/RN5T618 PMIC
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRicoh RN5T567/RN5T618/RC5T619 is a power management IC family which
4*c66ec88fSEmmanuel Vadotintegrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropout regulators,
5*c66ec88fSEmmanuel VadotGPIOs, and a watchdog timer. It can be controlled through an I2C interface.
6*c66ec88fSEmmanuel VadotThe RN5T618/RC5T619 provides additionally a Li-ion battery charger,
7*c66ec88fSEmmanuel Vadotfuel gauge, and an ADC.
8*c66ec88fSEmmanuel VadotThe RC5T619 additionnally includes USB charger detection and an RTC.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired properties:
11*c66ec88fSEmmanuel Vadot - compatible: must be one of
12*c66ec88fSEmmanuel Vadot		"ricoh,rn5t567"
13*c66ec88fSEmmanuel Vadot		"ricoh,rn5t618"
14*c66ec88fSEmmanuel Vadot		"ricoh,rc5t619"
15*c66ec88fSEmmanuel Vadot - reg: the I2C slave address of the device
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotOptional properties:
18*c66ec88fSEmmanuel Vadot - interrupts: interrupt mapping for IRQ
19*c66ec88fSEmmanuel Vadot   See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20*c66ec88fSEmmanuel Vadot - system-power-controller:
21*c66ec88fSEmmanuel Vadot   See Documentation/devicetree/bindings/power/power-controller.txt
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel VadotSub-nodes:
24*c66ec88fSEmmanuel Vadot - regulators: the node is required if the regulator functionality is
25*c66ec88fSEmmanuel Vadot   needed. The valid regulator names are: DCDC1, DCDC2, DCDC3, DCDC4
26*c66ec88fSEmmanuel Vadot   (RN5T567/RC5T619), LDO1, LDO2, LDO3, LDO4, LDO5, LDO6, LDO7, LDO8,
27*c66ec88fSEmmanuel Vadot   LDO9, LDO10, LDORTC1 and LDORTC2.
28*c66ec88fSEmmanuel Vadot   LDO7-10 are specific to RC5T619.
29*c66ec88fSEmmanuel Vadot   The common bindings for each individual regulator can be found in:
30*c66ec88fSEmmanuel Vadot   Documentation/devicetree/bindings/regulator/regulator.txt
31*c66ec88fSEmmanuel Vadot
32*c66ec88fSEmmanuel VadotExample:
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	pmic@32 {
35*c66ec88fSEmmanuel Vadot		compatible = "ricoh,rn5t618";
36*c66ec88fSEmmanuel Vadot		reg = <0x32>;
37*c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio5>;
38*c66ec88fSEmmanuel Vadot		interrupts = <11 IRQ_TYPE_EDGE_FALLING>;
39*c66ec88fSEmmanuel Vadot		system-power-controller;
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot		regulators {
42*c66ec88fSEmmanuel Vadot			DCDC1 {
43*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1050000>;
44*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1050000>;
45*c66ec88fSEmmanuel Vadot			};
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot			DCDC2 {
48*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <1175000>;
49*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <1175000>;
50*c66ec88fSEmmanuel Vadot			};
51*c66ec88fSEmmanuel Vadot		};
52*c66ec88fSEmmanuel Vadot	};
53