STM32MP1 PWR voltage regulators

Schema identifier ($id): "http://devicetree.org/schemas/regulator/st,stm32mp1-pwr-reg.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Pascal Paillet <p.paillet@foss.st.com>"

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp1,pwr-reg"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "st,stm32mp13-pwr-reg"

Item 2

Exact value (const): "st,stm32mp1,pwr-reg"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

Input supply phandle(s) for vdd input

vdd_3v3_usbfs-supply — not listed as required here #

Input supply phandle(s) for vdd_3v3_usbfs input

Properties matching a name pattern (patternProperties) #

^(reg11|reg18|usb33)$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): regulator.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pwr@50001000 {
  compatible = "st,stm32mp1,pwr-reg";
  reg = <0x50001000 0x10>;
  vdd-supply = <&vdd>;
  vdd_3v3_usbfs-supply = <&vdd_usb>;

  reg11 {
    regulator-name = "reg11";
    regulator-min-microvolt = <1100000>;
    regulator-max-microvolt = <1100000>;
  };

  reg18 {
    regulator-name = "reg18";
    regulator-min-microvolt = <1800000>;
    regulator-max-microvolt = <1800000>;
  };

  usb33 {
    regulator-name = "usb33";
    regulator-min-microvolt = <3300000>;
    regulator-max-microvolt = <3300000>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page