diff options
author | Nicolas Saenz Julienne <nsaenzjulienne@suse.de> | 2021-01-12 13:55:20 +0100 |
---|---|---|
committer | Matthias Brugger <mbrugger@suse.com> | 2021-02-18 11:56:25 +0100 |
commit | 561bce3522bd1df5f6b10fbae5a6ea5c0b131ff9 (patch) | |
tree | 5aa184dddd5063b9b1097170b888779d4efa1a64 | |
parent | f10f5362815e363fe6511348fd4077cf171cea3f (diff) | |
download | u-boot-561bce3522bd1df5f6b10fbae5a6ea5c0b131ff9.zip u-boot-561bce3522bd1df5f6b10fbae5a6ea5c0b131ff9.tar.gz u-boot-561bce3522bd1df5f6b10fbae5a6ea5c0b131ff9.tar.bz2 |
rpi: Add identifier for the new CM4
The Raspberry Pi Foundation released the new Compute Module 4 which we
want to detect, so we can enable Ethernet on it and know the correct
device tree file name.
Note that this sets the Ethernet option to true since the official CM4
IO board has an Ethernet port. But that might not be the case when using
custom ones.
Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
-rw-r--r-- | board/raspberrypi/rpi/rpi.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c index 772cb40..df52a46 100644 --- a/board/raspberrypi/rpi/rpi.c +++ b/board/raspberrypi/rpi/rpi.c @@ -162,6 +162,11 @@ static const struct rpi_model rpi_models_new_scheme[] = { DTB_DIR "bcm2711-rpi-400.dtb", true, }, + [0x14] = { + "Compute Module 4", + DTB_DIR "bcm2711-rpi-cm4.dtb", + true, + }, }; static const struct rpi_model rpi_models_old_scheme[] = { |