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
32 $ref: ../input/input.yaml
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
45 - const: onkey-falling
48 st,onkey-clear-cc-flag:
49 description: onkey is able power on after an over-current shutdown event.
50 $ref: /schemas/types.yaml#/definitions/flag
53 description: onkey pull up is not active
54 $ref: /schemas/types.yaml#/definitions/flag
65 additionalProperties: false
70 $ref: ../watchdog/watchdog.yaml
81 additionalProperties: false
87 Available Regulators in STPMIC1 device are:
88 - buck1 for Buck BUCK1
89 - buck2 for Buck BUCK2
90 - buck3 for Buck BUCK3
91 - buck4 for Buck BUCK4
98 - vref_ddr for LDO Vref DDR
99 - boost for Buck BOOST
100 - pwr_sw1 for VBUS_OTG switch
101 - pwr_sw2 for SW_OUT switch
102 Switches are fixed voltage regulators with only enable/disable capability.
106 const: st,stpmic1-regulators
116 description: mask reset for this regulator, the regulator configuration
117 is maintained during pmic reset.
118 $ref: /schemas/types.yaml#/definitions/flag
121 regulator-boot-on: true
122 regulator-always-on: true
123 regulator-min-microvolt: true
124 regulator-max-microvolt: true
125 regulator-allow-bypass: true
126 regulator-over-current-protection: true
128 additionalProperties: false
138 description: mask reset for this regulator, the regulator configuration
139 is maintained during pmic reset.
140 $ref: /schemas/types.yaml#/definitions/flag
143 regulator-boot-on: true
144 regulator-always-on: true
145 regulator-over-current-protection: true
147 additionalProperties: false
157 description: mask reset for this regulator, the regulator configuration
158 is maintained during pmic reset.
159 $ref: /schemas/types.yaml#/definitions/flag
162 regulator-boot-on: true
163 regulator-always-on: true
165 additionalProperties: false
175 description: mask reset for this regulator, the regulator configuration
176 is maintained during pmic reset.
177 $ref: /schemas/types.yaml#/definitions/flag
180 regulator-boot-on: true
181 regulator-always-on: true
182 regulator-over-current-protection: true
184 additionalProperties: false
187 "^(buck[1-4]|ldo[1-6]|boost|pwr_sw[1-2])-supply$":
188 description: STPMIC1 voltage regulators supplies
190 "^(buck[1-4]|ldo[1-6]|boost|vref_ddr|pwr_sw[1-2])$":
191 $ref: ../regulator/regulator.yaml
201 description: mask reset for this regulator, the regulator configuration
202 is maintained during pmic reset.
203 $ref: /schemas/types.yaml#/definitions/flag
206 regulator-boot-on: true
207 regulator-always-on: true
208 regulator-min-microvolt: true
209 regulator-max-microvolt: true
210 regulator-over-current-protection: true
211 regulator-enable-ramp-delay: true
213 additionalProperties: false
223 description: mask reset for this regulator, the regulator configuration
224 is maintained during pmic reset.
225 $ref: /schemas/types.yaml#/definitions/flag
228 regulator-boot-on: true
229 regulator-always-on: true
230 regulator-min-microvolt: true
231 regulator-max-microvolt: true
232 regulator-initial-mode: true
233 regulator-pull-down: true
234 regulator-over-current-protection: true
235 regulator-enable-ramp-delay: true
237 additionalProperties: false
247 regulator-boot-on: true
248 regulator-always-on: true
249 regulator-over-current-protection: true
250 regulator-active-discharge: true
252 additionalProperties: false
257 additionalProperties: false
259 additionalProperties: false
266 - interrupt-controller
270 #include <dt-bindings/mfd/st,stpmic1.h>
271 #include <dt-bindings/interrupt-controller/arm-gic.h>
273 #address-cells = <1>;
276 compatible = "st,stpmic1";
278 interrupt-parent = <&gpioa>;
281 interrupt-controller;
282 #interrupt-cells = <2>;
285 compatible = "st,stpmic1-onkey";
286 interrupts = <IT_PONKEY_F 0>,<IT_PONKEY_R 1>;
287 interrupt-names = "onkey-falling", "onkey-rising";
288 power-off-time-sec = <10>;
292 compatible = "st,stpmic1-wdt";
296 compatible = "st,stpmic1-regulators";
298 ldo6-supply = <&v3v3>;
301 regulator-name = "vdd_core";
302 interrupts = <IT_CURLIM_BUCK1 0>;
305 regulator-min-microvolt = <700000>;
306 regulator-max-microvolt = <1200000>;
310 regulator-name = "vdd";
311 regulator-min-microvolt = <3300000>;
312 regulator-max-microvolt = <3300000>;
318 regulator-name = "v3v3";
319 interrupts = <IT_CURLIM_BUCK4 0>;
320 regulator-min-microvolt = <3300000>;
321 regulator-max-microvolt = <3300000>;
325 regulator-name = "v1v8";
326 regulator-min-microvolt = <1800000>;
327 regulator-max-microvolt = <1800000>;
328 regulator-over-current-protection;