TQMa64xxL - YOCTO Linux BSP documentation
GPIO Buttons
The MBaX4XxL features one user button which is handled by the gpio-keys driver.
Please note that most GPIOs can't be set or read from U-Boot, as they are disabled in default pinmuxing, which effects the GPIO button as well. In Linux, the button works as expected
GPIO Button Overview
| Reference | Button |
|---|---|
| S8 | BTN0 |
GPIO Button Location
The buttons are accessible via the input device interface. You can identify the correct event node and test the buttons using the evtest tool:
evtest
Select the number corresponding to the “gpio-keys” device. Alternatively, if the event node is known (e.g. /dev/input/event1), you can run it directly:
evtest /dev/input/event0