st,stm32-pwr
Vendor: STMicroelectronics
Note
An implementation of a driver matching this compatible is available in soc/st/stm32/common/stm32_wkup_pins.c.
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 |
---|---|---|
|
|
Max nbr of system wake-up pins.
For example wkup-pins-nb = <8>; on the stm32u5
|
|
|
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.
|
|
|
True if SoC has a wake-up pins polarity config register
|
|
|
True if SoC has pull-up/down config register(s) for GPIO ports
that are associated with wake-up pins.
|
Deprecated properties not inherited from the base binding file.
(None)
Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “st,stm32-pwr” compatible.
Name |
Type |
Details |
---|---|---|
|
|
register space
This property is required. See Important properties for more information. |
|
|
number of address cells in reg property
Constant value: |
|
|
number of size cells in reg property
|
|
|
indicates the operational status of a device
Legal values: See Important properties for more information. |
|
|
compatible strings
This property is required. See Important properties for more information. |
|
|
name of each register space
|
|
|
interrupts for device
See Important properties for more information. |
|
|
extended interrupt specifier for device
|
|
|
name of each interrupt
|
|
|
phandle to interrupt controller node
|
|
|
Human readable string describing the device (used as device_get_binding() argument)
See Important properties for more information. This property is deprecated. |
|
|
Clock gate information
|
|
|
name of each clock
|
|
|
DMA channels specifiers
|
|
|
Provided names of DMA channel specifiers
|
|
|
IO channels specifiers
|
|
|
Provided names of IO channel specifiers
|
|
|
mailbox / IPM channels specifiers
|
|
|
Provided names of mailbox / IPM channel specifiers
|
|
|
Power domain specifiers
|
|
|
Provided names of power domain specifiers
|
|
|
Number of cells in power-domains property
|
|
|
Do not initialize device automatically on boot. Device should be manually
initialized using device_init().
|
|
|
Property to identify that a device can be used as wake up source.
When this property is provided a specific flag is set into the
device that tells the system that the device is capable of
wake up the system.
Wake up capable devices are disabled (interruptions will not wake up
the system) by default but they can be enabled at runtime if necessary.
|
|
|
Automatically configure the device for runtime power management after the
init function runs.
|
|
|
List of power states that will disable this device power.
|
Child node properties
Name |
Type |
Details |
---|---|---|
|
|
Wake-up pin identifier, same as "index" in node name
This property is required. See Important properties for more information. |
|
|
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>, <...>;
|