Difference between revisions of "IMX 6 Internal and drivers pin-muxing reference"

From eLinux.org
Jump to: navigation, search
Line 28: Line 28:
 
| V6 || KEY_ROW0 || RXD4 || || INPUT || U1ATX_IMX || Used to communicate with and program SAM3X8E
 
| V6 || KEY_ROW0 || RXD4 || || INPUT || U1ATX_IMX || Used to communicate with and program SAM3X8E
 
|-
 
|-
| A17 || NANDF_CS2 || CCM_CLKO2 || CLK_OUPUT || USB_CLK || Clock at 24MHz for the hub usb2514
+
| A17 || NANDF_CS2 || CCM_CLKO2 || || CLK_OUPUT || USB_CLK || Clock at 24MHz for the hub usb2514
 
|-
 
|-
| F15 || NANDF_CS0 || GPIO6_IO11 || OUTPUT HIGH || EN_VTT || It turns off the Vtt when it goes in suspend mode, active high  
+
| F15 || NANDF_CS0 || GPIO6_IO11 || gpio171 || OUTPUT HIGH || EN_VTT || It turns off the Vtt when it goes in suspend mode, active high  
 
|-
 
|-
| B18 || NANDF_D5 || GPIO2_IO05 || OUTPUT HIGH || SDIO_PWR || It enables the supply voltage of the sdcard, active high  
+
| B18 || NANDF_D5 || GPIO2_IO05 || gpio37 || OUTPUT HIGH || SDIO_PWR || It enables the supply voltage of the sdcard, active high  
 
|-
 
|-
| D19 || SD4_DAT7 || GPIO2_IO15 || OUTPUT, open drain level (low) || SELUSB_HOST_nDEV || USB selection of SAM3X8E in host or client mode , 0=host
+
| D19 || SD4_DAT7 || GPIO2_IO15 || gpio47 || OUTPUT, open drain level (low) || SELUSB_HOST_nDEV || USB selection of SAM3X8E in host or client mode , 0=host
 
|-
 
|-
| D19 || CSI0_DAT19 || GPIO6_IO05 || OUTPUT low || CAM_RST || Reset for the CSI camera module
+
| D19 || CSI0_DAT19 || GPIO6_IO05 || gpio65 || OUTPUT low || CAM_RST || Reset for the CSI camera module
 
|-
 
|-
| P24 || DISP0_DAT0 || GPIO4_IO21 || INPUT (piloted by driver) || ERASE || Cancellation of the SAM3X8E device before a reprogram, level 1 activates the cancellation, then it should be put in open drain  
+
| P24 || DISP0_DAT0 || GPIO4_IO21 || gpio117 || INPUT (piloted by driver) || ERASE || Cancellation of the SAM3X8E device before a reprogram, level 1 activates the cancellation, then it should be put in open drain  
 
|-
 
|-
| M6 || CSIO_DAT18 || GPIO6_IO04 || OUTPUT, low level || CAM_EN || Enabling the CSI camera module, active high
+
| M6 || CSIO_DAT18 || GPIO6_IO04 || gpio164 || OUTPUT, low level || CAM_EN || Enabling the CSI camera module, active high
 
|-
 
|-
| P1 || CSIO_PIXCLK || GPIO5_IO18 || INPUT || DTR_ARD || Monitoring the Arduino serial protocol to recognize erase and reset commands
+
| P1 || CSIO_PIXCLK || GPIO5_IO18 || gpio146 || INPUT || DTR_ARD || Monitoring the Arduino serial protocol to recognize erase and reset commands
 
|-
 
|-
| L3 || CSIO_DAT17 || GPIO6_IO03 || INPUT || RTS_ARD || Monitoring the Arduino serial protocol to recognize erase and reset commands
+
| L3 || CSIO_DAT17 || GPIO6_IO03 || gpio163 || INPUT || RTS_ARD || Monitoring the Arduino serial protocol to recognize erase and reset commands
 
|-
 
|-
| A19 || NANDF_D4 || GPIO2_IO04 || OUTPUT, low level || EN_5V || It turns off the TENSION of 5VDC for the times it goes in suspend mode, active high
+
| A19 || NANDF_D4 || GPIO2_IO04 || gpio36 || OUTPUT, low level || EN_5V || It turns off the TENSION of 5VDC for the times it goes in suspend mode, active high
 
|-
 
|-
| G25 || EIM_A19 || GPIO2_IO19 || OUTPUT, open drain (low) || WP_SPI_FLASH || Logical level 1 = not protected 0= flash protected against scripts
+
| G25 || EIM_A19 || GPIO2_IO19 || gpio51 || OUTPUT, open drain (low) || WP_SPI_FLASH || Logical level 1 = not protected 0= flash protected against scripts
 
|}
 
|}

Revision as of 08:03, 13 January 2015

iMX6_pin iMX6_pad_name used function exported gpio n° default at boot Schematics Label How to use it
A22 SD2_DAT0 GPIO1_IO15 gpio15 OUTPUT LOW touch_rst touch controller reset, active low
A23 SD2_DAT2 GPIO1_IO13 gpio13 INPUT touch_int touch controller interrupt, it should generate interrupt at touch
E22 EIM_EB2 GPIO2_IO30 gpio62 OUTPUT HIGH aud_rst# AUDIO CODEC RST, ATTIVO BASSO
F23 EIM_EB3 GPIO2_IO31 gpio63 OUTPUT, livello ALTO en_eth_pwr Ethernet PHI power for consumption and power management
C13 SD3_DAT5 GPIO7_IO00 gpio192 INPUT sdio_cd Microsd card detect
W5 KEY_COL0 TXD4 OUTPUT,livello open drain U1ARX_IMX Used to communicate with and program SAM3X8E, it should be programmed as output only if used and if sel_dbg_uart is 0, otherwise it should be left open drain
T5 GPIO_0 GPIO1_IO00 gpio0 INPUT (piloted by driver) IMX6_PIC_RST SAM3X8E reset, active low
T1 GPIO_2 GPIO1_IO02 gpio2 OUTPUT HIGH, KERNEL DRIVEN PANEL_ON It enables the power supply of the LVDS panel, attivo alto
R6 GPIO_4 GPIO1_IO04 gpio4 OUTPUT HIGH, KERNEL DRIVEN BL_ON It enables the backlight of the LVDS panel, active high
M25 EIM_WAIT GPIO5_IO00 gpio128 OUTPUT, livello BASSO (per ora messo alto) USB_OTG_SEL is 0 It enables the USB_OTG port on the miniUSB connector, at 1 it connects it at SAM3X8E for host-client communication
R2 GPIO_16 GPIO7_IO11 gpio203 OUTPUT, livello BASSO VBUS_EN It enables and disables the vbus for the SAM3X8E , 1 enables, 0 disables (used in ADK mode)
R1 GPIO_17 GPIO7_IO12 gpio204 OUTPUT, livello BASSO (messo alto) HUB_USB_RST# Reset signal for the hub usb2514, active low
V6 KEY_ROW0 RXD4 INPUT U1ATX_IMX Used to communicate with and program SAM3X8E
A17 NANDF_CS2 CCM_CLKO2 CLK_OUPUT USB_CLK Clock at 24MHz for the hub usb2514
F15 NANDF_CS0 GPIO6_IO11 gpio171 OUTPUT HIGH EN_VTT It turns off the Vtt when it goes in suspend mode, active high
B18 NANDF_D5 GPIO2_IO05 gpio37 OUTPUT HIGH SDIO_PWR It enables the supply voltage of the sdcard, active high
D19 SD4_DAT7 GPIO2_IO15 gpio47 OUTPUT, open drain level (low) SELUSB_HOST_nDEV USB selection of SAM3X8E in host or client mode , 0=host
D19 CSI0_DAT19 GPIO6_IO05 gpio65 OUTPUT low CAM_RST Reset for the CSI camera module
P24 DISP0_DAT0 GPIO4_IO21 gpio117 INPUT (piloted by driver) ERASE Cancellation of the SAM3X8E device before a reprogram, level 1 activates the cancellation, then it should be put in open drain
M6 CSIO_DAT18 GPIO6_IO04 gpio164 OUTPUT, low level CAM_EN Enabling the CSI camera module, active high
P1 CSIO_PIXCLK GPIO5_IO18 gpio146 INPUT DTR_ARD Monitoring the Arduino serial protocol to recognize erase and reset commands
L3 CSIO_DAT17 GPIO6_IO03 gpio163 INPUT RTS_ARD Monitoring the Arduino serial protocol to recognize erase and reset commands
A19 NANDF_D4 GPIO2_IO04 gpio36 OUTPUT, low level EN_5V It turns off the TENSION of 5VDC for the times it goes in suspend mode, active high
G25 EIM_A19 GPIO2_IO19 gpio51 OUTPUT, open drain (low) WP_SPI_FLASH Logical level 1 = not protected 0= flash protected against scripts