also see the GPIO chapter in the same document
inux BSP reference manual ConnectCore 6 SBC
The CPU has seven GPIO ports, six with 32 GPIOs and one with 14 GPIOs. GPIOs are multiplexed with
different functionalities of the chip. IOMUX of the pins is done at the device tree.
The GPIO Device Tree binding is described at Documentation/devicetree/bindings/gpio/fsl-imxgpio.
The GPIOs can be easily accessed from the sysfs. For information about how to manage the GPIOs
from sysfs, refer to the Linux kernel documentation at Documentation/gpio.txt.
The ConnectCore 6 SBC contains three user LEDs that can be used to test GPIOs.
A sample application called gpio_sysfs_test is available and can be added to the rootfs by adding
dey-examples to the EXTRA_IMAGE_FEATURES of your local.conf or by adding
dey-examples-gpio-sysfs to IMAGE_INSTALL_append.