xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/rohm,bd70528-pmic.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* ROHM BD70528 Power Management Integrated Circuit bindings
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunBD70528MWV is an ultra-low quiescent current general purpose, single-chip,
4*4882a593Smuzhiyunpower management IC for battery-powered portable devices. The IC
5*4882a593Smuzhiyunintegrates 3 ultra-low current consumption buck converters, 3 LDOs and 2
6*4882a593SmuzhiyunLED Drivers. Also included are 4 GPIOs, a real-time clock (RTC), a 32kHz
7*4882a593Smuzhiyunclock gate, high-accuracy VREF for use with an external ADC, flexible
8*4882a593Smuzhiyundual-input power path, 10 bit SAR ADC for battery temperature monitor and
9*4882a593Smuzhiyun1S battery charger with scalable charge currents.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunRequired properties:
12*4882a593Smuzhiyun - compatible		: Should be "rohm,bd70528"
13*4882a593Smuzhiyun - reg			: I2C slave address.
14*4882a593Smuzhiyun - interrupts		: The interrupt line the device is connected to.
15*4882a593Smuzhiyun - interrupt-controller	: To indicate BD70528 acts as an interrupt controller.
16*4882a593Smuzhiyun - #interrupt-cells	: Should be 2. Usage is compliant to the 2 cells
17*4882a593Smuzhiyun			  variant of ../interrupt-controller/interrupts.txt
18*4882a593Smuzhiyun - gpio-controller	: To indicate BD70528 acts as a GPIO controller.
19*4882a593Smuzhiyun - #gpio-cells		: Should be 2. The first cell is the pin number and
20*4882a593Smuzhiyun			  the second cell is used to specify flags. See
21*4882a593Smuzhiyun			  ../gpio/gpio.txt for more information.
22*4882a593Smuzhiyun - #clock-cells		: Should be 0.
23*4882a593Smuzhiyun - regulators:		: List of child nodes that specify the regulators.
24*4882a593Smuzhiyun			  Please see ../regulator/rohm,bd70528-regulator.txt
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunOptional properties:
27*4882a593Smuzhiyun - clock-output-names	: Should contain name for output clock.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunExample:
30*4882a593Smuzhiyun/* External oscillator */
31*4882a593Smuzhiyunosc: oscillator {
32*4882a593Smuzhiyun	compatible = "fixed-clock";
33*4882a593Smuzhiyun	#clock-cells = <1>;
34*4882a593Smuzhiyun	clock-frequency  = <32768>;
35*4882a593Smuzhiyun	clock-output-names = "osc";
36*4882a593Smuzhiyun};
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunpmic: pmic@4b {
39*4882a593Smuzhiyun	compatible = "rohm,bd70528";
40*4882a593Smuzhiyun	reg = <0x4b>;
41*4882a593Smuzhiyun	interrupt-parent = <&gpio1>;
42*4882a593Smuzhiyun	interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
43*4882a593Smuzhiyun	clocks = <&osc 0>;
44*4882a593Smuzhiyun	#clock-cells = <0>;
45*4882a593Smuzhiyun	clock-output-names = "bd70528-32k-out";
46*4882a593Smuzhiyun	#gpio-cells = <2>;
47*4882a593Smuzhiyun	gpio-controller;
48*4882a593Smuzhiyun	interrupt-controller;
49*4882a593Smuzhiyun	#interrupt-cells = <2>;
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun	regulators {
52*4882a593Smuzhiyun		buck1: BUCK1 {
53*4882a593Smuzhiyun			regulator-name = "buck1";
54*4882a593Smuzhiyun			regulator-min-microvolt = <1200000>;
55*4882a593Smuzhiyun			regulator-max-microvolt = <3400000>;
56*4882a593Smuzhiyun			regulator-boot-on;
57*4882a593Smuzhiyun			regulator-ramp-delay = <125>;
58*4882a593Smuzhiyun		};
59*4882a593Smuzhiyun		buck2: BUCK2 {
60*4882a593Smuzhiyun			regulator-name = "buck2";
61*4882a593Smuzhiyun			regulator-min-microvolt = <1200000>;
62*4882a593Smuzhiyun			regulator-max-microvolt = <3300000>;
63*4882a593Smuzhiyun			regulator-boot-on;
64*4882a593Smuzhiyun			regulator-ramp-delay = <125>;
65*4882a593Smuzhiyun		};
66*4882a593Smuzhiyun		buck3: BUCK3 {
67*4882a593Smuzhiyun			regulator-name = "buck3";
68*4882a593Smuzhiyun			regulator-min-microvolt = <800000>;
69*4882a593Smuzhiyun			regulator-max-microvolt = <1800000>;
70*4882a593Smuzhiyun			regulator-boot-on;
71*4882a593Smuzhiyun			regulator-ramp-delay = <250>;
72*4882a593Smuzhiyun		};
73*4882a593Smuzhiyun		ldo1: LDO1 {
74*4882a593Smuzhiyun			regulator-name = "ldo1";
75*4882a593Smuzhiyun			regulator-min-microvolt = <1650000>;
76*4882a593Smuzhiyun			regulator-max-microvolt = <3300000>;
77*4882a593Smuzhiyun			regulator-boot-on;
78*4882a593Smuzhiyun		};
79*4882a593Smuzhiyun		ldo2: LDO2 {
80*4882a593Smuzhiyun			regulator-name = "ldo2";
81*4882a593Smuzhiyun			regulator-min-microvolt = <1650000>;
82*4882a593Smuzhiyun			regulator-max-microvolt = <3300000>;
83*4882a593Smuzhiyun			regulator-boot-on;
84*4882a593Smuzhiyun		};
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun		ldo3: LDO3 {
87*4882a593Smuzhiyun			regulator-name = "ldo3";
88*4882a593Smuzhiyun			regulator-min-microvolt = <1650000>;
89*4882a593Smuzhiyun			regulator-max-microvolt = <3300000>;
90*4882a593Smuzhiyun		};
91*4882a593Smuzhiyun		led_ldo1: LED_LDO1 {
92*4882a593Smuzhiyun			regulator-name = "led_ldo1";
93*4882a593Smuzhiyun			regulator-min-microvolt = <200000>;
94*4882a593Smuzhiyun			regulator-max-microvolt = <300000>;
95*4882a593Smuzhiyun		};
96*4882a593Smuzhiyun		led_ldo2: LED_LDO2 {
97*4882a593Smuzhiyun			regulator-name = "led_ldo2";
98*4882a593Smuzhiyun			regulator-min-microvolt = <200000>;
99*4882a593Smuzhiyun			regulator-max-microvolt = <300000>;
100*4882a593Smuzhiyun		};
101*4882a593Smuzhiyun	};
102*4882a593Smuzhiyun};
103