Lines Matching +full:regulator +full:- +full:gpio
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
13 BD71828GW is a single-chip power management IC for battery-powered portable
15 single-cell linear charger. Also included is a Coulomb counter, a real-time
21 - const: rohm,bd71828
23 - items:
24 - const: rohm,bd71879
25 - const: rohm,bd71828
35 gpio-controller: true
37 "#gpio-cells":
41 flags. See ../gpio/gpio.txt for more information.
46 "#clock-cells":
49 clock-output-names:
50 const: bd71828-32k-out
52 rohm,clkout-open-drain:
53 description: clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".
58 rohm,charger-sense-resistor-ohms:
68 $ref: /schemas/regulator/rohm,bd71828-regulator.yaml
73 $ref: /schemas/leds/rohm,bd71828-leds.yaml
75 gpio-reserved-ranges:
77 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
78 used to mark the pins which should not be configured for GPIO. Please see
79 the ../gpio/gpio.txt for more information.
81 system-power-controller: true
84 - compatible
85 - reg
86 - interrupts
87 - clocks
88 - "#clock-cells"
89 - regulators
90 - gpio-controller
91 - "#gpio-cells"
96 - |
97 #include <dt-bindings/interrupt-controller/irq.h>
98 #include <dt-bindings/leds/common.h>
100 #address-cells = <1>;
101 #size-cells = <0>;
106 interrupt-parent = <&gpio1>;
110 #clock-cells = <0>;
111 clock-output-names = "bd71828-32k-out";
113 gpio-controller;
114 #gpio-cells = <2>;
115 gpio-reserved-ranges = <0 1>, <2 1>;
117 rohm,charger-sense-resistor-ohms = <10000000>;
121 regulator-name = "buck1";
122 regulator-min-microvolt = <500000>;
123 regulator-max-microvolt = <2000000>;
124 regulator-ramp-delay = <2500>;
127 regulator-name = "buck2";
128 regulator-min-microvolt = <500000>;
129 regulator-max-microvolt = <2000000>;
130 regulator-ramp-delay = <2500>;
133 regulator-name = "buck3";
134 regulator-min-microvolt = <1200000>;
135 regulator-max-microvolt = <2000000>;
138 regulator-name = "buck4";
139 regulator-min-microvolt = <1000000>;
140 regulator-max-microvolt = <1800000>;
143 regulator-name = "buck5";
144 regulator-min-microvolt = <2500000>;
145 regulator-max-microvolt = <3300000>;
148 regulator-name = "buck6";
149 regulator-min-microvolt = <500000>;
150 regulator-max-microvolt = <2000000>;
151 regulator-ramp-delay = <2500>;
154 regulator-name = "buck7";
155 regulator-min-microvolt = <500000>;
156 regulator-max-microvolt = <2000000>;
157 regulator-ramp-delay = <2500>;
160 regulator-name = "ldo1";
161 regulator-min-microvolt = <800000>;
162 regulator-max-microvolt = <3300000>;
165 regulator-name = "ldo2";
166 regulator-min-microvolt = <800000>;
167 regulator-max-microvolt = <3300000>;
170 regulator-name = "ldo3";
171 regulator-min-microvolt = <800000>;
172 regulator-max-microvolt = <3300000>;
175 regulator-name = "ldo4";
176 regulator-min-microvolt = <800000>;
177 regulator-max-microvolt = <3300000>;
180 regulator-name = "ldo5";
181 regulator-min-microvolt = <800000>;
182 regulator-max-microvolt = <3300000>;
185 regulator-name = "ldo6";
186 regulator-min-microvolt = <1800000>;
187 regulator-max-microvolt = <1800000>;
190 regulator-name = "ldo7";
191 regulator-min-microvolt = <800000>;
192 regulator-max-microvolt = <3300000>;
197 compatible = "rohm,bd71828-leds";
199 led-1 {
200 rohm,led-compatible = "bd71828-grnled";
204 led-2 {
205 rohm,led-compatible = "bd71828-ambled";