aboutsummaryrefslogtreecommitdiff
path: root/board/raspberrypi/rpi
diff options
context:
space:
mode:
authorPeter Robinson2021-11-21 17:03:46 +0000
committerMatthias Brugger2021-11-30 16:01:23 +0100
commit5e7e6619c85c090f6b62685a9d90f748f1729d12 (patch)
tree0e0da6f887db92d9e1c3bb7fbd5634f7468cca74 /board/raspberrypi/rpi
parent3ede1a62a601e597e38261ee0e5314b21b271754 (diff)
rpi: Add identifier for the new RPi Zero 2 W
The Raspberry Pi Foundation released the new Zero 2 W which we want to detect, so we can detect the correct device tree file name. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'board/raspberrypi/rpi')
-rw-r--r--board/raspberrypi/rpi/rpi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
index e7bcee37463..ff69607d3cc 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,
},
+ [0x12] = {
+ "Zero 2 W",
+ DTB_DIR "bcm2837-rpi-zero-2.dtb",
+ false,
+ },
[0x13] = {
"400",
DTB_DIR "bcm2711-rpi-400.dtb",