ARM: dts: qcom: Build apq8016-sbc/DragonBoard 410c DTB on ARM32
authorStephan Gerhold <stephan@gerhold.net>
Mon, 13 Dec 2021 11:32:49 +0000 (12:32 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 13 Dec 2021 22:51:46 +0000 (16:51 -0600)
The DragonBoard 410c is a convenient device for testing and debugging.
Since there is support for using ARM32 kernels on MSM8916 now, also
build the DB410c DTB on ARM32 so it can be used for testing. ARM64
is still the main supported architecture for DB410c but it actually
works great on ARM32 as well.

The "apq8016-sbc.dts" is simply included as-is from ARM64 similar
to the approach used for Raspberry Pi (e.g. bcm2711-rpi-4-b.dts).

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211213113250.4249-1-stephan@gerhold.net
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-apq8016-sbc.dts [new file with mode: 0644]

index 0de64f2..bba17ee 100644 (file)
@@ -954,6 +954,7 @@ dtb-$(CONFIG_ARCH_OXNAS) += \
        ox810se-wd-mbwe.dtb \
        ox820-cloudengines-pogoplug-series-3.dtb
 dtb-$(CONFIG_ARCH_QCOM) += \
+       qcom-apq8016-sbc.dtb \
        qcom-apq8026-lg-lenok.dtb \
        qcom-apq8060-dragonboard.dtb \
        qcom-apq8064-cm-qs600.dtb \
diff --git a/arch/arm/boot/dts/qcom-apq8016-sbc.dts b/arch/arm/boot/dts/qcom-apq8016-sbc.dts
new file mode 100644 (file)
index 0000000..4ccd2dc
--- /dev/null
@@ -0,0 +1,2 @@
+// SPDX-License-Identifier: GPL-2.0-only
+#include "arm64/qcom/apq8016-sbc.dts"