public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: "Filip Kokosiński" <filip.kokosinski@gmail.com>,
	"Matthias Brugger" <mbrugger@suse.com>,
	u-boot@lists.denx.de
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCH] board/raspberrypi: Add quirk for RPi5 2Gb rev 1.0
Date: Sun, 12 Apr 2026 10:59:50 +0100	[thread overview]
Message-ID: <20260412095952.727932-1-pbrobinson@gmail.com> (raw)

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


                 reply	other threads:[~2026-04-12 10:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260412095952.727932-1-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.com \
    --cc=filip.kokosinski@gmail.com \
    --cc=mbrugger@suse.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox