rpi: add Compute Module 3+
authorJonathan Gray <jsg@jsg.id.au>
Wed, 30 Jan 2019 22:24:44 +0000 (09:24 +1100)
committerMatthias Brugger <mbrugger@suse.com>
Fri, 15 Feb 2019 11:49:13 +0000 (12:49 +0100)
Add Raspberry Pi Compute Module 3+ to list of models, the revision code
is 0x10 according to the list on raspberrypi.org.

v2: Use the same dtb name as CM3 as CM3+ is a drop in replacement
    for CM3.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
board/raspberrypi/rpi/rpi.c

index 153a1fdcb715a8f21464e41eb532ed0ea529fc2a..617c892dde0f7df7397129d754225d43be18a9ab 100644 (file)
@@ -143,6 +143,11 @@ static const struct rpi_model rpi_models_new_scheme[] = {
                DTB_DIR "bcm2837-rpi-3-a-plus.dtb",
                false,
        },
+       [0x10] = {
+               "Compute Module 3+",
+               DTB_DIR "bcm2837-rpi-cm3.dtb",
+               false,
+       },
 };
 
 static const struct rpi_model rpi_models_old_scheme[] = {