Lines Matching +full:gpio +full:- +full:always +full:- +full:on
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd71815-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
13 BD71815AGW is a single-chip power management ICs for battery-powered
15 for LED and a 500 mA single-cell linear charger. Also included is a Coulomb
16 counter, a real-time clock (RTC), and a 32.768 kHz clock gate and two GPOs.
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: bd71815-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:
64 $ref: /schemas/regulator/rohm,bd71815-regulator.yaml
68 gpio-reserved-ranges:
70 Usage of BD71828 GPIO pins can be changed via OTP. This property can be
71 used to mark the pins which should not be configured for GPIO. Please see
72 the ../gpio/gpio.txt for more information.
74 rohm,enable-hidden-gpo:
77 data-sheet as its location in the middle of GND pins makes it hard to
78 use on PCB. If your board has managed to use this pin you can enable the
80 about how the E5 pin is connected on your board.
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 = "bd71815-32k-out";
113 gpio-controller;
114 #gpio-cells = <2>;
116 rohm,charger-sense-resistor-ohms = <10000000>;
120 regulator-name = "buck1";
121 regulator-min-microvolt = <800000>;
122 regulator-max-microvolt = <2000000>;
123 regulator-always-on;
124 regulator-ramp-delay = <1250>;
125 rohm,dvs-run-voltage = <1150000>;
126 rohm,dvs-suspend-voltage = <950000>;
129 regulator-name = "buck2";
130 regulator-min-microvolt = <800000>;
131 regulator-max-microvolt = <2000000>;
132 regulator-always-on;
133 regulator-ramp-delay = <1250>;
134 rohm,dvs-run-voltage = <1150000>;
135 rohm,dvs-suspend-voltage = <950000>;
138 regulator-name = "buck3";
139 regulator-min-microvolt = <1200000>;
140 regulator-max-microvolt = <2700000>;
141 regulator-always-on;
144 regulator-name = "buck4";
145 regulator-min-microvolt = <1100000>;
146 regulator-max-microvolt = <1850000>;
147 regulator-always-on;
150 regulator-name = "buck5";
151 regulator-min-microvolt = <1800000>;
152 regulator-max-microvolt = <3300000>;
153 regulator-always-on;
156 regulator-name = "ldo1";
157 regulator-min-microvolt = <800000>;
158 regulator-max-microvolt = <3300000>;
159 regulator-always-on;
162 regulator-name = "ldo2";
163 regulator-min-microvolt = <800000>;
164 regulator-max-microvolt = <3300000>;
165 regulator-always-on;
168 regulator-name = "ldo3";
169 regulator-min-microvolt = <800000>;
170 regulator-max-microvolt = <3300000>;
171 regulator-always-on;
174 regulator-name = "ldo4";
175 regulator-min-microvolt = <800000>;
176 regulator-max-microvolt = <3300000>;
177 regulator-always-on;
180 regulator-name = "ldo5";
181 regulator-min-microvolt = <800000>;
182 regulator-max-microvolt = <3300000>;
183 regulator-always-on;
186 regulator-name = "ldodvref";
187 regulator-always-on;
190 regulator-name = "ldolpsr";
191 regulator-always-on;
195 regulator-name = "wled";
196 regulator-min-microamp = <10>;
197 regulator-max-microamp = <25000>;