[PATCH 0/2] board/raspberry: add FDT for bcm2712d0
Filip Kokosiński
filip.kokosinski at gmail.com
Mon Feb 16 19:44:50 CET 2026
This series adds the FDT for the d0 stepping of the BCM2712 SoC. The v1.1
revision of the Raspberry Pi 5 board can't boot Linux properly without
additional changes specific to the d0 stepping.
The d0 specific changes can be seen here:
https://github.com/raspberrypi/linux/blob/rpi-6.12.y/arch/arm64/boot/dts/broadcom/bcm2712d0-rpi-5-b.dts
To do that, this series introduces support for multiple FDT entries for a single
device type (bits 4-11 from the new-style revision code).
The rpi_model struct is modified by:
* changing fdtfile to fdtfiles (const char * const *)
* adding fdtcount (size_t)
Adding fdtcount is motivated by wanting to keep FDT selection O(1), and avoid
relying on NULL terminating fdtfiles array.
A new FDTFILES macro is added to initialize fdtfile and fdtcount.
In case only a single FDT is provided, or the board revision code doesn't match,
the selected FDT defaults to the first entry in fdtfiles.
Filip Kokosiński (2):
board/raspberrypi: add multi-FDT support
board/raspberrypi: add bcm2712d0-rpi-5-b for Raspberry Pi 5
board/raspberrypi/rpi/rpi.c | 96 +++++++++++++++++++++----------------
1 file changed, 55 insertions(+), 41 deletions(-)
--
2.51.2
More information about the U-Boot
mailing list