rpi: Add identifier for the new RPi400 45/267745/3
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tue, 12 Jan 2021 12:55:19 +0000 (13:55 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 13 Dec 2021 01:41:58 +0000 (01:41 +0000)
The Raspberry Pi Foundation released the new RPi400 which we want to
detect, so we can enable Ethernet on it and know the correct device tree
file name.

Change-Id: Id1b91e2c11fb8a8e7a52e33379e35a7f53588b4b
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: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/rpi.c

index 497f2f787bcff1834e2d7f82f2e74843565fccf7..37eab70708a2d271fd3b0f92acc7868710971e92 100644 (file)
@@ -186,6 +186,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
                DTB_DIR "bcm2711-rpi-4-b.dtb",
                true,
        },
+       [0x13] = {
+               "400",
+               DTB_DIR "bcm2711-rpi-400.dtb",
+               true,
+       },
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {