[PATCH 3/7] ARM: dts: qcom: add device tree for Nokia Lumia 630
From: Rayyan Ansari
Date: Fri Aug 11 2023 - 17:44:33 EST
Add an initial device tree for the Nokia Lumia 630, codenamed
"moneypenny".
Co-authored-by: Dominik Kobinski <dominikkobinski314@xxxxxxxxx>
Co-authored-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx>
Co-authored-by: Jack Matthews <jm5112356@xxxxxxxxx>
Signed-off-by: Dominik Kobinski <dominikkobinski314@xxxxxxxxx>
Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx>
Signed-off-by: Jack Matthews <jm5112356@xxxxxxxxx>
Signed-off-by: Rayyan Ansari <rayyan@xxxxxxxxx>
---
arch/arm/boot/dts/qcom/Makefile | 1 +
.../qcom-msm8226-microsoft-moneypenny.dts | 23 +++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts
diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile
index 3dfb1c8cefb8..b2569059ce8d 100644
--- a/arch/arm/boot/dts/qcom/Makefile
+++ b/arch/arm/boot/dts/qcom/Makefile
@@ -23,6 +23,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
qcom-ipq4019-ap.dk07.1-c2.dtb \
qcom-ipq8064-ap148.dtb \
qcom-ipq8064-rb3011.dtb \
+ qcom-msm8226-microsoft-moneypenny.dtb \
qcom-msm8226-samsung-s3ve3g.dtb \
qcom-msm8660-surf.dtb \
qcom-msm8916-samsung-e5.dtb \
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts
new file mode 100644
index 000000000000..e13e018a6759
--- /dev/null
+++ b/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-moneypenny.dts
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2023, Jack Matthews <jm5112356@xxxxxxxxx>
+ * Copyright (c) 2023, Ivaylo Ivanov <ivo.ivanov.ivanov1@xxxxxxxxx>
+ * Copyright (c) 2023, Dominik Kobinski <dominikkobinski314@xxxxxxxxx>
+ * Copyright (c) 2023, Rayyan Ansari <rayyan@xxxxxxxxx>
+ */
+
+/dts-v1/;
+
+#include "qcom-msm8226-microsoft-common.dtsi"
+
+/ {
+ model = "Nokia Lumia 630";
+ compatible = "microsoft,moneypenny", "qcom,msm8226";
+ chassis-type = "handset";
+};
+
+&framebuffer0 {
+ width = <480>;
+ height = <854>;
+ stride = <(480 * 4)>;
+};
--
2.41.0