rpi: Add identifier for the new RPi3 B+ 06/188206/1
authorAlexander Graf <agraf@suse.de>
Thu, 15 Mar 2018 14:05:37 +0000 (15:05 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 3 Sep 2018 04:24:50 +0000 (13:24 +0900)
The Raspberr Pi Foundation released a new RPi3 version which we want
to detect as well, so we can enable ethernet on it and know the correct
device tree file name.

Add an identifier for it.

Signed-off-by: Alexander Graf <agraf@suse.de>
[sw0312.kim: cherry-pick from mainline to identify rpi3 b+]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I1c57f8bd9865366bfee5b66b5a17dcc82b022448

board/raspberrypi/rpi/rpi.c

index 07ad4d552fd4b8b1a21b7e0eacfe42c94356a5d2..2daff59a509e54a31932d4ddb24c791c2b8d8fc9 100644 (file)
@@ -137,6 +137,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
                DTB_DIR "bcm2835-rpi-zero.dtb",
                false,
        },
+       [0xD] = {
+               "3 Model B+",
+               DTB_DIR "bcm2837-rpi-3-b-plus.dtb",
+               true,
+       },
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {