# Raspberry Pi 4 Model B

- **Manufacturer**: Raspberry Pi Ltd
- **Type**: Board
- **Year**: 2019
- **URL (German)**: https://pinoutdb.org/component/raspberry-pi-4b
- **URL (English)**: https://pinoutdb.org/en/component/raspberry-pi-4b
- **Description**: Popular single-board computer featuring a 1.5 GHz 64-bit quad-core ARM Cortex-A72 processor (Broadcom BCM2711), dual 4K micro-HDMI, Gigabit Ethernet, USB 3.0, and 40-pin GPIO header.
- **Datasheets & Links**:
  - [Raspberry Pi 4B Datasheet (PDF)](https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-datasheet.pdf) (datasheet)
  - [BCM2711 ARM Peripherals Documentation (PDF)](https://datasheets.raspberrypi.com/bcm2711/bcm2711-peripherals.pdf) (docs)
  - [Official Raspberry Pi Documentation](https://www.raspberrypi.com/documentation/computers/raspberry-pi.html) (manufacturer)

## View: Board Layout (Top & Bottom View) (Package: overview)

*Overview / Functional Layout View*


## View: 40-Pin GPIO Header (J8) (Package: pin_header)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | 3V3 | Power | +3.3V DC Power [Power] |
| 2 | 5V | Power | +5V DC Power [Power] |
| 3 | GPIO2 | Digital | SDA1 (I2C1) [I2C], SPI3_MOSI [SPI], CTS2 [UART], SDA3 [I2C] |
| 4 | 5V | Power | +5V DC Power [Power] |
| 5 | GPIO3 | Digital | SCL1 (I2C1) [I2C], SPI3_SCLK [SPI], RTS2 [UART], SCL3 [I2C] |
| 6 | GND | Ground | Ground (0V) [Ground] |
| 7 | GPIO4 | Digital | GPCLK0 [Clock], 1-Wire Default [1-Wire], SPI4_CE0_N [SPI], TXD3 [UART] |
| 8 | GPIO14 | Digital | TXD0 (UART0) [UART], SPI5_MOSI [SPI], TXD1 [UART] |
| 9 | GND | Ground | Ground (0V) [Ground] |
| 10 | GPIO15 | Digital | RXD0 (UART0) [UART], SPI5_SCLK [SPI], RXD1 [UART] |
| 11 | GPIO17 | Digital | SPI1_CE1_N [SPI], RTS0 [UART], RTS1 [UART] |
| 12 | GPIO18 | Digital | PCM_CLK [Audio], PWM0 [PWM], SPI6_CE0_N [SPI], SPI1_CE0_N [SPI] |
| 13 | GPIO27 | Digital | SD0_DAT3 [SDIO], SPI6_CE1_N [SPI], ARM_TMS [JTAG] |
| 14 | GND | Ground | Ground (0V) [Ground] |
| 15 | GPIO22 | Digital | SD0_CLK [SDIO], SD1_CLK [SDIO], ARM_TRST [JTAG], SDA6 [I2C] |
| 16 | GPIO23 | Digital | SD0_CMD [SDIO], SD1_CMD [SDIO], ARM_RTCK [JTAG], SCL6 [I2C] |
| 17 | 3V3 | Power | +3.3V DC Power [Power] |
| 18 | GPIO24 | Digital | SD0_DAT0 [SDIO], SPI3_CE1_N [SPI], ARM_TDO [JTAG] |
| 19 | GPIO10 | Digital | SPI0_MOSI [SPI], SD2 [SDIO], SDA5 [I2C] |
| 20 | GND | Ground | Ground (0V) [Ground] |
| 21 | GPIO9 | Digital | SPI0_MISO [SPI], SD1 [SDIO], SCL4 [I2C] |
| 22 | GPIO25 | Digital | SD0_DAT1 [SDIO], SPI4_CE1_N [SPI], ARM_TCK [JTAG] |
| 23 | GPIO11 | Digital | SPI0_SCLK [SPI], SD3 [SDIO], SCL5 [I2C] |
| 24 | GPIO8 | Digital | SPI0_CE0_N [SPI], SD0 [SDIO], SDA4 [I2C] |
| 25 | GND | Ground | Ground (0V) [Ground] |
| 26 | GPIO7 | Digital | SPI0_CE1_N [SPI], SPI4_SCLK [SPI], SCL4 [I2C] |
| 27 | ID_SD | Digital | HAT ID EEPROM SDA [I2C ID] |
| 28 | ID_SC | Digital | HAT ID EEPROM SCL [I2C ID] |
| 29 | GPIO5 | Digital | GPCLK1 [Clock], SPI4_MISO [SPI], RXD3 [UART], SCL3 [I2C] |
| 30 | GND | Ground | Ground (0V) [Ground] |
| 31 | GPIO6 | Digital | GPCLK2 [Clock], SPI4_MOSI [SPI], CTS3 [UART], SDA4 [I2C] |
| 32 | GPIO12 | Digital | PWM0 [PWM], SPI5_CE0_N [SPI], TXD5 [UART], SDA5 [I2C] |
| 33 | GPIO13 | Digital | PWM1 [PWM], SPI5_MISO [SPI], RXD5 [UART], SCL5 [I2C] |
| 34 | GND | Ground | Ground (0V) [Ground] |
| 35 | GPIO19 | Digital | PCM_FS [Audio], PWM1 [PWM], SPI6_MISO [SPI], SPI1_MISO [SPI] |
| 36 | GPIO16 | Digital | CTS0 [UART], SPI1_CE2_N [SPI], CTS1 [UART] |
| 37 | GPIO26 | Digital | SD0_DAT2 [SDIO], SPI5_CE1_N [SPI], ARM_TDI [JTAG] |
| 38 | GPIO20 | Digital | PCM_DIN [Audio], SPI6_MOSI [SPI], SPI1_MOSI [SPI], GPCLK0 [Clock] |
| 39 | GND | Ground | Ground (0V) [Ground] |
| 40 | GPIO21 | Digital | PCM_DOUT [Audio], SPI6_SCLK [SPI], SPI1_SCLK [SPI], GPCLK1 [Clock] |


## View: 4-Pin PoE Header (J0) (Package: pin_header)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | TR01_TAP | Power | Ethernet Tap Pair 0/1 [PoE] |
| 2 | TR23_TAP | Power | Ethernet Tap Pair 2/3 [PoE] |
| 3 | TR45_TAP | Power | Ethernet Tap Pair 4/5 [PoE] |
| 4 | TR67_TAP | Power | Ethernet Tap Pair 6/7 [PoE] |


## View: Global En / Run Header (J2 / RUN) (Package: pin_header)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | GLOBAL_EN | Digital | PMIC Power Control (Pull LOW to power down) [Power Control] |
| 2 | GND | Ground | Ground (0V) [Ground] |
| 3 | RUN | Digital | BCM2711 Reset (Pull LOW to reset) [Reset] |


## View: 15-Pin MIPI CSI Camera Connector (Package: fpc_connector)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | GND | Ground | Ground (0V) [Ground] |
| 2 | CAM_D0_N | Digital | MIPI CSI Data Lane 0 Negative [MIPI CSI] |
| 3 | CAM_D0_P | Digital | MIPI CSI Data Lane 0 Positive [MIPI CSI] |
| 4 | GND | Ground | Ground (0V) [Ground] |
| 5 | CAM_D1_N | Digital | MIPI CSI Data Lane 1 Negative [MIPI CSI] |
| 6 | CAM_D1_P | Digital | MIPI CSI Data Lane 1 Positive [MIPI CSI] |
| 7 | GND | Ground | Ground (0V) [Ground] |
| 8 | CAM_CK_N | Digital | MIPI CSI Clock Lane Negative [MIPI CSI] |
| 9 | CAM_CK_P | Digital | MIPI CSI Clock Lane Positive [MIPI CSI] |
| 10 | GND | Ground | Ground (0V) [Ground] |
| 11 | CAM_GPIO | Digital | Camera Enable [Reset], LED Control [LED] |
| 12 | CAM_IO1 | NC | Reserved [NC], Unused [NC] |
| 13 | SCL0 | Digital | I2C0 Clock (Camera Control) [I2C] |
| 14 | SDA0 | Digital | I2C0 Data (Camera Control) [I2C] |
| 15 | 3V3 | Power | +3.3V Power Supply [Power] |


## View: 15-Pin MIPI DSI Display Connector (Package: fpc_connector)

| Pin | Signal Name | Type | Alternative Functions / Description |
| :--- | :--- | :--- | :--- |
| 1 | GND | Ground | Ground (0V) [Ground] |
| 2 | DSI_D1_N | Digital | MIPI DSI Data Lane 1 Negative [MIPI DSI] |
| 3 | DSI_D1_P | Digital | MIPI DSI Data Lane 1 Positive [MIPI DSI] |
| 4 | GND | Ground | Ground (0V) [Ground] |
| 5 | DSI_CK_N | Digital | MIPI DSI Clock Lane Negative [MIPI DSI] |
| 6 | DSI_CK_P | Digital | MIPI DSI Clock Lane Positive [MIPI DSI] |
| 7 | GND | Ground | Ground (0V) [Ground] |
| 8 | DSI_D0_N | Digital | MIPI DSI Data Lane 0 Negative [MIPI DSI] |
| 9 | DSI_D0_P | Digital | MIPI DSI Data Lane 0 Positive [MIPI DSI] |
| 10 | GND | Ground | Ground (0V) [Ground] |
| 11 | SCL0 | Digital | I2C0 Clock (Display Touch/Config) [I2C] |
| 12 | SDA0 | Digital | I2C0 Data (Display Touch/Config) [I2C] |
| 13 | GND | Ground | Ground (0V) [Ground] |
| 14 | 3V3 | Power | +3.3V Power Supply [Power] |
| 15 | 3V3 | Power | +3.3V Power Supply [Power] |


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
