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.
45 const: bd71828-32k-out
47 rohm,charger-sense-resistor-ohms:
51 BD71827 and BD71828 have SAR ADC for measuring charging currents.
52 External sense resistor (RSENSE in data sheet) should be used. If some
53 other but 30MOhm resistor is used the resistance value should be given
57 $ref: ../regulator/rohm,bd71828-regulator.yaml
59 List of child nodes that specify the regulators.
62 $ref: ../leds/rohm,bd71828-leds.yaml
66 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
67 used to mark the pins which should not be configured for GPIO. Please see
68 the ../gpio/gpio.txt for more information.
80 additionalProperties: false
84 #include <dt-bindings/interrupt-controller/irq.h>
85 #include <dt-bindings/leds/common.h>
90 compatible = "rohm,bd71828";
93 interrupt-parent = <&gpio1>;
94 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
98 clock-output-names = "bd71828-32k-out";
102 gpio-reserved-ranges = <0 1>, <2 1>;
104 rohm,charger-sense-resistor-ohms = <10000000>;
108 regulator-name = "buck1";
109 regulator-min-microvolt = <500000>;
110 regulator-max-microvolt = <2000000>;
111 regulator-ramp-delay = <2500>;
114 regulator-name = "buck2";
115 regulator-min-microvolt = <500000>;
116 regulator-max-microvolt = <2000000>;
117 regulator-ramp-delay = <2500>;
120 regulator-name = "buck3";
121 regulator-min-microvolt = <1200000>;
122 regulator-max-microvolt = <2000000>;
125 regulator-name = "buck4";
126 regulator-min-microvolt = <1000000>;
127 regulator-max-microvolt = <1800000>;
130 regulator-name = "buck5";
131 regulator-min-microvolt = <2500000>;
132 regulator-max-microvolt = <3300000>;
135 regulator-name = "buck6";
136 regulator-min-microvolt = <500000>;
137 regulator-max-microvolt = <2000000>;
138 regulator-ramp-delay = <2500>;
141 regulator-name = "buck7";
142 regulator-min-microvolt = <500000>;
143 regulator-max-microvolt = <2000000>;
144 regulator-ramp-delay = <2500>;
147 regulator-name = "ldo1";
148 regulator-min-microvolt = <800000>;
149 regulator-max-microvolt = <3300000>;
152 regulator-name = "ldo2";
153 regulator-min-microvolt = <800000>;
154 regulator-max-microvolt = <3300000>;
157 regulator-name = "ldo3";
158 regulator-min-microvolt = <800000>;
159 regulator-max-microvolt = <3300000>;
162 regulator-name = "ldo4";
163 regulator-min-microvolt = <800000>;
164 regulator-max-microvolt = <3300000>;
167 regulator-name = "ldo5";
168 regulator-min-microvolt = <800000>;
169 regulator-max-microvolt = <3300000>;
172 regulator-name = "ldo6";
173 regulator-min-microvolt = <1800000>;
174 regulator-max-microvolt = <1800000>;
177 regulator-name = "ldo7";
178 regulator-min-microvolt = <800000>;
179 regulator-max-microvolt = <3300000>;
184 compatible = "rohm,bd71828-leds";
187 rohm,led-compatible = "bd71828-grnled";
188 function = LED_FUNCTION_INDICATOR;
189 color = <LED_COLOR_ID_GREEN>;
192 rohm,led-compatible = "bd71828-ambled";
193 function = LED_FUNCTION_CHARGING;
194 color = <LED_COLOR_ID_AMBER>;