This patchseries adds initial support of Raspberry Pi 5. Since the most peripheral is routed though RP1 south bridge, only debug UART and SD card are supported.
Boot log: NOTICE: BL31: v2.6(release):v2.6-240-gfc45bc492 NOTICE: BL31: Built : 12:55:13, Dec 4 2024 barebox 2026.08.0-00096-g549bcd6aa802 Tue Sep 1 07:54:36 CEST 2026 Board: Raspberry Pi 5 ERROR: regulator-fixed sd-vcc-reg.of: probe permanently deferred WARNING: sdhci-bcmstb [email protected]: Failed to get 'vmmc' regulator (ignored). sdhci-bcmstb [email protected]: registered as mci0 ERROR: regulator-fixed wl-on-reg.of: probe permanently deferred malloc space: 0x1fd00000 -> 0x3f70ffff (size 506.1 MiB) mci0: detected SD card version 3.0 mci0: registered disk0 environment load /boot/barebox.env: No such file or directory Maybe you have to create the partition. barebox@Raspberry Pi 5 Model B Rev 1.0:/ Signed-off-by: Andrei Lalaev <[email protected]> --- Andrei Lalaev (6): mci: add driver for Broadcom SDHCI ARM: rpi: add Raspberry Pi 5 support Documentation: bcm283x: add Raspberry Pi 5 support arm: dts: bcm2712-rpi: specify clock frequency for uart arm: dts: bcm2712-rpi: disable wifi SDIO bcm283x: debug_ll: add Raspberry Pi 5 UART support Documentation/boards/bcm2835.rst | 4 +- arch/arm/boards/raspberry-pi/lowlevel.c | 3 + arch/arm/boards/raspberry-pi/rpi-common.c | 11 ++ arch/arm/configs/rpi_v8a_defconfig | 2 + arch/arm/dts/Makefile | 1 + arch/arm/dts/bcm2712-rpi-5.dts | 4 + arch/arm/dts/bcm2712-rpi.dtsi | 14 +++ arch/arm/include/asm/system_info.h | 3 + arch/arm/mach-bcm283x/Kconfig | 6 ++ arch/arm/mach-bcm283x/core.c | 4 +- common/Kconfig.debug_ll | 8 ++ drivers/mci/Kconfig | 5 + drivers/mci/Makefile | 1 + drivers/mci/bcmstb-sdhci.c | 165 ++++++++++++++++++++++++++++++ include/mach/bcm283x/debug_ll.h | 10 ++ include/mach/bcm283x/mbox.h | 1 + include/mach/bcm283x/platform.h | 1 + 17 files changed, 240 insertions(+), 3 deletions(-) --- base-commit: 42e510a258d7c276c35f06c103e685c80d376eab change-id: 20260901-add-rpi5-support-8bfa43e1c9b7 Best regards, -- Andrei Lalaev <[email protected]>
