TQMa91xxLA - YOCTO Linux BSP documentation

GPIO-Buttons

The MBa91xxCA features two user buttons which are handled by the gpio-keys driver.

GPIO Button Overview

Reference Button
S8 BTN0
S9 BTN1

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/event1