ARM: dts: qcom: Add initial DTS file for Samsung Galaxy S5 phone
authorDaniele Debernardi <drebrez@gmail.com>
Tue, 9 Jan 2018 01:15:13 +0000 (02:15 +0100)
committerAndy Gross <andy.gross@linaro.org>
Fri, 9 Mar 2018 00:30:06 +0000 (18:30 -0600)
This DTS has support for the Samsung Galaxy S5 (codenamed klte).
Initial version have support just for serial console.

Cc: Andy Gross <andy.gross@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: David Brown <david.brown@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: devicetree@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Daniele Debernardi <drebrez@gmail.com>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts [new file with mode: 0644]

index ade7a38543dc95a3b58a8b5955337fd3da76dd93..b59e99b1133f4bd39b40bd9be6d3f8fdeb856201 100644 (file)
@@ -752,6 +752,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-msm8960-cdp.dtb \
        qcom-msm8974-fairphone-fp2.dtb \
        qcom-msm8974-lge-nexus5-hammerhead.dtb \
+       qcom-msm8974-samsung-klte.dtb \
        qcom-msm8974-sony-xperia-castor.dtb \
        qcom-msm8974-sony-xperia-honami.dtb \
        qcom-mdm9615-wp8548-mangoh-green.dtb
diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
new file mode 100644 (file)
index 0000000..eaa1001
--- /dev/null
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: GPL-2.0
+#include "qcom-msm8974pro.dtsi"
+#include "qcom-pm8841.dtsi"
+#include "qcom-pm8941.dtsi"
+
+/ {
+       model = "Samsung Galaxy S5";
+       compatible = "samsung,klte", "qcom,msm8974";
+
+       aliases {
+               serial0 = &blsp1_uart1;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&soc {
+       serial@f991e000 {
+               status = "ok";
+       };
+
+};