board/raspberry: add FDT for bcm2712d0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | board/raspberrypi: add multi-FDT supportboard/ | +52 | 1 reply | |
| 2/2 | board/raspberrypi: add bcm2712d0-rpi-5-b for Raspberry Pi 5board/ | +4 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Peter Robinson |
|---|---|
| 1/2 | R-b T-b |
| 2/2 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] board/raspberry: add FDT for bcm2712d0
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(-)
Signature · 1 line
2.51.2