From 9c361d2c73d7762f085436fdbe707349a7a78218 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Mon, 13 Jun 2022 13:47:22 +0100 Subject: [PATCH] ARM64: dts: Add Zero 2 W and CM4S Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable in the arm64 tree. See (misplaced) comment in https://github.com/raspberrypi/linux/issues/4857 Signed-off-by: Phil Elwell --- arch/arm64/boot/dts/broadcom/Makefile | 2 ++ arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts | 1 + arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts | 2 +- arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts create mode 100644 arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile index 7442f0f8ebad6..914bccdfaf2f8 100644 --- a/arch/arm64/boot/dts/broadcom/Makefile +++ b/arch/arm64/boot/dts/broadcom/Makefile @@ -9,11 +9,13 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ bcm2837-rpi-zero-2-w.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-zero-2.dtb +dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-zero-2-w.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-2-b.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-3-b-plus.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2710-rpi-cm3.dtb dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4.dtb +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-cm4s.dtb subdir-y += bcm4908 subdir-y += northstar2 diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts new file mode 100644 index 0000000000000..4d34e0afd4cdf --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2-w.dts @@ -0,0 +1 @@ +#include "../../../../arm/boot/dts/bcm2710-rpi-zero-2-w.dts" diff --git a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts index f76f553599ef2..4d34e0afd4cdf 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts +++ b/arch/arm64/boot/dts/broadcom/bcm2710-rpi-zero-2.dts @@ -1 +1 @@ -#include "../../../../arm/boot/dts/bcm2710-rpi-zero-2.dts" +#include "../../../../arm/boot/dts/bcm2710-rpi-zero-2-w.dts" diff --git a/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts new file mode 100644 index 0000000000000..28e0980a374be --- /dev/null +++ b/arch/arm64/boot/dts/broadcom/bcm2711-rpi-cm4s.dts @@ -0,0 +1 @@ +#include "../../../../arm/boot/dts/bcm2711-rpi-cm4s.dts"