Skip to content

Instantly share code, notes, and snippets.

@silver2row
Created September 5, 2018 01:56
Show Gist options
  • Save silver2row/deace30263609e227ba79ef4a9efca7a to your computer and use it in GitHub Desktop.
Save silver2row/deace30263609e227ba79ef4a9efca7a to your computer and use it in GitHub Desktop.
RE: BBB and gpioinfo from libgpiod
debian@beaglebone:~$ gpioinfo
gpiochip0 - 32 lines:
line 0: "MDIO_DATA" unused input active-high
line 1: "MDIO_CLK" unused input active-high
line 2: "SPI0_SCLK" "P9_22" input active-high [used]
line 3: "SPI0_D0" "P9_21" input active-high [used]
line 4: "SPI0_D1" "P9_18" input active-high [used]
line 5: "SPI0_CS0" "P9_17" input active-high [used]
line 6: "SPI0_CS1" "cd" input active-low [used]
line 7: "ECAP0_IN_PWM0_OUT" "P9_42" input active-high [used]
line 8: "LCD_DATA12" unused input active-high
line 9: "LCD_DATA13" unused input active-high
line 10: "LCD_DATA14" unused input active-high
line 11: "LCD_DATA15" unused input active-high
line 12: "UART1_CTSN" "P9_20" input active-high [used]
line 13: "UART1_RTSN" "P9_19" input active-high [used]
line 14: "UART1_RXD" "P9_26" input active-high [used]
line 15: "UART1_TXD" "P9_24" input active-high [used]
line 16: "GMII1_TXD3" unused input active-high
line 17: "GMII1_TXD2" unused input active-high
line 18: "USB0_DRVVBUS" unused input active-high
line 19: "XDMA_EVENT_INTR0" unused input active-high
line 20: "XDMA_EVENT_INTR1" "P9_41" input active-high [used]
line 21: "GMII1_TXD1" unused input active-high
line 22: "GPMC_AD8" "P8_19" input active-high [used]
line 23: "GPMC_AD9" "P8_13" input active-high [used]
line 24: "NC" unused input active-high
line 25: "NC" unused input active-high
line 26: "GPMC_AD10" "P8_14" input active-high [used]
line 27: "GPMC_AD11" "P8_17" input active-high [used]
line 28: "GMII1_TXD0" "wl18xx_bt_en" output active-high [used]
line 29: "RMII1_REFCLK" "interrupt" input active-high [used]
line 30: "GPMC_WAIT0" "P9_11" input active-high [used]
line 31: "GPMC_WPN" "P9_13" input active-high [used]
gpiochip1 - 32 lines:
line 0: "GPMC_AD0" unused input active-high
line 1: "GPMC_AD1" unused input active-high
line 2: "GPMC_AD2" unused input active-high
line 3: "GPMC_AD3" unused input active-high
line 4: "GPMC_AD4" unused input active-high
line 5: "GPMC_AD5" unused input active-high
line 6: "GPMC_AD6" unused input active-high
line 7: "GPMC_AD7" unused input active-high
line 8: "UART0_CTSN" unused input active-high
line 9: "UART0_RTSN" unused input active-high
line 10: "UART0_RXD" unused input active-high
line 11: "UART0_TXD" unused input active-high
line 12: "GPMC_AD12" "P8_12" input active-high [used]
line 13: "GPMC_AD13" "P8_11" input active-high [used]
line 14: "GPMC_AD14" "P8_16" input active-high [used]
line 15: "GPMC_AD15" "P8_15" input active-high [used]
line 16: "GPMC_A0" "P9_15" input active-high [used]
line 17: "GPMC_A1" "P9_23" input active-high [used]
line 18: "GPMC_A2" "P9_14" input active-high [used]
line 19: "GPMC_A3" "P9_16" input active-high [used]
line 20: "GPMC_A4" unused input active-high
line 21: "GPMC_A5" "beaglebone:green:usr0" output active-high [used]
line 22: "GPMC_A6" "beaglebone:green:usr1" output active-high [used]
line 23: "GPMC_A7" "beaglebone:green:usr2" output active-high [used]
line 24: "GPMC_A8" "beaglebone:green:usr3" output active-high [used]
line 25: "GPMC_A9" unused input active-high
line 26: "GPMC_A10" unused input active-high
line 27: "GPMC_A11" "clk_mcasp0" output active-high [used]
line 28: "GPMC_BE1N" "P9_12" input active-high [used]
line 29: "GPMC_CSN0" "P8_26" input active-high [used]
line 30: "GPMC_CSN1" unused input active-high
line 31: "GPMC_CSN2" unused input active-high
gpiochip2 - 32 lines:
line 0: "GPMC_CSN3" unused input active-high
line 1: "GPMC_CLK" "P8_18" input active-high [used]
line 2: "GPMC_ADVN_ALE" "P8_07" input active-high [used]
line 3: "GPMC_OEN_REN" "P8_08" input active-high [used]
line 4: "GPMC_WEN" "P8_10" input active-high [used]
line 5: "GPMC_BE0N_CLE" "P8_09" input active-high [used]
line 6: "LCD_DATA0" unused input active-high
line 7: "LCD_DATA1" unused input active-high
line 8: "LCD_DATA2" unused input active-high
line 9: "LCD_DATA3" unused input active-high
line 10: "LCD_DATA4" unused input active-high
line 11: "LCD_DATA5" unused input active-high
line 12: "LCD_DATA6" unused input active-high
line 13: "LCD_DATA7" unused input active-high
line 14: "LCD_DATA8" unused input active-high
line 15: "LCD_DATA9" unused input active-high
line 16: "LCD_DATA10" unused input active-high
line 17: "LCD_DATA11" unused input active-high
line 18: "GMII1_RXD3" unused input active-high
line 19: "GMII1_RXD2" unused input active-high
line 20: "GMII1_RXD1" unused input active-high
line 21: "GMII1_RXD0" unused input active-high
line 22: "LCD_VSYNC" unused input active-high
line 23: "LCD_HSYNC" unused input active-high
line 24: "LCD_PCLK" unused input active-high
line 25: "LCD_AC_BIAS_EN" unused input active-high
line 26: "MMC0_DAT3" unused input active-high
line 27: "MMC0_DAT2" unused input active-high
line 28: "MMC0_DAT1" unused input active-high
line 29: "MMC0_DAT0" unused input active-high
line 30: "MMC0_CLK" unused input active-high
line 31: "MMC0_CMD" unused input active-high
gpiochip3 - 32 lines:
line 0: "GMII1_COL" unused input active-high
line 1: "GMII1_CRS" unused input active-high
line 2: "GMII1_RXER" unused input active-high
line 3: "GMII1_TXEN" unused input active-high
line 4: "GMII1_RXDV" unused input active-high
line 5: "I2C0_SDA" unused input active-high
line 6: "I2C0_SCL" unused input active-high
line 7: "EMU0" unused input active-high
line 8: "EMU1" unused input active-high
line 9: "GMII1_TXCLK" "wlan-en-regulator" output active-high [used]
line 10: "GMII1_RXCLK" "LS_BUF_EN" output active-high [used]
line 11: "NC" unused input active-high
line 12: "NC" unused input active-high
line 13: "USB1_DRVVBUS" unused input active-high
line 14: "MCASP0_ACLKX" unused input active-high
line 15: "MCASP0_FSX" unused input active-high
line 16: "MCASP0_AXR0" "P9_30" input active-high [used]
line 17: "MCASP0_AHCLKR" unused input active-high
line 18: "MCASP0_ACLKR" "P9_92" input active-high [used]
line 19: "MCASP0_FSR" "P9_27" input active-high [used]
line 20: "MCASP0_AXR1" "P9_91" input active-high [used]
line 21: "MCASP0_AHCLKX" unused input active-high
line 22: "NC" unused input active-high
line 23: "NC" unused input active-high
line 24: "NC" unused input active-high
line 25: "NC" unused input active-high
line 26: "NC" unused input active-high
line 27: "NC" unused input active-high
line 28: "NC" unused input active-high
line 29: "NC" unused input active-high
line 30: "NC" unused input active-high
line 31: "NC" unused input active-high
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment