10 uart, Table 7-4, Gpio command usage – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual
Page 95: Bsp operations

BSP Operations
COMX-P4080 COM Express Module Installation and Use (6806800L20C)
95
For more information, see
The U-Boot provides several GPIO utility commands.
The parameters used in the GPIO utility commands are described below.
7.10 UART
There are a total of four universal asynchronous receiver/transmitters (UART) in the COMX-
P4080, each with Tx and Rx signals routed to the COM-E connectors. For more details, see
Table 7-4 GPIO Command Usage
Command
Description
gpio dump
Dumps the direction, od and level information for all pins
gpio get <pin>
Gets the direction, od and level information for the specified pin
gpio set dir <pin> <dir>
Sets the direction of the specified pin
gpio set dir <pin> <ol>
Sets the od of the specified pin
gpio set dir <pin> <lvl>
Sets the level of the specified pin
<pin>
-
0, 1, 2, 3, 4, 5, 6, 7, 18, 19, 20, 23, 24, 26
<dir>
-
0 for input
1 for output
<od>
-
0 for output
1 for open drain
<lvl>
-
0 for low level
1 for high level