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
30 gpio-controller: true
32 "#gpio-cells":
36 flags. See ../gpio/gpio.txt for more information.
41 "#clock-cells":
44 clock-output-names:
45 const: bd71828-32k-out
47 rohm,clkout-open-drain:
48 description: clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".
53 rohm,charger-sense-resistor-ohms:
63 $ref: ../regulator/rohm,bd71828-regulator.yaml
68 $ref: ../leds/rohm,bd71828-leds.yaml
70 gpio-reserved-ranges:
72 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
73 used to mark the pins which should not be configured for GPIO. Please see
74 the ../gpio/gpio.txt for more information.
77 - compatible
78 - reg
79 - interrupts
80 - clocks
81 - "#clock-cells"
82 - regulators
83 - gpio-controller
84 - "#gpio-cells"
89 - |
90 #include <dt-bindings/interrupt-controller/irq.h>
91 #include <dt-bindings/leds/common.h>
93 #address-cells = <1>;
94 #size-cells = <0>;
99 interrupt-parent = <&gpio1>;
103 #clock-cells = <0>;
104 clock-output-names = "bd71828-32k-out";
106 gpio-controller;
107 #gpio-cells = <2>;
108 gpio-reserved-ranges = <0 1>, <2 1>;
110 rohm,charger-sense-resistor-ohms = <10000000>;
114 regulator-name = "buck1";
115 regulator-min-microvolt = <500000>;
116 regulator-max-microvolt = <2000000>;
117 regulator-ramp-delay = <2500>;
120 regulator-name = "buck2";
121 regulator-min-microvolt = <500000>;
122 regulator-max-microvolt = <2000000>;
123 regulator-ramp-delay = <2500>;
126 regulator-name = "buck3";
127 regulator-min-microvolt = <1200000>;
128 regulator-max-microvolt = <2000000>;
131 regulator-name = "buck4";
132 regulator-min-microvolt = <1000000>;
133 regulator-max-microvolt = <1800000>;
136 regulator-name = "buck5";
137 regulator-min-microvolt = <2500000>;
138 regulator-max-microvolt = <3300000>;
141 regulator-name = "buck6";
142 regulator-min-microvolt = <500000>;
143 regulator-max-microvolt = <2000000>;
144 regulator-ramp-delay = <2500>;
147 regulator-name = "buck7";
148 regulator-min-microvolt = <500000>;
149 regulator-max-microvolt = <2000000>;
150 regulator-ramp-delay = <2500>;
153 regulator-name = "ldo1";
154 regulator-min-microvolt = <800000>;
155 regulator-max-microvolt = <3300000>;
158 regulator-name = "ldo2";
159 regulator-min-microvolt = <800000>;
160 regulator-max-microvolt = <3300000>;
163 regulator-name = "ldo3";
164 regulator-min-microvolt = <800000>;
165 regulator-max-microvolt = <3300000>;
168 regulator-name = "ldo4";
169 regulator-min-microvolt = <800000>;
170 regulator-max-microvolt = <3300000>;
173 regulator-name = "ldo5";
174 regulator-min-microvolt = <800000>;
175 regulator-max-microvolt = <3300000>;
178 regulator-name = "ldo6";
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
183 regulator-name = "ldo7";
184 regulator-min-microvolt = <800000>;
185 regulator-max-microvolt = <3300000>;
190 compatible = "rohm,bd71828-leds";
192 led-1 {
193 rohm,led-compatible = "bd71828-grnled";
197 led-2 {
198 rohm,led-compatible = "bd71828-ambled";