| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: STM32MP1 PWR voltage regulators |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Pascal Paillet <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
oneOf: |
| 15 |
- items: |
| 16 |
- const: st,stm32mp1,pwr-reg |
| 17 |
- items: |
| 18 |
- const: st,stm32mp13-pwr-reg |
| 19 |
- const: st,stm32mp1,pwr-reg |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
vdd-supply: |
| 25 |
description: Input supply phandle(s) for vdd input |
| 26 |
|
| 27 |
vdd_3v3_usbfs-supply: |
| 28 |
description: Input supply phandle(s) for vdd_3v3_usbfs input |
| 29 |
|
| 30 |
patternProperties: |
| 31 |
"^(reg11|reg18|usb33)$": |
| 32 |
type: object |
| 33 |
$ref: regulator.yaml# |
| 34 |
unevaluatedProperties: false |
| 35 |
|
| 36 |
required: |
| 37 |
- compatible |
| 38 |
- reg |
| 39 |
|
| 40 |
additionalProperties: false |
| 41 |
|
| 42 |
examples: |
| 43 |
- | |
| 44 |
pwr@50001000 { |
| 45 |
compatible = "st,stm32mp1,pwr-reg"; |
| 46 |
reg = <0x50001000 0x10>; |
| 47 |
vdd-supply = <&vdd>; |
| 48 |
vdd_3v3_usbfs-supply = <&vdd_usb>; |
| 49 |
|
| 50 |
reg11 { |
| 51 |
regulator-name = "reg11"; |
| 52 |
regulator-min-microvolt = <1100000>; |
| 53 |
regulator-max-microvolt = <1100000>; |
| 54 |
}; |
| 55 |
|
| 56 |
reg18 { |
| 57 |
regulator-name = "reg18"; |
| 58 |
regulator-min-microvolt = <1800000>; |
| 59 |
regulator-max-microvolt = <1800000>; |
| 60 |
}; |
| 61 |
|
| 62 |
usb33 { |
| 63 |
regulator-name = "usb33"; |
| 64 |
regulator-min-microvolt = <3300000>; |
| 65 |
regulator-max-microvolt = <3300000>; |
| 66 |
}; |
| 67 |
}; |
| 68 |
... |