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?