ARM: dts: qcom: Add initial DTS file for Samsung Galaxy S III Neo phone
authorBartosz Dudziak <bartosz.dudziak@snejp.pl>
Sun, 18 Apr 2021 12:29:09 +0000 (14:29 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 19 Jul 2021 20:18:37 +0000 (15:18 -0500)
Add DTS support for the Samsung Galaxy S III Neo (codenamed s3ve3g) phone.
Initial version have just a working serial console.

Signed-off-by: Bartosz Dudziak <bartosz.dudziak@snejp.pl>
Link: https://lore.kernel.org/r/20210418122909.71434-6-bartosz.dudziak@snejp.pl
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts [new file with mode: 0644]

index 863347b6b65e46278a4dca16235f9cb367e2becc..b53ac8d4a3e1bc3534098e6df0097f0befe9ba42 100644 (file)
@@ -933,6 +933,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-ipq4019-ap.dk07.1-c2.dtb \
        qcom-ipq8064-ap148.dtb \
        qcom-ipq8064-rb3011.dtb \
+       qcom-msm8226-samsung-s3ve3g.dtb \
        qcom-msm8660-surf.dtb \
        qcom-msm8960-cdp.dtb \
        qcom-msm8974-fairphone-fp2.dtb \
diff --git a/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts b/arch/arm/boot/dts/qcom-msm8226-samsung-s3ve3g.dts
new file mode 100644 (file)
index 0000000..d159188
--- /dev/null
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2020, The Linux Foundation. All rights reserved.
+ */
+
+#include "qcom-msm8226.dtsi"
+
+/ {
+       model = "Samsung Galaxy S III Neo";
+       compatible = "samsung,s3ve3g", "qcom,msm8226";
+
+       aliases {
+               serial0 = &blsp1_uart3;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&soc {
+       serial@f991f000 {
+               status = "ok";
+       };
+};