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.

SK-AM62-LP: Using Main GPIO as wakeup source

Part Number: SK-AM62-LP

In section 3.2.2.11.5 here

interrupts-extended = <&gic500 GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>,
            <&main_pmx0 0x1c8>; /* (D14) UART0_RXD PADCONFIG114 */
interrupt-names = "irq", "wakeup";

 how is the register value 178 is determined?

I want to use MAIN GPIO as wakeup source. Eg. GPIO0 39.
What to add and where to add in the devicetree?