cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to configure gpio pins as wakeup source -stm32mp13xx

DeepakJewargi
Associate

Hi ,

 

I'm looking to configure a few GPIO pins on the STM32MP13x processor as wake-up sources. I've referred to the following link:

https://wiki.st.com/stm32mpu/wiki/How_to_configure_PWR_Wake-up_pins

I want to configure the GPIO-G7 pin as a wake-up source to bring the system out of deep sleep. The necessary changes have been made in our device tree files.

I updated the changes in the device tree file and was able to compile without errors. However, I'm encountering the following errors while flashing the image.

--------Logs---------------------------------------

I/TC: Non-secure external DT found
I/TC: Embedded DTB found
I/TC: OP-TEE version: 3.16.0-dev (gcc version 11.3.0 (GCC)) #8 Fri Jan 28 02:28:18 PM UTC 2022 arm
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
I/TC: Primary CPU initializing
I/TC: WARNING: All debug access are allowed
E/TC:0 0 stm32mp1_pwr_irq_probe:349 Missing pinctrl description
E/TC:0 0 probe_driver_node:402 Failed to probe stm32mp1-pwr-irq on node pwr@50001010: 0xffff0006
E/TC:0 0 assertion 'it >= PWR_WKUP_PIN1 && it < PWR_NB_WAKEUPPINS' failed at core/arch/arm/plat-stm32mp1/drivers/stm32mp1_pwr_irq.c:243 <stm32mp1_pwr_irt_add>
E/TC:0 0 Panic at core/kernel/assert.c:28 <_assert_break>
E/TC:0 0 TEE load address @ 0xfe200000
E/TC:0 0 Call stack:
E/TC:0 0 0xfe203cb5
E/TC:0 0 0xfe21b325
E/TC:0 0 0xfe219ad3
E/TC:0 0 0xfe20909b
E/TC:0 0 0xfe209205
E/TC:0 0 0xfe219f0b
E/TC:0 0 0xfe219fd5
E/TC:0 0 0xfe21a6cb
E/TC:0 0 0xfe21bee5
E/TC:0 0 0xfe203af7
E/TC:0 0 0xfe200198

-----------------------------------------------------------------------------------

Processor details:

stm32mp13xx
yocto- DISTRO_CODENAME = "kirkstone

 

Please let me know if you have any solutions or pointers to resolve the error, or provide proper links to help configure the GPIO pins as a wake-up source in the STM32MP13x.

Regards,
Deepak 

 

1 REPLY 1
Jacob WOODRUFF
ST Employee

Hi All,

 

This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.

 

Regards,
Jake

ST Support