This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM62X: AM62X: Power Management: Main GPIO as an I/O daisy chain wakeup source

Part Number: PROCESSOR-SDK-AM62X


Tool/software:

Dear TI support,

according the BSP documentation

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_02_01_10/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/Power_Management/pm_wakeup_sources.html#main-gpio

a generic GPIO can be used as wake-up source.

The reference example

    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=ti-linux-6.1.y#n329

works out of the box using GPIO1_10

I can easily get the same example working using

- GPIO0_7 => interrupts-extended = <&main_gpio0 7 IRQ_TYPE_EDGE_RISING>, <&main_pmx0 0x01C>;

- GPIO1_16 => interrupts-extended = <&main_gpio1 16 IRQ_TYPE_EDGE_FALLING>, <&main_pmx0 0x1B8>;

but if I try using

- GPIO1_30 => interrupts-extended = <&main_gpio1 30 IRQ_TYPE_EDGE_FALLING>, <&main_pmx0 0x1F0>;

I can't get it working.

Is there any limitation in the list of GPIOs which can be used as wakeup sources ?

Thanks

Best Regards

Pier