On Sun, Nov 21, 2021 at 05:03:46PM +0000, Peter Robinson wrote:
> 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 <pbrobin...@gmail.com>

Applied to rpi-next

Thanks!

> ---
>  board/raspberrypi/rpi/rpi.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspberrypi/rpi/rpi.c
> index e7bcee3746..ff69607d3c 100644
> --- a/board/raspberrypi/rpi/rpi.c
> +++ b/board/raspberrypi/rpi/rpi.c
> @@ -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",
> -- 
> 2.33.1

Reply via email to