]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rpi: Add identifier for the new RPi Zero 2 W
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 21 Nov 2021 17:03:46 +0000 (17:03 +0000)
committerMatthias Brugger <mbrugger@suse.com>
Tue, 30 Nov 2021 15:01:23 +0000 (16:01 +0100)
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>
board/raspberrypi/rpi/rpi.c

index e7bcee374639229f9786b43bd80068a313986996..ff69607d3ccdae0490625448d2fee47bb32167b1 100644 (file)
@@ -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",