Raspberry Pi 5 (Cortex-A76)

Overview

Raspberry Pi 5 product-brief

Hardware

  • Broadcom BCM2712 2.4GHz quad-core 64-bit Arm Cortex-A76 CPU, with cryptography extensions, 512KB per-core L2 caches and a 2MB shared L3 cache

  • VideoCore VII GPU, supporting OpenGL ES 3.1, Vulkan 1.2

  • Dual 4Kp60 HDMI® display output with HDR support

  • 4Kp60 HEVC decoder

  • LPDDR4X-4267 SDRAM (4GB and 8GB SKUs available at launch)

  • Dual-band 802.11ac Wi-Fi®

  • Bluetooth 5.0 / Bluetooth Low Energy (BLE)

  • microSD card slot, with support for high-speed SDR104 mode

  • 2 x USB 3.0 ports, supporting simultaneous 5Gbps operation

  • 2 x USB 2.0 ports

  • Gigabit Ethernet, with PoE+ support (requires separate PoE+ HAT)

  • 2 x 4-lane MIPI camera/display transceivers

  • PCIe 2.0 x1 interface for fast peripherals (requires separate M.2 HAT or other adapter)

  • 5V/5A DC power via USB-C, with Power Delivery support

  • Raspberry Pi standard 40-pin header

  • Real-time clock (RTC), powered from external battery

  • Power button

Supported Features

The rpi_5 board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

rpi_5/bcm2712 target

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-A76 CPU1

arm,cortex-a76

Clock control

on-chip

Generic fixed-rate clock provider1

fixed-clock

GPIO & Headers

on-chip

BRCMSTB GPIO1

brcm,brcmstb-gpio

on-chip

GPIO Banks on RP1 peripheral controller1 2

raspberrypi,rp1-gpio

Interrupt controller

on-chip

ARM Generic Interrupt Controller v21

arm,gic-v2

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

PCIe

on-chip

BRCMSTB PCIe controller2

brcm,brcmstb-pcie

Serial controller

on-chip

ARM PL011 UART1

arm,pl011

SRAM

on-chip

Generic on-chip SRAM description1

mmio-sram

Timer

on-chip

per-core ARM architected timer1

arm,armv8-timer

See Raspberry Pi hardware for the complete list of hardware features.

Programming and Debugging

Blinky

In brief,
  1. Format your Micro SD card with MBR and FAT32.

  2. Save three files below in the root directory.
  3. Insert the Micro SD card and power on the Raspberry Pi 5.

then, You will see the Raspberry Pi 5 running the zephyr.bin.

config.txt

kernel=zephyr.bin
arm_64bit=1

zephyr.bin

Build an app, for example Blinky

# From the root of the zephyr repository
west build -b rpi_5 samples/basic/blinky

Copy zephyr.bin from build/zephyr directory to the root directory of the Micro SD card.

Insert the Micro SD card and power on the Raspberry Pi 5. And then, the STAT LED will start to blink.

Serial Communication

wiring

You will need the following items:
  • Raspberry Pi Debug Probe

  • JST cable: 3-pin JST connector to 3-pin JST connector cable

  • USB cable: USB A male - Micro USB B male

Use the JST cable to connect the Raspberry Pi Debug Probe UART port to the Raspberry Pi 5 UART port between the HDMI ports.

Then connect the Raspberry Pi Debug Probe to your computer with a USB cable.

config.txt

kernel=zephyr.bin
arm_64bit=1
enable_uart=1
uart_2ndstage=1

zephyr.bin

Build an app, for example Hello World:

# From the root of the zephyr repository
west build -b rpi_5 samples/hello_world

Copy zephyr.bin from build/zephyr directory to the root directory of the Micro SD card.

Insert the Micro SD card into your Raspberry Pi 5.

serial terminal emulator

When you power on the Raspberry Pi 5, you will see the following output in the serial console:

*** Booting Zephyr OS build XXXXXXXXXXXX  ***
Hello World! rpi_5/bcm2712