Skip to contentSkip to conversation

board/raspberrypi: Add quirk for RPi5 2Gb rev 1.0

PATCH New Peter Robinson 1 participant 1 message Apr 12 Broadcom BCM2711/BCM2835 Arm architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board/raspberrypi: Add quirk for RPi5 2Gb rev 1.0

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.

---
 board/raspberrypi/rpi/rpi.c | 4 ++++
 1 file changed, 4 insertions(+)
board/raspberrypi/rpi/rpi.c +4 -0
index b0a1484c0fa..ff9cab6521b 100644
@@ -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;
 
Signature · 1 line
2.53.0