public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] board/raspberrypi: Add quirk for RPi5 2Gb rev 1.0
@ 2026-04-12  9:59 Peter Robinson
  0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-04-12  9:59 UTC (permalink / raw)
  To: Filip Kokosiński, Matthias Brugger, u-boot; +Cc: Peter Robinson

All 2Gb Raspberry Pi 5s use the BCM2712D0 silicon, but
the early boards were still rev 1.0 so we need a quirk
to ensure the correct device tree is used.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 board/raspberrypi/rpi/rpi.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index b0a1484c0fa..ff9cab6521b 100644
--- a/board/raspberrypi/rpi/rpi.c
+++ b/board/raspberrypi/rpi/rpi.c
@@ -371,6 +371,10 @@ static void set_fdtfile(void)
 	const char *fdtfile;
 	int rev = revision & 0x0f;
 
+	/* 2GB Pi 5B board rev 1.0 always has BCM2712D0 silicon */
+	if (revision == 0xb04170)
+		rev = 1;
+
 	if (env_get("fdtfile"))
 		return;
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-12 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-12  9:59 [PATCH] board/raspberrypi: Add quirk for RPi5 2Gb rev 1.0 Peter Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox