Pinmux for Beaglebone Black, AM335x and OSD335x

I keep finding that I need to translate GPIO pin names and numbers depending on if I am talking to our hardware designer, writing DTBs or looking up solutions based on the BeagleBone Black.

This normally involves looking up data in 3 different pages – so I thought I would combine them all into one place.

The resulting table is too large to fit on the page, so you may need to scroll horizontally to see all the columns.

BeagleBone Black PinOSD335x Pin numnerAM335x (ZCZ) Pin NumberNameDeviceTree Offset01234567GPIO Number
P8_1-----------
P8_2-----------
P8_3P4R9GPIO1_60x018gpmc_ad6mmc1_dat6-----gpio1[6]38
P8_4R4T9GPIO1_70x01Cgpmc_ad7mmc1_dat7-----gpio1[7]39
P8_5R11R8GPIO1_20x008gpmc_ad2mmc1_dat2-----gpio1[2]34
P8_6T3T8GPIO1_30x00Cgpmc_ad3mmc1_dat3-----gpio1[3]35
P8_7M1R7TIMER40x090gpmc_advn_ale-timer4----gpio2[2]66
P8_8N1T7TIMER70x094gpmc_oen_ren-timer7----gpio2[3]67
P8_9N3T6TIMER50x09Cgpmc_ben0_cle-timer5----gpio2[5]69
P8_10N2U6TIMER60x098gpmc_wen-timer6----gpio2[4]68
P8_11R6R12GPIO1_130x034gpmc_ad13lcd_data18mmc1_dat5mmc2_dat1eQEP2B_inpr1_mii0_txd1pr1_pru0_pru_r30_15gpio1[13]45
P8_12P6T12GPIO1_120x030gpmc_ad12lcd_data19mmc1_dat4mmc2_dat0eQEP2A_INpr1_mii0_txd2pr1_pru0_pru_r30_14gpio1[12]44
P8_13P5T10EHRPWM2B0x024gpmc_ad9lcd_data22mmc1_dat1mmc2_dat5ehrpwm2Bpr1_mii0_col-gpio0[23]23
P8_14R5T11GPIO0_260x028gpmc_ad10lcd_data21mmc1_dat2mmc2_dat6ehrpwm2_tripzone_inpr1_mii0_txen-gpio0[26]26
P8_15P7U13GPIO1_150x03Cgpmc_ad15lcd_data16mmc1_dat7mmc2_dat3eQEP2_strobepr1_ecap0_ecap_capin_apwm_opr1_pru0_pru_r31_15gpio1[15]47
P8_16T6V13GPIO1_140x038gpmc_ad14lcd_data17mmc1_dat6mmc2_dat2eQEP2_indexpr1_mii0_txd0pr1_pru0_pru_r31_14gpio1[14]46
P8_17T5U12GPIO0_270x02Cgpmc_ad11lcd_data20mmc1_dat3mmc2_dat7ehrpwm0_syncopr1_mii0_txd3-gpio0[27]27
P8_18T7V12GPIO2_10x08Cgpmc_clklcd_memory_clkgpmc_wait1mmc2_clkpr1_mii1_crspr1_mdio_mdclkmcasp0_fsrgpio2[1]65
P8_19T4U10EHRPWM2A0x020gpmc_ad8lcd_data23mmc1_dat0mmc2_dat4ehrpwm2Apr1_mii_mt0_clk-gpio0[22]22
P8_20P1V9GPIO1_310x084gpmc_csn2gpmc_be1nmmc1_cmdpr1_edio_data_in7pr1_edio_data_out7pr1_pru1_pru_r30_13pr1_pru1_pru_r31_13gpio1[31]63
P8_21P2U9GPIO1_300x080gpmc_csn1gpmc_clkmmc1_clkpr1_edio_data_in6pr1_edio_data_out6pr1_pru1_pru_r30_12pr1_pru1_pru_r31_12gpio1[30]62
P8_22T1V8GPIO1_50x014gpmc_ad5mmc1_dat5-----gpio1[5]37
P8_23T2U8GPIO1_40x010gpmc_ad4mmc1_dat4-----gpio1[4]36
P8_24R2V7GPIO1_10x004gpmc_ad1mmc1_dat1-----gpio1[1]33
P8_25R3U7GPIO1_00x000gpmc_ad0mmc1_dat0-----gpio1[0]32
P8_26P3V6GPIO1_290x07Cgpmc_csn0------gpio1[29]61
P8_27F3U5GPIO2_220x0E0lcd_vsyncgpmc_a8gpmc_a1pr1_edio_data_in2pr1_edio_data_out2pr1_pru1_pru_r30_8pr1_pru1_pru_r31_8gpio2[22]86
P8_28F1V5GPIO2_240x0E8lcd_pclkgpmc_a10pr1_mii0_crspr1_edio_data_in4pr1_edio_data_out4pr1_pru1_pru_r30_10pr1_pru1_pru_r31_10gpio2[24]88
P8_29F2R5GPIO2_230x0E4lcd_hsyncgpmc_a9gpmc_a2pr1_edio_data_in3pr1_edio_data_out3pr1_pru1_pru_r30_9pr1_pru1_pru_r31_9gpio2[23]87
P8_30E1R6GPIO2_250x0EClcd_ac_bias_engpmc_a11pr1_mii1_crspr1_edio_data_in5pr1_edio_data_out5pr1_pru1_pru_r30_11pr1_pru1_pru_r31_11gpio2[25]89
P8_31L1V4UART5_CTSN0x0D8lcd_data14gpmc_a18eQEP1_indexmcasp0_axr1uart5_rxdpr1_mii0_rxd3uart5_ctsngpio0[10]10
P8_32M3T5UART5_RTSN0x0DClcd_data15gpmc_a19eQEP1_strobemcasp0_ahclkxmcasp0_axr3pr1_mii0_rxdvuart5_rtsngpio0[11]11
P8_33L2V3UART4_RTSN0x0D4lcd_data13gpmc_a17eQEP1B_inmcasp0_fsrmcasp0_axr3pr1_mii0_rxeruart4_rtsngpio0[9]9
P8_34K1U4UART3_RTSN0x0CClcd_data11gpmc_a15ehrpwm1Bmcasp0_ahclkrmcasp0_axr2pr1_mii0_rxd0uart3_rtsngpio2[17]81
P8_35L3V2UART4_CTSN0x0D0lcd_data12gpmc_a16eQEP1A_inmcasp0_aclkrmcasp0_axr2pr1_mii0_rxlinkuart4_ctsngpio0[8]8
P8_36K2U3UART3_CTSN0x0C8lcd_data10gpmc_a14ehrpwm1Amcasp0_axr0-pr1_mii0_rxd1uart3_ctsngpio2[16]80
P8_37J1U1UART5_TXD0x0C0lcd_data8gpmc_a12ehrpwm1_tripzone_inmcasp0_aclkxuart5_txdpr1_mii0_rxd3uart2_ctsngpio2[14]78
P8_38K3U2UART5_RXD0x0C4lcd_data9gpmc_a13ehrpwm0_syncomcasp0_fsxuart5_rxdpr1_mii0_rxd2uart2_rtsngpio2[15]79
P8_39J33T3GPIO2_120x0B8lcd_data6gpmc_a6pr1_edio_data_in6eQEP2_indexpr1_edio_data_out6pr1_pru1_pru_r30_6pr1_pru1_pru_r31_6gpio2[12]76
P8_40J2T4GPIO2_130x0BClcd_data7gpmc_a7pr1_edio_data_in7eQEP2_strobepr1_edio_data_out7pr1_pru1_pru_r30_7pr1_pru1_pru_r31_7gpio2[13]77
P8_41H2T1GPIO2_100x0B0lcd_data4gpmc_a4pr1_mii0_txd1eQEP2A_in-pr1_pru1_pru_r30_4pr1_pru1_pru_r31_4gpio2[10]74
P8_42H1T2GPIO2_110x0B4lcd_data5gpmc_a5pr1_mii0_txd0eQEP2B_in-pr1_pru1_pru_r30_5pr1_pru1_pru_r31_5gpio2[11]75
P8_43G1R3GPIO2_80x0A8lcd_data2gpmc_a2pr1_mii0_txd3ehrpwm2_tripzone_in-pr1_pru1_pru_r30_2pr1_pru1_pru_r31_2gpio2[8]72
P8_44H3R4GPIO2_90x0AClcd_data3gpmc_a3pr1_mii0_txd2ehrpwm0_synco-pr1_pru1_pru_r30_3pr1_pru1_pru_r31_3gpio2[9]73
P8_45G3R1GPIO2_60x0A0lcd_data0gpmc_a0pr1_mii_mt0_clkehrpwm2A-pr1_pru1_pru_r30_0pr1_pru1_pru_r31_0gpio2[6]70
P8_46G2R2GPIO2_70x0A4lcd_data1gpmc_a1pr1_mii0_txenehrpwm2B-pr1_pru1_pru_r30_1pr1_pru1_pru_r31_1gpio2[7]71
P9_1-GND0
P9_2-GND0
P9_3-DC_3.3V0
P9_4-DC_3.3V0
P9_5-VDD_5V0
P9_6-VDD_5V0
P9_7-SYS_5V0
P9_8-SYS_5V0
P9_9-PWR_BUT0
P9_10R11A10SYS_RESETnRESET_OUT-------0
P9_11P15T17UART4_RXD0x070gpmc_wait0mii2_crsgpmc_csn4rmii2_crs_dvmmc1_sdcdpr1_mii1_coluart4_rxdgpio0[30]30
P9_12N14U18GPIO1_280x078gpmc_ben1mii2_colgpmc_csn6mmc2_dat3gpmc_dirpr1_mii1_rxlinkmcasp0_aclkrgpio1[28]60
P9_13R16U17UART4_TXD0x074gpmc_wpnmii2_rxerrgpmc_csn5rmii2_rxerrmmc2_sdcdpr1_mii1_txenuart4_txdgpio0[31]31
P9_14P12U14EHRPWM1A0x048gpmc_a2mii2_txd3rgmii2_td3mmc2_dat1gpmc_a18pr1_mii1_txd2ehrpwm1Agpio1[18]50
P9_15T12R13GPIO1_160x040gpmc_a0gmii2_txenrmii2_tctlmii2_txengpmc_a16pr1_mii_mt1_clkehrpwm1_tripzone_inputgpio1[16]48
P9_16T13T14EHRPWM1B0x04Cgpmc_a3mii2_txd2rgmii2_td2mmc2_dat2gpmc_a19pr1_mii1_txd1ehrpwm1Bgpio1[19]51
P9_17A14A16I2C1_SCL0x15Cspi0_cs0mmc2_sdwpI2C1_SCLehrpwm0_syncipr1_uart0_txdpr1_edio_data_in1pr1_edio_data_out1gpio0[5]5
P9_18B14B16I2C1_SDA0x158spi0_d1mmc1_sdwpI2C1_SDAehrpwm0_tripzonepr1_uart0_rxdpr1_edio_data_in0pr1_edio_data_out0gpio0[4]4
P9_19A10D17I2C2_SCL0x17Cuart1_rtsntimer5dcan0_rxI2C2_SCLspi1_cs1pr1_uart0_rts_npr1_edc_latch1_ingpio0[13]13
P9_20B10D18I2C2_SDA0x178uart1_ctsntimer6dcan0_txI2C2_SDAspi1_cs0pr1_uart0_cts_npr1_edc_latch0_ingpio0[12]12
P9_21B13B17UART2_TXD0x154spi0_d0uart2_txdI2C2_SCLehrpwm0Bpr1_uart0_rts_npr1_edio_latch_inEMU3gpio0[3]3
P9_22A13A17UART2_RXD0x150spi0_sclkuart2_rxdI2C2_SDAehrpwm0Apr1_uart0_cts_npr1_edio_sofEMU2gpio0[2]2
P9_23R12V14GPIO1_170x044gpmc_a1gmii2_rxdvrgmii2_rxdvmmc2_dat0gpmc_a17pr1_mii1_txd3ehrpwm0_syncogpio1[17]49
P9_24B11D15UART1_TXD0x184uart1_txdmmc2_sdwpdcan1_rxI2C1_SCL-pr1_uart0_txdpr1_pru0_pru_r31_16gpio0[15]15
P9_25C4A14GPIO3_210x1ACmcasp0_ahclkxeQEP0_strobemcasp0_axr3mcasp1_axr1EMU4pr1_pru0_pru_r30_7pr1_pru0_pru_r31_7gpio3[21]117
P9_26A11D16UART1_RXD0x180uart1_rxdmmc1_sdwpdcan1_txI2C1_SDA-pr1_uart0_rxdpr1_pru1_pru_r31_16gpio0[14]14
P9_27B3C13GPIO3_190x1A4mcasp0_fsreQEP0B_inmcasp0_axr3mcasp1_fsxEMU2pr1_pru0_pru_r30_5pr1_pru0_pru_r31_5gpio3[19]115
P9_28B1C12SPI1_CS00x19Cmcasp0_ahclkrehrpwm0_syncimcasp0_axr2spi1_cs0eCAP2_in_PWM2_outpr1_pru0_pru_r30_3pr1_pru0_pru_r31_3gpio3[17]113
P9_29A2B13SPI1_D00x194mcasp0_fsxehrpwm0B-spi1_d0mmc1_sdcdpr1_pru0_pru_r30_1pr1_pru0_pru_r31_1gpio3[15]111
P9_30B2D12SPI1_D10x198mcasp0_axr0ehrpwm0_tripzone-spi1_d1mmc2_sdcdpr1_pru0_pru_r30_2pr1_pru0_pru_r31_2gpio3[16]112
P9_31A1A13SPI1_SCLK0x190mcasp0_aclkxehrpwm0A-spi1_sclkmmc0_sdcdpr1_pru0_pru_r30_0pr1_pru0_pru_r31_0gpio3[14]110
P9_32-VADC0
P9_33C7C8AIN40
P9_34-AGND0
P9_35C9A8AIN60
P9_36C8B8AIN50
P9_37B6B7AIN20
P9_38C6A7AIN30
P9_39A8B6AIN00
P9_40B8C7AIN10
P9_41B4D14CLKOUT20x1B4xdma_event_intr1-tclkinclkout2timer7pr1_pru0_pru_r31_16EMU3gpio0[20]20
P9_42C5C18GPIO0_70x164eCAP0_in_PWM0_outuart3_txdspi1_cs1pr1_ecap0_ecap_capin_apwm_ospi1_sclkmmc0_sdwpxdma_event_intr2gpio0[7]7
P9_43-GND0
P9_44-GND0
P9_45-GND0
P9_46-GND0
P9_@A3B12GPIO3_180x1A0mcasp0_aclkreQEP0A_inmcaspo_axr2mcasp1_aclkxmmc0_sdwppr1_pru0_pru_r30_4pr1_pru0_pru_r31_4gpio3[18]114
P9_#C3D13GPIO3_200x1A8mcasp0_axr1eQEP0_index-Mcasp1_axr0EMU3pr1_pru0_pru_r30_6pr1_pru0_pru_r31_6gpio3[20]116