Raspberry Pi 5 / RP1

RP1 I/O chip drivers for the Raspberry Pi 5

On the Pi 5 almost every connector hangs off RP1, a separate I/O chip on PCIe. FreeBSD GENERIC drives only its USB. The rest is what this project adds.

A black chip labelled RP1 with yellow pins, and a small worried raspberry imp beside it.

early code Pi 5 only, FreeBSD 15.1. Nothing has been built or loaded on a board yet. The repository is not public yet.

Modules

ModuleCoversState
rp1The bus. Attaches under ACPI \_SB_.RP1B and publishes dev.rp1.0.chipidwritten
rp1gpio54 GPIO pins; only GPIO0 to GPIO27 are writable, the rest belong to the boardwritten
rp1ethGigabit Ethernetplanned
rp1iic, rp1spiI2C and SPI on the headerplanned
rp1pwmPWMplanned
rp1uartUARTs (Bluetooth needs this)planned

When it is ready

make test
make coverage
make buildcheck
make modules
make load
make status

Expected: dev.rp1.0.chipid = 0x20001927, and gpioctl -l lists GPIO0 to GPIO53.

One house rule: the fan driver uses the same chip, and it must keep spinning after any of these modules is unloaded.

Built with ssg