summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
diff options
context:
space:
mode:
authorHarry Austen <hpausten@protonmail.com>2022-10-23 20:46:00 +0000
committerBjorn Andersson <andersson@kernel.org>2022-11-06 21:11:10 -0600
commit5a134c940cd368b72d5bcf24132b8f951be9a4c1 (patch)
treeded036a9e8ac91286b9740e3670f44cdc596a83d /arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
parentce5d6ba21ae6c83fc2db385f9202272ca0d403f2 (diff)
arm64: dts: qcom: msm8996: add support for oneplus3(t)
Add initial support for OnePlus 3 and 3T mobile phones. They are based on the MSM8996 SoC. Co-developed-by: Yassine Oudjana <y.oudjana@protonmail.com> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com> Signed-off-by: Harry Austen <hpausten@protonmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221023204505.115141-5-hpausten@protonmail.com
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts44
1 files changed, 44 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts b/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
new file mode 100644
index 000000000000..1bdc1b134305
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/msm8996-oneplus3.dts
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) 2022, Harry Austen <hpausten@protonmail.com>
+ */
+
+/dts-v1/;
+
+#include "msm8996-oneplus-common.dtsi"
+
+/ {
+ model = "OnePlus 3";
+ compatible = "oneplus,oneplus3", "qcom,msm8996";
+ chassis-type = "handset";
+ qcom,board-id = <8 0 15801 15>, <8 0 15801 16>;
+ qcom,msm-id = <246 0x30001>;
+};
+
+&adsp_pil {
+ firmware-name = "qcom/msm8996/oneplus3/adsp.mbn";
+};
+
+&battery {
+ charge-full-design-microamp-hours = <3000000>;
+ voltage-max-design-microvolt = <4350000>;
+};
+
+&gpu {
+ zap-shader {
+ firmware-name = "qcom/msm8996/oneplus3/a530_zap.mbn";
+ };
+};
+
+&mss_pil {
+ firmware-name = "qcom/msm8996/oneplus3/mba.mbn",
+ "qcom/msm8996/oneplus3/modem.mbn";
+};
+
+&slpi_pil {
+ firmware-name = "qcom/msm8996/oneplus3/slpi.mbn";
+};
+
+&venus {
+ firmware-name = "qcom/msm8996/oneplus3/venus.mbn";
+};