GPIO
Following table shows the header pinout, including the sysfs paths for each port, which is often the name
required when using the periphery library. You can also see the header pinout from the command line by
typing
pinout
on the Tinker Edge T.
Note: All I/O pins have a 90k pull-down resistor inside the iMX8M SoC that is used by default during
bootup, except for the I2C pins, which instead have a pull-up to 3.3V on the SoM.
Caution:
Do not connect a device that draws more than ~ 82 mA of power or you will brownout the
system.
sysfs path
Pin function
Pin
Pin function
sysfs path
+3.3V Power
1
2
+5V Power
/dev/i2c-1
I2C 2 (SDA)
3
4
+5V Power
/dev/i2c-1
I2C 2 (SCL)
5
6
Ground
/dev/ttymxc2
UART 3 (TXD) 7
8
UART 1 (TXD) /dev/ttymxc0
Ground
9
10
UART 1 (RXD) /dev/ttymxc0
/dev/ttymxc2
UART 3 (RXD) 11
12
SAI 1 (TXC)
/sys/class/gpio/gpio6
GPIO 6
13
14
Ground
/sys/class/pwm/pwmchip2/pwm0
PWM 4
15
16
GPIO 73
/sys/class/gpio/gpio73
+3.3V Power
17
18
GPIO 138
/sys/class/gpio/gpio138
/dev/spidev32766
SPI 1 (MOSI)
19
20
Ground
/dev/spidev32766
SPI 1 (MISO)
21
22
GPIO 140
/sys/class/gpio/gpio140
/dev/spidev32766
SPI 1 (SCLK)
23
24
SPI 1 (SS0)
/dev/spidev32766.0
Ground
25
26
SPI 1 (SS1)
/dev/spidev32766.1
/dev/i2c-2
I2C 3 (SDA)
27
28
I2C 3 (SCL)
/dev/i2c-2
/sys/class/gpio/gpio7
GPIO 7
29
30
Ground
/sys/class/gpio/gpio8
GPIO 8
31
32
PWM 1
/sys/class/pwm/pwmchip0/pwm0
/sys/class/pwm/pwmchip1/pwm0
PWM 2
33
34
Ground
SAI 1 (TXFS)
35
36
GPIO 141
/sys/class/gpio/gpio141
/sys/class/gpio/gpio77
GPIO 77
37
38
SAI 1 (RXD)
Ground
39
40
SAI 1 (TXD)
Warning:
Use caution when handling the GPIO pins to avoid electrostatic discharge or contact with
conductive materials (metals). Failure to properly handle the Tinker Edge T can result in a short circuit,
electric shock, serious injury, death, fire, or damage to your board and other property.