arm64: dts: qcom: Add base SM8450 QRD DTS
authorVinod Koul <vkoul@kernel.org>
Wed, 15 Dec 2021 04:34:34 +0000 (10:04 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 15 Dec 2021 22:30:58 +0000 (16:30 -0600)
Add DTS for Qualcomm QRD platform which uses SM8450 SoC and mark the
reserved nodes.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211215043440.605624-6-vkoul@kernel.org
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sm8450-qrd.dts [new file with mode: 0644]

index a3eedb8b33ee4b7f6971c4423be2da51ff42f5d1..f7232052d2862b1219fa5cd31c7c61931b6ecebf 100644 (file)
@@ -121,3 +121,4 @@ dtb-$(CONFIG_ARCH_QCOM)     += sm8350-microsoft-surface-duo2.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sm8350-mtp.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sm8350-sony-xperia-sagami-pdx214.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sm8350-sony-xperia-sagami-pdx215.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += sm8450-qrd.dtb
diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
new file mode 100644 (file)
index 0000000..8dcd41c
--- /dev/null
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2021, Linaro Limited
+ */
+
+/dts-v1/;
+
+#include "sm8450.dtsi"
+
+/ {
+       model = "Qualcomm Technologies, Inc. SM8450 QRD";
+       compatible = "qcom,sm8450-qrd", "qcom,sm8450";
+
+       aliases {
+               serial0 = &uart7;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&qupv3_id_0 {
+       status = "okay";
+};
+
+&tlmm {
+       gpio-reserved-ranges = <28 4>, <36 4>;
+};
+
+&uart7 {
+       status = "okay";
+};