The latest development version of this page may be more current than this released 3.7.0 version.

st,stm32-pwr

Vendor: STMicroelectronics

Description

STM32 power controller

Properties

Top level properties

These property descriptions apply to “st,stm32-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

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 B2 associated with wakeup source 1 on wake-up
pin 1 on STM32U5 SoCs:
wkup-gpios = <&gpiob 2 STM32_PWR_WKUP_PIN_SRC_1>, <...>;