Skip to content

Commit

Permalink
rpi: Add identifier for the new RPi Zero 2 W
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Matthias Brugger <[email protected]>
  • Loading branch information
nullr0ute authored and mbgg committed Nov 30, 2021
1 parent 3ede1a6 commit 5e7e661
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions board/raspberrypi/rpi/rpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5e7e661

Please sign in to comment.