Skip to content

Instantly share code, notes, and snippets.

Created June 19, 2017 13:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8712086a9da1cc61d73712619a8afd37 to your computer and use it in GitHub Desktop.
Save anonymous/8712086a9da1cc61d73712619a8afd37 to your computer and use it in GitHub Desktop.
BANK0 (GPIO 0 to 27):
GPIO 00: level=1 fsel=6 alt=2 func=PCLK
GPIO 01: level=0 fsel=6 alt=2 func=DE
GPIO 02: level=0 fsel=6 alt=2 func=LCD_VSYNC
GPIO 03: level=0 fsel=6 alt=2 func=LCD_HSYNC
GPIO 04: level=0 fsel=6 alt=2 func=DPI_D0
GPIO 05: level=0 fsel=6 alt=2 func=DPI_D1
GPIO 06: level=0 fsel=6 alt=2 func=DPI_D2
GPIO 07: level=0 fsel=6 alt=2 func=DPI_D3
GPIO 08: level=0 fsel=6 alt=2 func=DPI_D4
GPIO 09: level=0 fsel=6 alt=2 func=DPI_D5
GPIO 10: level=1 fsel=0 alt= func=INPUT
GPIO 11: level=1 fsel=0 alt= func=INPUT
GPIO 12: level=0 fsel=0 alt= func=INPUT
GPIO 13: level=0 fsel=6 alt=2 func=DPI_D9
GPIO 14: level=0 fsel=6 alt=2 func=DPI_D10
GPIO 15: level=0 fsel=6 alt=2 func=DPI_D11
GPIO 16: level=0 fsel=6 alt=2 func=DPI_D12
GPIO 17: level=0 fsel=6 alt=2 func=DPI_D13
GPIO 18: level=1 fsel=1 alt= func=OUTPUT
GPIO 19: level=1 fsel=1 alt= func=OUTPUT
GPIO 20: level=0 fsel=6 alt=2 func=DPI_D16
GPIO 21: level=0 fsel=6 alt=2 func=DPI_D17
GPIO 22: level=0 fsel=6 alt=2 func=DPI_D18
GPIO 23: level=0 fsel=6 alt=2 func=DPI_D19
GPIO 24: level=0 fsel=6 alt=2 func=DPI_D20
GPIO 25: level=0 fsel=6 alt=2 func=DPI_D21
GPIO 26: level=0 fsel=1 alt= func=OUTPUT
GPIO 27: level=0 fsel=0 alt= func=INPUT
BANK1 (GPIO 28 to 45):
GPIO 28: level=0 fsel=0 alt= func=INPUT
GPIO 29: level=1 fsel=0 alt= func=INPUT
GPIO 30: level=0 fsel=0 alt= func=INPUT
GPIO 31: level=0 fsel=0 alt= func=INPUT
GPIO 32: level=1 fsel=7 alt=3 func=TXD0
GPIO 33: level=1 fsel=7 alt=3 func=RXD0
GPIO 34: level=1 fsel=7 alt=3 func=SD1_CLK
GPIO 35: level=1 fsel=7 alt=3 func=SD1_CMD
GPIO 36: level=1 fsel=7 alt=3 func=SD1_DAT0
GPIO 37: level=1 fsel=7 alt=3 func=SD1_DAT1
GPIO 38: level=1 fsel=7 alt=3 func=SD1_DAT2
GPIO 39: level=1 fsel=7 alt=3 func=SD1_DAT3
GPIO 40: level=0 fsel=4 alt=0 func=PWM0
GPIO 41: level=0 fsel=4 alt=0 func=PWM1
GPIO 42: level=0 fsel=4 alt=0 func=GPCLK1
GPIO 43: level=1 fsel=4 alt=0 func=GPCLK2
GPIO 44: level=1 fsel=0 alt= func=INPUT
GPIO 45: level=1 fsel=0 alt= func=INPUT
BANK2 (GPIO 46 to 53):
GPIO 46: level=1 fsel=0 alt= func=INPUT
GPIO 47: level=1 fsel=0 alt= func=INPUT
GPIO 48: level=0 fsel=4 alt=0 func=SD0_CLK
GPIO 49: level=1 fsel=4 alt=0 func=SD0_CMD
GPIO 50: level=1 fsel=4 alt=0 func=SD0_DAT0
GPIO 51: level=1 fsel=4 alt=0 func=SD0_DAT1
GPIO 52: level=1 fsel=4 alt=0 func=SD0_DAT2
GPIO 53: level=1 fsel=4 alt=0 func=SD0_DAT3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment