1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/mfd/st,stpmic1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics STPMIC1 Power Management IC bindings
9 description: STMicroelectronics STPMIC1 Power Management IC
12 - pascal Paillet <p.paillet@st.com>
27 interrupt-controller: true
33 - $ref: ../input/input.yaml
37 const: st,stpmic1-onkey
41 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
42 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
46 - const: onkey-falling
49 st,onkey-clear-cc-flag:
50 description: onkey is able power on after an over-current shutdown event.
51 $ref: /schemas/types.yaml#/definitions/flag
54 description: onkey pull up is not active
55 $ref: /schemas/types.yaml#/definitions/flag
66 additionalProperties: false
72 - $ref: ../watchdog/watchdog.yaml
83 additionalProperties: false
89 Available Regulators in STPMIC1 device are:
90 - buck1 for Buck BUCK1
91 - buck2 for Buck BUCK2
92 - buck3 for Buck BUCK3
93 - buck4 for Buck BUCK4
100 - vref_ddr for LDO Vref DDR
101 - boost for Buck BOOST
102 - pwr_sw1 for VBUS_OTG switch
103 - pwr_sw2 for SW_OUT switch
104 Switches are fixed voltage regulators with only enable/disable capability.
108 const: st,stpmic1-regulators
118 description: mask reset for this regulator,
119 the regulator configuration is maintained during pmic reset.
120 $ref: /schemas/types.yaml#/definitions/flag
123 regulator-boot-on: true
124 regulator-always-on: true
125 regulator-min-microvolt: true
126 regulator-max-microvolt: true
127 regulator-allow-bypass: true
128 regulator-over-current-protection: true
130 additionalProperties: false
140 description: mask reset for this regulator,
141 the regulator configuration is maintained during pmic reset.
142 $ref: /schemas/types.yaml#/definitions/flag
145 regulator-boot-on: true
146 regulator-always-on: true
147 regulator-over-current-protection: true
149 additionalProperties: false
159 description: mask reset for this regulator,
160 the regulator configuration is maintained during pmic reset.
161 $ref: /schemas/types.yaml#/definitions/flag
164 regulator-boot-on: true
165 regulator-always-on: true
167 additionalProperties: false
177 description: mask reset for this regulator,
178 the regulator configuration is maintained during pmic reset.
179 $ref: /schemas/types.yaml#/definitions/flag
182 regulator-boot-on: true
183 regulator-always-on: true
184 regulator-over-current-protection: true
186 additionalProperties: false
189 "^(buck[1-4]|ldo[1-6]|boost|pwr_sw[1-2])-supply$":
190 description: STPMIC1 voltage regulators supplies
192 "^(buck[1-4]|ldo[1-6]|boost|vref_ddr|pwr_sw[1-2])$":
194 - $ref: ../regulator/regulator.yaml
204 description: mask reset for this regulator,
205 the regulator configuration is maintained during pmic reset.
206 $ref: /schemas/types.yaml#/definitions/flag
209 regulator-boot-on: true
210 regulator-always-on: true
211 regulator-min-microvolt: true
212 regulator-max-microvolt: true
213 regulator-over-current-protection: true
214 regulator-enable-ramp-delay: true
216 additionalProperties: false
226 description: mask reset for this regulator,
227 the regulator configuration is maintained during pmic reset.
228 $ref: /schemas/types.yaml#/definitions/flag
231 regulator-boot-on: true
232 regulator-always-on: true
233 regulator-min-microvolt: true
234 regulator-max-microvolt: true
235 regulator-initial-mode: true
236 regulator-pull-down: true
237 regulator-over-current-protection: true
238 regulator-enable-ramp-delay: true
240 additionalProperties: false
250 regulator-boot-on: true
251 regulator-always-on: true
252 regulator-over-current-protection: true
253 regulator-active-discharge: true
255 additionalProperties: false
260 additionalProperties: false
262 additionalProperties: false
264 additionalProperties: false
271 - interrupt-controller
275 #include <dt-bindings/mfd/st,stpmic1.h>
276 #include <dt-bindings/interrupt-controller/arm-gic.h>
278 #address-cells = <1>;
281 compatible = "st,stpmic1";
283 interrupt-parent = <&gpioa>;
286 interrupt-controller;
287 #interrupt-cells = <2>;
290 compatible = "st,stpmic1-onkey";
291 interrupts = <IT_PONKEY_F 0>,<IT_PONKEY_R 1>;
292 interrupt-names = "onkey-falling", "onkey-rising";
293 power-off-time-sec = <10>;
297 compatible = "st,stpmic1-wdt";
301 compatible = "st,stpmic1-regulators";
303 ldo6-supply = <&v3v3>;
306 regulator-name = "vdd_core";
307 interrupts = <IT_CURLIM_BUCK1 0>;
310 regulator-min-microvolt = <700000>;
311 regulator-max-microvolt = <1200000>;
315 regulator-name = "vdd";
316 regulator-min-microvolt = <3300000>;
317 regulator-max-microvolt = <3300000>;
323 regulator-name = "v3v3";
324 interrupts = <IT_CURLIM_BUCK4 0>;
325 regulator-min-microvolt = <3300000>;
326 regulator-max-microvolt = <3300000>;
330 regulator-name = "v1v8";
331 regulator-min-microvolt = <1800000>;
332 regulator-max-microvolt = <1800000>;
333 regulator-over-current-protection;