ARM: dts: msm: Add overlay files for SDM670
Add SDM670 board specific device tree overlay files.
Change-Id: Idcb8d177f7fe8c4bf29e81fb523dce317d9a5230
Signed-off-by: Imran Khan <kimran@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
index ee7f735..c18ea56 100644
--- a/arch/arm64/boot/dts/qcom/Makefile
+++ b/arch/arm64/boot/dts/qcom/Makefile
@@ -44,9 +44,18 @@
sdm845-interposer-sdm670-cdp.dtb
endif
+ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
+ dtbo-$(CONFIG_ARCH_SDM670) += \
+ sdm670-cdp-overlay.dtbo \
+ sdm670-mtp-overlay.dtbo
+
+sdm670-cdp-overlay.dtbo-base := sdm670.dtb
+sdm670-mtp-overlay.dtbo-base := sdm670.dtb
+else
dtb-$(CONFIG_ARCH_SDM670) += sdm670-rumi.dtb \
sdm670-mtp.dtb \
sdm670-cdp.dtb
+endif
always := $(dtb-y)
subdir-y := $(dts-dirs)