infineon,hibernate-wakeup

Description

Infineon hibernate / hibernate-RAM wakeup source configuration.

Infineon SoCs provide a set of dedicated hardware sources that can wake the
device from the hibernate (and, where supported, hibernate-RAM) power modes.
This binding describes the hibernate wakeup sources:

  PIN0, PIN1, LPCOMP0, LPCOMP1, WDT, RTC alarm

The pin-to-pad mapping is fixed in silicon and differs per device; consult
the SoC datasheet or the SoC devicetree for the mapping.  A device enables
only the sources it uses - set only the applicable properties below.

Each pin and LPCOMP source can be independently enabled and configured to wake
on a high or low logic level.

Example (wake on the first dedicated pin, active low):

  hibernate_wakeup: hibernate-wakeup {
      compatible = "infineon,hibernate-wakeup";
      wakeup-pin0-trigger = "low";
  };

Properties

Properties not inherited from the base binding file.

Name

Type

Details

wakeup-pin0-trigger

string

Enable dedicated wake PIN0 as a hibernate wakeup source.  The physical pad
is device-specific (see the SoC devicetree/datasheet).  Set to "low" to
wake on a low logic level, "high" for a high level.  Omit to disable PIN0.

Legal values: low, high

wakeup-pin1-trigger

string

Enable dedicated wake PIN1 as a hibernate wakeup source.  The physical pad
is device-specific (see the SoC devicetree/datasheet).  Set to "low" to
wake on a low logic level, "high" for a high level.  Omit to disable PIN1.

Legal values: low, high

wakeup-lpcomp0-trigger

string

Enable low-power comparator 0 (LPCOMP0) as a hibernate wakeup source.
Set to "low" to wake on a low output level, "high" for a high level.
Omit to disable LPCOMP0.

Legal values: low, high

wakeup-lpcomp1-trigger

string

Enable low-power comparator 1 (LPCOMP1) as a hibernate wakeup source.
Set to "low" to wake on a low output level, "high" for a high level.
Omit to disable LPCOMP1.

Legal values: low, high

wakeup-wdt

boolean

Enable the watchdog timer as a hibernate wakeup source.

wakeup-rtc-alarm

boolean

Enable RTC alarm as a hibernate wakeup source.