Hello,
I'm using the IMX8ULP EVK9 board, which has two push buttons: SW2 and SW4, connected to pins PTE17 and PTF26. I want to set up these buttons as wake-up sources so that when the A core is in sleep mode, pressing either button will wake it up, and I will also receive an event in my code.
What changes do I need to make in the Device Tree (DTS) file, and how can I capture the event in my C code?