{ "version": "kb-boards-0.1", "docs_commit": "ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d", "licence_note": "Facts summarised from Raspberry Pi documentation (CC BY-SA 4.0) and Raspberry Pi Ltd datasheets/pinctrl (BSD-3). Raw sources are cached under data/kb/raw (git-ignored), not redistributed.", "boards": [ { "model": "Raspberry Pi Model B", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2835", "gpio_header": "26-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L23", "gpio_family": "bcm2835", "in_scope": false, "scope_note": "Original 26-pin header (Model A/B); pin mapping differs from the 40-pin header." }, { "model": "Raspberry Pi Model A", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2835", "gpio_header": "26-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L41", "gpio_family": "bcm2835", "in_scope": false, "scope_note": "Original 26-pin header (Model A/B); pin mapping differs from the 40-pin header." }, { "model": "Raspberry Pi Model B+", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2835", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L54", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Model A+", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2835", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L67", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi 2 Model B", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2836", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L83", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi 3 Model B", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2837", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L100", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi 3 Model B+", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2837B0", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L118", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi 3 Model A+", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2837B0", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L133", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi 4 Model B", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2711", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L147", "gpio_family": "bcm2711", "in_scope": true }, { "model": "Raspberry Pi 5", "series": "Flagship single-board computer (SBC) series", "soc": "BCM2712", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L173", "gpio_family": "rp1", "in_scope": true }, { "model": "Raspberry Pi 400", "series": "Keyboard computer (X00) series", "soc": "BCM2711", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L214", "gpio_family": "bcm2711", "in_scope": true }, { "model": "Raspberry Pi 500", "series": "Keyboard computer (X00) series", "soc": "BCM2712", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L227", "gpio_family": "rp1", "in_scope": true }, { "model": "Raspberry Pi 500+", "series": "Keyboard computer (X00) series", "soc": "BCM2712", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L240", "gpio_family": "rp1", "in_scope": true }, { "model": "Raspberry Pi Zero", "series": "Zero series", "soc": "BCM2835", "gpio_header": "40-pin GPIO header (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L273", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Zero W", "series": "Zero series", "soc": "BCM2835", "gpio_header": "40-pin GPIO header (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L277", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Zero WH", "series": "Zero series", "soc": "BCM2835", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L284", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Zero 2 W", "series": "Zero series", "soc": "RP3A0", "gpio_header": "40-pin GPIO header (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L291", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Zero 2 W with headers", "series": "Zero series", "soc": "RP3A0", "gpio_header": "40-pin GPIO header", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L298", "gpio_family": "bcm2835", "in_scope": true }, { "model": "Raspberry Pi Compute Module 1", "series": "Compute Module series", "soc": "BCM2835", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L318", "gpio_family": "bcm2835", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Compute Module 3", "series": "Compute Module series", "soc": "BCM2837", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L323", "gpio_family": "bcm2835", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Compute Module 3+", "series": "Compute Module series", "soc": "BCM2837B0", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L331", "gpio_family": "bcm2835", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Compute Module 4S", "series": "Compute Module series", "soc": "BCM2711", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L343", "gpio_family": "bcm2711", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Compute Module 4", "series": "Compute Module series", "soc": "BCM2711", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L363", "gpio_family": "bcm2711", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Compute Module 5", "series": "Compute Module series", "soc": "BCM2712", "gpio_header": "board connector (no 40-pin header; GPIO via carrier board)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L389", "gpio_family": "rp1", "in_scope": false, "scope_note": "GPIO exposed through the carrier board, not a fixed 40-pin header." }, { "model": "Raspberry Pi Pico", "series": "Pico microcontroller boards", "soc": "RP2040", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L429", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico H", "series": "Pico microcontroller boards", "soc": "RP2040", "gpio_header": "two 20-pin GPIO headers", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L433", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico W", "series": "Pico microcontroller boards", "soc": "RP2040", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L437", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico WH", "series": "Pico microcontroller boards", "soc": "RP2040", "gpio_header": "two 20-pin GPIO headers", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L444", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico 2", "series": "Pico microcontroller boards", "soc": "RP2350", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L451", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico 2 W", "series": "Pico microcontroller boards", "soc": "RP2350", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L455", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico 2 with headers", "series": "Pico microcontroller boards", "soc": "RP2350", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L461", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." }, { "model": "Raspberry Pi Pico 2 W with headers", "series": "Pico microcontroller boards", "soc": "RP2350", "gpio_header": "two 20-pin GPIO headers (unpopulated)", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/introduction.adoc#L465", "gpio_family": "microcontroller", "in_scope": false, "scope_note": "Pico family: microcontroller (GP0-GP28, ADC); out of scope for this round." } ], "gpio_families": { "bcm2835": { "alt_functions": { "0": [ "I2C0_SDA", "SA5", "PCLK", "AVEOUT_VCLK", "AVEIN_VCLK", null ], "1": [ "I2C0_SCL", "SA4", "DE", "AVEOUT_DSYNC", "AVEIN_DSYNC", null ], "2": [ "I2C1_SDA", "SA3", "LCD_VSYNC", "AVEOUT_VSYNC", "AVEIN_VSYNC", null ], "3": [ "I2C1_SCL", "SA2", "LCD_HSYNC", "AVEOUT_HSYNC", "AVEIN_HSYNC", null ], "4": [ "GPCLK[0]", "SA1", "DPI_D[0]", "AVEOUT_VID0", "AVEIN_VID0", "ARM_TDI" ], "5": [ "GPCLK[1]", "SA0", "DPI_D[1]", "AVEOUT_VID1", "AVEIN_VID1", "ARM_TDO" ], "6": [ "GPCLK[2]", "SOE_N_SE", "DPI_D[2]", "AVEOUT_VID2", "AVEIN_VID2", "ARM_RTCK" ], "7": [ "SPI0_CSn[1]", "SWE_N_SRW_N", "DPI_D[3]", "AVEOUT_VID3", "AVEIN_VID3", null ], "8": [ "SPI0_CSn[0]", "SD0", "DPI_D[4]", "AVEOUT_VID4", "AVEIN_VID4", null ], "9": [ "SPI0_MISO", "SD1", "DPI_D[5]", "AVEOUT_VID5", "AVEIN_VID5", null ], "10": [ "SPI0_MOSI", "SD2", "DPI_D[6]", "AVEOUT_VID6", "AVEIN_VID6", null ], "11": [ "SPI0_SCLK", "SD3", "DPI_D[7]", "AVEOUT_VID7", "AVEIN_VID7", null ], "12": [ "PWM0", "SD4", "DPI_D[8]", "AVEOUT_VID8", "AVEIN_VID8", "ARM_TMS" ], "13": [ "PWM1", "SD5", "DPI_D[9]", "AVEOUT_VID9", "AVEIN_VID9", "ARM_TCK" ], "14": [ "UART0_TX", "SD6", "DPI_D[10]", "AVEOUT_VID10", "AVEIN_VID10", "UART1_TX" ], "15": [ "UART0_RX", "SD7", "DPI_D[11]", "AVEOUT_VID11", "AVEIN_VID11", "UART1_RX" ], "16": [ "FL0", "SD8", "DPI_D[12]", "UART0_CTS", "SPI1_CSn[2]", "UART1_CTS" ], "17": [ "FL1", "SD9", "DPI_D[13]", "UART0_RTS", "SPI1_CSn[1]", "UART1_RTS" ], "18": [ "PCM_CLK", "SD10", "DPI_D[14]", "I2CSL_SDA_MOSI", "SPI1_CSn[0]", "PWM0" ], "19": [ "PCM_FS", "SD11", "DPI_D[15]", "I2CSL_SCL_SCLK", "SPI1_MISO", "PWM1" ], "20": [ "PCM_DIN", "SD12", "DPI_D[16]", "I2CSL_MISO", "SPI1_MOSI", "GPCLK[0]" ], "21": [ "PCM_DOUT", "SD13", "DPI_D[17]", "I2CSL_CE_N", "SPI1_SCLK", "GPCLK[1]" ], "22": [ "SDIO0_CLK", "SD14", "DPI_D[18]", "SDIO1_CLK", "ARM_TRST", null ], "23": [ "SDIO0_CMD", "SD15", "DPI_D[19]", "SDIO1_CMD", "ARM_RTCK", null ], "24": [ "SDIO0_DAT[0]", "SD16", "DPI_D[20]", "SDIO1_DAT[0]", "ARM_TDO", null ], "25": [ "SDIO0_DAT[1]", "SD17", "DPI_D[21]", "SDIO1_DAT[1]", "ARM_TCK", null ], "26": [ "SDIO0_DAT[2]", "TE0", "DPI_D[22]", "SDIO1_DAT[2]", "ARM_TDI", null ], "27": [ "SDIO0_DAT[3]", "TE1", "DPI_D[23]", "SDIO1_DAT[3]", "ARM_TMS", null ] }, "alt_functions_source": "https://github.com/raspberrypi/utils/blob/ebc4a56bac3a896d5c14e56fe27dcd6cb36dd373/pinctrl/gpiochip_bcm2835.c#L49", "socs": [ "BCM2835", "BCM2836", "BCM2837", "BCM2837B0", "RP3A0" ], "default_pull_after_reset": { "0": "UP", "1": "UP", "2": "UP", "3": "UP", "4": "UP", "5": "UP", "6": "UP", "7": "UP", "8": "UP", "9": "DOWN", "10": "DOWN", "11": "DOWN", "12": "DOWN", "13": "DOWN", "14": "DOWN", "15": "DOWN", "16": "DOWN", "17": "DOWN", "18": "DOWN", "19": "DOWN", "20": "DOWN", "21": "DOWN", "22": "DOWN", "23": "DOWN", "24": "DOWN", "25": "DOWN", "26": "DOWN", "27": "DOWN" }, "default_pull_source": "BCM2835 ARM Peripherals §6.2 (https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf)", "drive_strength_ma": [ 2, 4, 6, 8, 10, 12, 14, 16 ], "drive_strength_default_ma": 8, "drive_strength_source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L92", "input_low_max_v": 0.9, "input_high_min_v": 1.6, "pull_resistor_kohm": [ 50, 65 ], "voltage_source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L87", "hardware_pwm_channels": { "PWM0[0]": [ 12, 18 ], "PWM0[1]": [ 13, 19 ] }, "hardware_pwm_gpios": [ 12, 13, 18, 19 ] }, "bcm2711": { "alt_functions": { "0": [ "I2C0_SDA", "SA5", "PCLK", "SPI3_CSn[0]", "UART2_TX", "I2C6_SDA" ], "1": [ "I2C0_SCL", "SA4", "DE", "SPI3_MISO", "UART2_RX", "I2C6_SCL" ], "2": [ "I2C1_SDA", "SA3", "LCD_VSYNC", "SPI3_MOSI", "UART2_CTS", "I2C3_SDA" ], "3": [ "I2C1_SCL", "SA2", "LCD_HSYNC", "SPI3_SCLK", "UART2_RTS", "I2C3_SCL" ], "4": [ "GPCLK[0]", "SA1", "DPI_D[0]", "SPI4_CSn[0]", "UART3_TX", "I2C3_SDA" ], "5": [ "GPCLK[1]", "SA0", "DPI_D[1]", "SPI4_MISO", "UART3_RX", "I2C3_SCL" ], "6": [ "GPCLK[2]", "SOE_N_SE", "DPI_D[2]", "SPI4_MOSI", "UART3_CTS", "I2C4_SDA" ], "7": [ "SPI0_CSn[1]", "SWE_N_SRW_N", "DPI_D[3]", "SPI4_SCLK", "UART3_RTS", "I2C4_SCL" ], "8": [ "SPI0_CSn[0]", "SD0", "DPI_D[4]", "I2CSL_CE_N", "UART4_TX", "I2C4_SDA" ], "9": [ "SPI0_MISO", "SD1", "DPI_D[5]", "I2CSL_SDI_MISO", "UART4_RX", "I2C4_SCL" ], "10": [ "SPI0_MOSI", "SD2", "DPI_D[6]", "I2CSL_SDA_MOSI", "UART4_CTS", "I2C5_SDA" ], "11": [ "SPI0_SCLK", "SD3", "DPI_D[7]", "I2CSL_SCL_SCLK", "UART4_RTS", "I2C5_SCL" ], "12": [ "PWM0[0]", "SD4", "DPI_D[8]", "SPI5_CSn[0]", "UART5_TX", "I2C5_SDA" ], "13": [ "PWM0[1]", "SD5", "DPI_D[9]", "SPI5_MISO", "UART5_RX", "I2C5_SCL" ], "14": [ "UART0_TX", "SD6", "DPI_D[10]", "SPI5_MOSI", "UART5_CTS", "UART1_TX" ], "15": [ "UART0_RX", "SD7", "DPI_D[11]", "SPI5_SCLK", "UART5_RTS", "UART1_RX" ], "16": [ null, "SD8", "DPI_D[12]", "UART0_CTS", "SPI1_CSn[2]", "UART1_CTS" ], "17": [ null, "SD9", "DPI_D[13]", "UART0_RTS", "SPI1_CSn[1]", "UART1_RTS" ], "18": [ "PCM_CLK", "SD10", "DPI_D[14]", "SPI6_CSn[0]", "SPI1_CSn[0]", "PWM0[0]" ], "19": [ "PCM_FS", "SD11", "DPI_D[15]", "SPI6_MISO", "SPI1_MISO", "PWM0[1]" ], "20": [ "PCM_DIN", "SD12", "DPI_D[16]", "SPI6_MOSI", "SPI1_MOSI", "GPCLK[0]" ], "21": [ "PCM_DOUT", "SD13", "DPI_D[17]", "SPI6_SCLK", "SPI1_SCLK", "GPCLK[1]" ], "22": [ "SDIO0_CLK", "SD14", "DPI_D[18]", "SDIO1_CLK", "ARM_TRST", "I2C6_SDA" ], "23": [ "SDIO0_CMD", "SD15", "DPI_D[19]", "SDIO1_CMD", "ARM_RTCK", "I2C6_SCL" ], "24": [ "SDIO0_DAT[0]", "SD16", "DPI_D[20]", "SDIO1_DAT[0]", "ARM_TDO", "SPI3_CSn[1]" ], "25": [ "SDIO0_DAT[1]", "SD17", "DPI_D[21]", "SDIO1_DAT[1]", "ARM_TCK", "SPI4_CSn[1]" ], "26": [ "SDIO0_DAT[2]", null, "DPI_D[22]", "SDIO1_DAT[2]", "ARM_TDI", "SPI5_CSn[1]" ], "27": [ "SDIO0_DAT[3]", null, "DPI_D[23]", "SDIO1_DAT[3]", "ARM_TMS", "SPI6_CSn[1]" ] }, "alt_functions_source": "https://github.com/raspberrypi/utils/blob/ebc4a56bac3a896d5c14e56fe27dcd6cb36dd373/pinctrl/gpiochip_bcm2835.c#L107", "socs": [ "BCM2711" ], "default_pull_after_reset": { "0": "UP", "1": "UP", "2": "UP", "3": "UP", "4": "UP", "5": "UP", "6": "UP", "7": "UP", "8": "UP", "9": "DOWN", "10": "DOWN", "11": "DOWN", "12": "DOWN", "13": "DOWN", "14": "DOWN", "15": "DOWN", "16": "DOWN", "17": "DOWN", "18": "DOWN", "19": "DOWN", "20": "DOWN", "21": "DOWN", "22": "DOWN", "23": "DOWN", "24": "DOWN", "25": "DOWN", "26": "DOWN", "27": "DOWN" }, "default_pull_source": "Compute Module 4 datasheet, 'GPIO pins alternative function assignment' (https://pip.raspberrypi.com/documents/RP-008168-DS-cm4-datasheet.pdf)", "drive_strength_note": "Same 8 register settings as BCM2835, but on 4-series devices the current level is half the value shown; default 4 mA, maximum 8 mA.", "drive_strength_default_ma": 4, "drive_strength_max_ma": 8, "drive_strength_source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L9", "input_low_max_v": 0.8, "input_high_min_v": 2.0, "pull_resistor_kohm": [ 33, 73 ], "voltage_source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L177", "hardware_pwm_channels": { "PWM0[0]": [ 12, 18 ], "PWM0[1]": [ 13, 19 ] }, "hardware_pwm_gpios": [ 12, 13, 18, 19 ] }, "rp1": { "alt_functions": { "0": [ "SPI0_SIO[3]", "DPI_PCLK", "UART1_TX", "I2C0_SDA", null, "SYS_RIO[0]", "PROC_RIO[0]", "PIO[0]", "SPI2_CSn[0]" ], "1": [ "SPI0_SIO[2]", "DPI_DE", "UART1_RX", "I2C0_SCL", null, "SYS_RIO[1]", "PROC_RIO[1]", "PIO[1]", "SPI2_SIO[1]" ], "2": [ "SPI0_CSn[3]", "DPI_VSYNC", "UART1_CTS", "I2C1_SDA", "UART0_IR_RX", "SYS_RIO[2]", "PROC_RIO[2]", "PIO[2]", "SPI2_SIO[0]" ], "3": [ "SPI0_CSn[2]", "DPI_HSYNC", "UART1_RTS", "I2C1_SCL", "UART0_IR_TX", "SYS_RIO[3]", "PROC_RIO[3]", "PIO[3]", "SPI2_SCLK" ], "4": [ "GPCLK[0]", "DPI_D[0]", "UART2_TX", "I2C2_SDA", "UART0_RI", "SYS_RIO[4]", "PROC_RIO[4]", "PIO[4]", "SPI3_CSn[0]" ], "5": [ "GPCLK[1]", "DPI_D[1]", "UART2_RX", "I2C2_SCL", "UART0_DTR", "SYS_RIO[5]", "PROC_RIO[5]", "PIO[5]", "SPI3_SIO[1]" ], "6": [ "GPCLK[2]", "DPI_D[2]", "UART2_CTS", "I2C3_SDA", "UART0_DCD", "SYS_RIO[6]", "PROC_RIO[6]", "PIO[6]", "SPI3_SIO[0]" ], "7": [ "SPI0_CSn[1]", "DPI_D[3]", "UART2_RTS", "I2C3_SCL", "UART0_DSR", "SYS_RIO[7]", "PROC_RIO[7]", "PIO[7]", "SPI3_SCLK" ], "8": [ "SPI0_CSn[0]", "DPI_D[4]", "UART3_TX", "I2C0_SDA", null, "SYS_RIO[8]", "PROC_RIO[8]", "PIO[8]", "SPI4_CSn[0]" ], "9": [ "SPI0_SIO[1]", "DPI_D[5]", "UART3_RX", "I2C0_SCL", null, "SYS_RIO[9]", "PROC_RIO[9]", "PIO[9]", "SPI4_SIO[0]" ], "10": [ "SPI0_SIO[0]", "DPI_D[6]", "UART3_CTS", "I2C1_SDA", null, "SYS_RIO[10]", "PROC_RIO[10]", "PIO[10]", "SPI4_SIO[1]" ], "11": [ "SPI0_SCLK", "DPI_D[7]", "UART3_RTS", "I2C1_SCL", null, "SYS_RIO[11]", "PROC_RIO[11]", "PIO[11]", "SPI4_SCLK" ], "12": [ "PWM0[0]", "DPI_D[8]", "UART4_TX", "I2C2_SDA", "AUDIO_OUT_L", "SYS_RIO[12]", "PROC_RIO[12]", "PIO[12]", "SPI5_CSn[0]" ], "13": [ "PWM0[1]", "DPI_D[9]", "UART4_RX", "I2C2_SCL", "AUDIO_OUT_R", "SYS_RIO[13]", "PROC_RIO[13]", "PIO[13]", "SPI5_SIO[1]" ], "14": [ "PWM0[2]", "DPI_D[10]", "UART4_CTS", "I2C3_SDA", "UART0_TX", "SYS_RIO[14]", "PROC_RIO[14]", "PIO[14]", "SPI5_SIO[0]" ], "15": [ "PWM0[3]", "DPI_D[11]", "UART4_RTS", "I2C3_SCL", "UART0_RX", "SYS_RIO[15]", "PROC_RIO[15]", "PIO[15]", "SPI5_SCLK" ], "16": [ "SPI1_CSn[2]", "DPI_D[12]", "MIPI0_DSI_TE", null, "UART0_CTS", "SYS_RIO[16]", "PROC_RIO[16]", "PIO[16]" ], "17": [ "SPI1_CSn[1]", "DPI_D[13]", "MIPI1_DSI_TE", null, "UART0_RTS", "SYS_RIO[17]", "PROC_RIO[17]", "PIO[17]" ], "18": [ "SPI1_CSn[0]", "DPI_D[14]", "I2S0_SCLK", "PWM0[2]", "I2S1_SCLK", "SYS_RIO[18]", "PROC_RIO[18]", "PIO[18]", "GPCLK[1]" ], "19": [ "SPI1_SIO[1]", "DPI_D[15]", "I2S0_WS", "PWM0[3]", "I2S1_WS", "SYS_RIO[19]", "PROC_RIO[19]", "PIO[19]" ], "20": [ "SPI1_SIO[0]", "DPI_D[16]", "I2S0_SDI[0]", "GPCLK[0]", "I2S1_SDI[0]", "SYS_RIO[20]", "PROC_RIO[20]", "PIO[20]" ], "21": [ "SPI1_SCLK", "DPI_D[17]", "I2S0_SDO[0]", "GPCLK[1]", "I2S1_SDO[0]", "SYS_RIO[21]", "PROC_RIO[21]", "PIO[21]" ], "22": [ "SDIO0_CLK", "DPI_D[18]", "I2S0_SDI[1]", "I2C3_SDA", "I2S1_SDI[1]", "SYS_RIO[22]", "PROC_RIO[22]", "PIO[22]" ], "23": [ "SDIO0_CMD", "DPI_D[19]", "I2S0_SDO[1]", "I2C3_SCL", "I2S1_SDO[1]", "SYS_RIO[23]", "PROC_RIO[23]", "PIO[23]" ], "24": [ "SDIO0_DAT[0]", "DPI_D[20]", "I2S0_SDI[2]", null, "I2S1_SDI[2]", "SYS_RIO[24]", "PROC_RIO[24]", "PIO[24]", "SPI2_CSn[1]" ], "25": [ "SDIO0_DAT[1]", "DPI_D[21]", "I2S0_SDO[2]", "AUDIO_IN_CLK", "I2S1_SDO[2]", "SYS_RIO[25]", "PROC_RIO[25]", "PIO[25]", "SPI3_CSn[1]" ], "26": [ "SDIO0_DAT[2]", "DPI_D[22]", "I2S0_SDI[3]", "AUDIO_IN_DAT0", "I2S1_SDI[3]", "SYS_RIO[26]", "PROC_RIO[26]", "PIO[26]", "SPI5_CSn[1]" ], "27": [ "SDIO0_DAT[3]", "DPI_D[23]", "I2S0_SDO[3]", "AUDIO_IN_DAT1", "I2S1_SDO[3]", "SYS_RIO[27]", "PROC_RIO[27]", "PIO[27]", "SPI1_CSn[1]" ] }, "alt_functions_source": "https://github.com/raspberrypi/utils/blob/ebc4a56bac3a896d5c14e56fe27dcd6cb36dd373/pinctrl/gpiochip_rp1.c#L83", "socs": [ "BCM2712 + RP1" ], "default_pull_after_reset": null, "default_pull_note": "Not stated per pin (spec decision D-05); never used in labels.", "drive_strength_ma": [ 2, 4, 8, 12 ], "drive_strength_default_ma": 4, "drive_strength_source": "spec/rpi5_hardware_facts.json F-DRIVE-STRENGTH (RP1 datasheet §3.1.3)", "hardware_pwm_channels": { "PWM0[0]": [ 12 ], "PWM0[1]": [ 13 ], "PWM0[2]": [ 14, 18 ], "PWM0[3]": [ 15, 19 ] }, "hardware_pwm_gpios": [ 12, 13, 14, 15, 18, 19 ] } }, "common_40pin": { "gpio_output_levels": { "value": "high 3.3 V / low 0 V", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L18" }, "fixed_pull_up": { "value": [ 2, 3 ], "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L22" }, "reserved": { "value": [ 0, 1 ], "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L14" }, "power_on_state": { "value": "all GPIOs are inputs after power-on reset; default pulls applied", "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L51" }, "drive_is_not_current_limit": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L17" }, "short_circuit_fails": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L26" }, "safe_current_16ma": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L46" }, "supply_3v3_about_3ma_per_pin": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-pad-controls.adoc#L42" }, "warnings": { "value": [ "LEDs need current-limiting resistors", "do not use 5V for 3.3V components", "do not connect motors directly; use an H-bridge or motor controller" ], "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L28" }, "software_pwm_all_pins": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L72" }, "header_alt_summary": { "source": "https://github.com/raspberrypi/documentation/blob/ecd7a8129d4f2cb908d6cbd6ea5a994e0091285d/documentation/asciidoc/computers/raspberry-pi/gpio-on-raspberry-pi.adoc#L75" } }, "verification": { "rp1_pinctrl_vs_frozen_spec": "252/252 cells equal after name normalisation", "bcm2711_pinctrl_vs_cm4_datasheet": "168/168 cells equal in substance (4 differ only as BSCSL vs I2CSL naming)", "bcm2835_pinctrl_vs_bcm2835_datasheet": "36/36 I2C/SPI/UART/PWM/GPCLK/PCM cells equal (datasheet ALT2 column empty in the 2012 edition; OCR artefacts corrected)" } }