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