Skip to content

Commit

Permalink
rpi: Add rpi_model entry for RaspberryPi 4
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Andrei Gherzan committed Jul 19, 2019
1 parent 56f101b commit 8041d40
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 @@ -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 "bcm2838-rpi-4-b.dtb",
true,
},
};

static const struct rpi_model rpi_models_old_scheme[] = {
Expand Down

0 comments on commit 8041d40

Please sign in to comment.