Table 7-5, Gpio command usage – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual
Page 107

BSP
COMX-P40x0 ENP2 Installation and Use (6806800R95C)
107
For more information, see
.
The U-Boot provides several GPIO utility commands.
The parameters used in the GPIO utility commands are described below.
GPIO07
O
I
GPO4 of COM-E connectors
GPIO19
O
I
Clock Generator Enable
GPIO20
O
I
Carried board reset output
GPIO23
I
I
Clock generator of bank 1 frequency selection input
GPIO24
I
I
Clock generator of bank 2/3 frequency selection input
Table 7-5 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> <od>
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, 19, 20, 23, 24
<dir>
-
0 for input
1 for output
<od>
-
0 for output
1 for open drain
<lvl>
-
0 for low level
1 for high level
Table 7-4 GPIO States (continued)
GPIO#
Input/Output
Reset State
Description