2021-02-17 08:37:34 +01:00
|
|
|
From e9db4aca83892ceba98c7712b91e31ada2ae2010 Mon Sep 17 00:00:00 2001
|
2020-12-24 17:44:52 +01:00
|
|
|
From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
|
2021-02-17 08:37:34 +01:00
|
|
|
Date: Tue, 12 Jan 2021 13:55:19 +0100
|
2020-12-24 17:44:52 +01:00
|
|
|
Subject: [PATCH] rpi: Add identifier for the new RPi400
|
|
|
|
|
|
|
|
The Raspberry Pi Foundation released the new RPi400 which we want to
|
|
|
|
detect, so we can enable Ethernet on it and know the correct device tree
|
|
|
|
file name.
|
|
|
|
|
|
|
|
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
|
2021-02-17 08:37:34 +01:00
|
|
|
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
|
|
|
|
Tested-by: Peter Robinson <pbrobinson@gmail.com>
|
2020-12-24 17:44:52 +01:00
|
|
|
---
|
|
|
|
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 6b1fa5fc14..b66698e4a9 100644
|
|
|
|
--- a/board/raspberrypi/rpi/rpi.c
|
|
|
|
+++ b/board/raspberrypi/rpi/rpi.c
|
|
|
|
@@ -157,6 +157,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
|
|
|
|
DTB_DIR "bcm2711-rpi-4-b.dtb",
|
|
|
|
true,
|
|
|
|
},
|
|
|
|
+ [0x13] = {
|
|
|
|
+ "400",
|
|
|
|
+ DTB_DIR "bcm2711-rpi-400.dtb",
|
|
|
|
+ true,
|
|
|
|
+ },
|
|
|
|
};
|
|
|
|
|
|
|
|
static const struct rpi_model rpi_models_old_scheme[] = {
|