Verdin AM62 issues with wake up

Hello,

I need to use the CTRL_PWR_BTN_MICO in a Verdin AM62 V1.2A module the same way a smart phone button works, like mentioned in the Verdin family spec Section 5.3.

After configuring logind’s “HandlePowerKey” with “hibernate”, short presses of the CTRL_PWR_BTN_MICO now put the module into sleep. According to the spec, the CTRL_PWR_BTN_MICO should be be able to wake the module up, the problem is that only CTRL_WAKE1_MICO can do it.

Is it possible to configure CTRL_PWR_BTN_MICO also as a wake up source? I tried to put “ti,power-button” in the PMIC’s device tree node with an overlay but the module did not stop rebooting after that.

I also tried shorting CTRL_PWR_BTN_MICO and CTRL_WAKE1_MICO together but the device would only boot up again after the PMIC’s shutdown if I removed the power source and waited until the LEDs were off.

I’m using a Verdin AM62 Dual WB IT V1.2A and a Mallow carrier board V1.1C. The BSP version is 7.4.0-devel-20250905163604-build.0.

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Based on the Verdin AM62 V1.2 datasheet and power management specifications, I can help clarify the power button functionality and wake-up configuration.

CTRL_PWR_BTN_MICO# Power Button Behavior

According to the Verdin Family Specification, the CTRL_PWR_BTN_MICO# signal functions as follows (1)(2):

  • Short pressing (< 5 seconds): Powers up the system from “Module OFF” state or wakes the system from sleep state
  • Long pressing (> 5 seconds): Shuts down the system immediately without software interaction
  • When the module is running, short pressing generates a software interrupt that can trigger shutdown or open a power menu

Wake-Up Sources Configuration

The Verdin AM62 V1.2 has dedicated wake-up capabilities through specific pins (3):

  • CTRL_WAKE1_MICO#: This is the dedicated wake-capable pin for resuming from sleep mode (1)(2)
  • CTRL_PWR_BTN_MICO#: While this can wake from “Module OFF” state, its behavior during sleep states depends on the power management configuration

Device Tree Customization Approach

For configuring power button wake-up functionality, you should use Device Tree Overlays rather than modifying the base device tree (4). Device Tree Overlays provide a flexible way to customize hardware configuration without rebuilding the entire system.

Pin Configuration Details

Looking at the Verdin AM62 V1.2 datasheet, the power management signals are defined as (3):

  • CTRL_PWR_BTN_MICO# is an open-drain input with 100k pull-up resistor to the 1.8V RTC rail
  • CTRL_WAKE1_MICO# has no pull resistors on the module and can be left floating if wake feature is disabled in software

Recommendations

  1. Use CTRL_WAKE1_MICO# as the primary wake-up source, as it’s specifically designed for this purpose
  2. Configure the PMIC properly through device tree overlays rather than direct modifications
  3. Check power management sequences to ensure proper sleep/wake transitions

The rebooting issue you experienced when adding “ti,power-button” suggests a configuration conflict. Instead of shorting the pins together, consider using CTRL_WAKE1_MICO# as your dedicated wake-up source while keeping CTRL_PWR_BTN_MICO# for power management functions.

For detailed pin assignments and alternate functions, refer to the Interface Description section of the Verdin AM62 V1.2 datasheet (3).

Best regards, Toradex AI Assistant.

As per product requirement, I cannot have a dedicated button to wake the device up. So, it’s not possible to use CTRL_WAKE1_MICO as the wake up source.

The modification to the PMIC’s node was done via device tree overlay.

Is it possible to configure the CTRL_PWR_BTN_MICO pin so that it can trigger a software sleep and also wake the module up as shown in the flowchart in the Verdin family specification Section 5.3 (Figure 11)?

Hi @rodolfo_silva!

Sorry for the delayed response.

According to the flowchart you referenced, the sleep mode is triggered by software. Then, the CTRL_PWR_BTN_MICO is used to wake the system. Therefore, I’m not sure if it is possible to activate the sleep mode with the CTRL_PWR_BTN_MICO.

I’ll try to test in the next days and also talk to the R&D team to check if this behavior is expected or not.

Feel free to ask if you have any doubts.

Best regards.

I configured the software trigger via logind with a drop-in file. As is, it is possible to both suspend and shut down with the CTRL_PWR_BTN_MICO.

At the moment I can’t use the CTRL_PWR_BTN_MICO pin as wake up from the suspended state, whereas I can do it with the CTRL_WAKE1_MICO pin.

If needed, here’s the drop-in I’m using:

[Login]
HandlePowerKey=suspend
HandlePowerKeyLongPress=poweroff

Hello @rodolfo_silva !

I hope you’re doing well.

I noticed it has been a while since the last update on this topic, and I’d like to kindly check if you were able to make any progress regarding this issue.

Best regards,
Daniel Morais