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?

To configure multiple wake-up sources for deep sleep mode on your Toradex module, you need to understand the proper wake-up configuration and device tree overlay setup.
Understanding Deep Sleep Mode
For deep sleep mode using echo mem > /sys/power/state
, the system enters Suspend-to-RAM (deep) state(1). The default wake-up behavior varies by pin configuration and module type.
Standard Wake-up Pin Configuration
According to the Verdin iMX8M Plus datasheet, pin 252 (CTRL_WAKE1_MICO#) is the standard external wake signal(2):
- SODIMM 252:
CTRL_WAKE1_MICO#
- Standard external wake signal
- i.MX 8MP Function:
SAI1_RXFS
/ GPIO4_IO0
- This pin is guaranteed to be wake-up compatible with other Verdin modules(2)
Wake-up Source Configuration Requirements
To configure multiple GPIO pins as wake-up sources, you need to create a device tree overlay that:
1. Enable Wake-up Capability for Each Pin
For each wake-up source, you need to configure the GPIO with proper wake-up properties in your device tree overlay(3)(4). The overlay structure should include:
/dts-v1/;
/plugin/;
/ {
compatible = "toradex,verdin-imx8mp";
};
(3)(4)
2. Configure GPIO Properties for Wake-up
Each GPIO used as a wake-up source must be properly configured with:
- Correct pinmux settings
- GPIO direction (input for wake-up sources)
- Wake-up capability enabled
- Proper interrupt configuration
3. Device Tree Overlay Customization Process
To write your custom device tree overlay(3)(4):
- Identify the specific pin functions for your SODIMM pins in the datasheet
- Create pinctrl configurations with proper GPIO pinmux definitions(4)
- Add wake-up properties to each GPIO node
- Configure interrupt settings for edge detection
4. Pin-Specific Considerations
Based on your observations:
- SODIMM 246 (CTRL_RECOVERY_MICO): Works consistently - this suggests proper wake-up configuration
- SODIMM 63 and 248: Work only once - indicates potential configuration issues with interrupt clearing or GPIO state management
- SODIMM 252: Should work as the standard wake-up pin(2)
Recommended Approach
- Check existing device tree overlays provided by Toradex for similar wake-up configurations(3)
- Create a custom overlay that properly configures all four pins with wake-up capabilities
- Ensure proper interrupt handling for each wake-up source
- Test wake-up functionality systematically for each pin
Device Tree Overlay Development Resources
For creating and deploying your custom overlay:
The key is ensuring each wake-up GPIO is properly configured with interrupt capabilities and wake-up properties in your device tree overlay, rather than relying on default pin configurations.
Best regards, Toradex AI Assistant.