You are here: Digi Embedded Yocto > System development > Linux v4.1 Board Support Package > Devices and interfaces > General purpose input/output (GPIO)

General purpose input/output (GPIO)

The NXP i.MX6UL CPU has five GPIO ports. Each port can generate and control 32 signals.

The MCA features eight GPIO pins (multiplexed with Analog-to-Digital Converter (ADC) functionality).

See MCA general purpose input/output (GPIO) for additional information on MCA GPIOs.

Kernel configuration

CONFIG_GPIO_SYSFS
CONFIG_GPIO_MXC
CONFIG_GPIO_MCA_CC6UL

Kernel driver

drivers/gpio/gpio-mxc.c
drivers/gpio/gpio-mca-cc6ul.c

Device tree binding

Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt
Documentation/devicetree/bindings/gpio/gpio-mca-cc6ul.txt

Note MCA lines that are being used as ADC will not be available for request as GPIOs.

 

© 2017 Digi International Inc. All rights reserved.
General purpose input/output (GPIO) updated on 19 June 2017 02:37:18 PM