st,stm32u5-pwr

Description

STM32U5 power controller

Power controller of STM32U5 series

Controls two voltage regulators which can output one voltage
among four different voltage scales, depending on use case.

Properties

Top level properties

These property descriptions apply to “st,stm32u5-pwr” nodes themselves. This page also describes child node properties in the following sections.

Properties not inherited from the base binding file.

Name

Type

Details

voltage-scale

int

Voltage regulator scale selection

If present, this property can be used to indicate the desired
voltage regulator scale to use. This choice affects several
aspects of the system:
  * power consumption
  * memory and flash wait states
  * maximal system clock frequency
  * availability of certain peripherals
  * ...

The following values can be selected:
+---------+----------------+---------------------------------+
| Scale # | Max. frequency | Notes                           |
+---------+----------------+---------------------------------+
|    1    |     160 MHz    | Highest power consumption       |
+---------+----------------+---------------------------------+
|    2    |     110 MHz    |                                 |
+---------+----------------+---------------------------------+
|    3    |     55  MHz    | [1]                             |
+---------+----------------+---------------------------------+
|    4    |     25  MHz    | Lowest power consumption [1][2] |
+---------+----------------+---------------------------------+

[1] OTG_HS cannot be used when this voltage scale is selected.
[2] OTG_FS / USB cannot be used when this voltage scale is selected.

When this property is not present, the lowest voltage scale compatible
with the system's clock configuration is selected automatically: for
example, voltage scale 3 would be used if the system was configured
to operate with a system clock frequency of 40 MHz.

Note that the same behavior is observed if the property is provided but
the selected voltage scale is not compatible with the system's clock
configuration; in this case, clock configuration takes precedence and
the value of this property is ignored.

Legal values: 1, 2, 3, 4

power-supply

string

Power supply configuration

This property specifies the voltage regulators configuration
and indicates how the core domain voltage (Vcore) is generated.
Refer to your product's Datasheet and Reference Manual for details.

ldo: LDO supply
  The LDO is enabled and generates Vcore; the SMPS is disabled.

smps: SMPS supply
  The SMPS is enabled and generates Vcore; the LDO is disabled.

This property is required.

Legal values: 'ldo', 'smps'

wkup-pins-nb

int

Max nbr of system wake-up pins.
For example wkup-pins-nb = <8>; on the stm32u5

wkup-pin-srcs

int

Number of wake-up GPIO sources to select from for each wake-up pin.
If not specified, that means there is only 1 GPIO source for each
wake-up pin.

For example, each wake-up pin on STM32U5 is associated with
4 wake-up sources, 3 of them correspond to GPIOs.

wkup-pins-pol

boolean

True if SoC has a wake-up pins polarity config register

wkup-pins-pupd

boolean

True if SoC has pull-up/down config register(s) for GPIO ports
that are associated with wake-up pins.

Child node properties

Name

Type

Details

reg

array

Wake-up pin identifier, same as "index" in node name

This property is required.

See Important properties for more information.

wkup-gpios

phandle-array

Specifies the GPIOs, if any, that are associated with the wake-up pin.

For example, for GPIO PB2 associated with wakeup source 1 on wake-up
event 1 on STM32U5 SoCs:
wkup-gpios = <&gpiob 2 STM32_PWR_WKUP_EVT_SRC_1>, <...>;