mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

The upstream branch might suffer rebases due to effort of pushing the patches upstream. To avoid issues, let's have here the patches we need for RPi 4 support. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
36 lines
1.0 KiB
Diff
36 lines
1.0 KiB
Diff
From 8a8e6c7364d41bbd3eb20dc7e4ec1c0a3e3b5259 Mon Sep 17 00:00:00 2001
|
|
From: Andrei Gherzan <andrei@balena.io>
|
|
Date: Wed, 17 Jul 2019 15:34:18 +0100
|
|
Subject: [PATCH 06/12] rpi: Add rpi_model entry for RaspberryPi 4
|
|
|
|
The Raspebrry Pi 4 uses the new revision code scheme as documented by
|
|
the foundation[1]. This change adds an entry for this board as well.
|
|
|
|
[1] https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
|
|
|
|
Signed-off-by: Andrei Gherzan <andrei@balena.io>
|
|
Upstream-status: Pending
|
|
---
|
|
board/raspberrypi/rpi/rpi.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
|
|
index 617c892dde..6d6f1ef39a 100644
|
|
--- a/board/raspberrypi/rpi/rpi.c
|
|
+++ b/board/raspberrypi/rpi/rpi.c
|
|
@@ -148,6 +148,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
|
|
DTB_DIR "bcm2837-rpi-cm3.dtb",
|
|
false,
|
|
},
|
|
+ [0x11] = {
|
|
+ "4 Model B",
|
|
+ DTB_DIR "bcm2711-rpi-4-b.dtb",
|
|
+ true,
|
|
+ },
|
|
};
|
|
|
|
static const struct rpi_model rpi_models_old_scheme[] = {
|
|
--
|
|
2.22.0
|
|
|