1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD71828 Power Management Integrated Circuit bindings
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD71828GW is a single-chip power management IC for battery-powered portable
14 devices. The IC integrates 7 buck converters, 7 LDOs, and a 1500 mA
15 single-cell linear charger. Also included is a Coulomb counter, a real-time
16 clock (RTC), and a 32.768 kHz clock gate.
35 The first cell is the pin number and the second cell is used to specify
36 flags. See ../gpio/gpio.txt for more information.
44 rohm,charger-sense-resistor-ohms:
48 BD71827 and BD71828 have SAR ADC for measuring charging currents.
49 External sense resistor (RSENSE in data sheet) should be used. If some
50 other but 30MOhm resistor is used the resistance value should be given
54 $ref: ../regulator/rohm,bd71828-regulator.yaml
56 List of child nodes that specify the regulators.
59 $ref: ../leds/rohm,bd71828-leds.yaml
63 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
64 used to mark the pins which should not be configured for GPIO. Please see
65 the ../gpio/gpio.txt for more information.
79 #include <dt-bindings/interrupt-controller/irq.h>
80 #include <dt-bindings/leds/common.h>
85 compatible = "rohm,bd71828";
88 interrupt-parent = <&gpio1>;
89 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
93 clock-output-names = "bd71828-32k-out";
97 gpio-reserved-ranges = <0 1>, <2 1>;
99 rohm,charger-sense-resistor-ohms = <10000000>;
103 regulator-name = "buck1";
104 regulator-min-microvolt = <500000>;
105 regulator-max-microvolt = <2000000>;
106 regulator-ramp-delay = <2500>;
109 regulator-name = "buck2";
110 regulator-min-microvolt = <500000>;
111 regulator-max-microvolt = <2000000>;
112 regulator-ramp-delay = <2500>;
115 regulator-name = "buck3";
116 regulator-min-microvolt = <1200000>;
117 regulator-max-microvolt = <2000000>;
120 regulator-name = "buck4";
121 regulator-min-microvolt = <1000000>;
122 regulator-max-microvolt = <1800000>;
125 regulator-name = "buck5";
126 regulator-min-microvolt = <2500000>;
127 regulator-max-microvolt = <3300000>;
130 regulator-name = "buck6";
131 regulator-min-microvolt = <500000>;
132 regulator-max-microvolt = <2000000>;
133 regulator-ramp-delay = <2500>;
136 regulator-name = "buck7";
137 regulator-min-microvolt = <500000>;
138 regulator-max-microvolt = <2000000>;
139 regulator-ramp-delay = <2500>;
142 regulator-name = "ldo1";
143 regulator-min-microvolt = <800000>;
144 regulator-max-microvolt = <3300000>;
147 regulator-name = "ldo2";
148 regulator-min-microvolt = <800000>;
149 regulator-max-microvolt = <3300000>;
152 regulator-name = "ldo3";
153 regulator-min-microvolt = <800000>;
154 regulator-max-microvolt = <3300000>;
157 regulator-name = "ldo4";
158 regulator-min-microvolt = <800000>;
159 regulator-max-microvolt = <3300000>;
162 regulator-name = "ldo5";
163 regulator-min-microvolt = <800000>;
164 regulator-max-microvolt = <3300000>;
167 regulator-name = "ldo6";
168 regulator-min-microvolt = <1800000>;
169 regulator-max-microvolt = <1800000>;
172 regulator-name = "ldo7";
173 regulator-min-microvolt = <800000>;
174 regulator-max-microvolt = <3300000>;
179 compatible = "rohm,bd71828-leds";
182 rohm,led-compatible = "bd71828-grnled";
183 function = LED_FUNCTION_INDICATOR;
184 color = <LED_COLOR_ID_GREEN>;
187 rohm,led-compatible = "bd71828-ambled";
188 function = LED_FUNCTION_CHARGING;
189 color = <LED_COLOR_ID_AMBER>;