arm64: dts: qcom: Add Microsoft Lumia 950 (Talkman) device tree
authorKonrad Dybcio <konradybcio@gmail.com>
Thu, 25 Jun 2020 18:21:17 +0000 (20:21 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 28 Jul 2020 06:46:29 +0000 (23:46 -0700)
Add device tree support for the Microsoft Lumia 950 smartphone.
It is based on msm8992 and supports booting Linux via a custom
EDK2 port.

Currently it supports:
* Screen console via EFIFB
* Booting via EFI_STUB
* SDHCI
* I2C
* PSCI core bringup

Please note that there is an implementation of EL2 startup
on this board, but it requires the user to resign from
PSCI and use spin-table instead. This revision sticks with
PSCI.

Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
Link: https://lore.kernel.org/r/20200625182118.131476-14-konradybcio@gmail.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/msm8992-msft-lumia-talkman.dts [new file with mode: 0644]

index cf1b576e4f6c3d94d4eb6e1ba2da8c762b9f69e0..d8f1466e67582d27f65cb358a2f28abb5a88b838 100644 (file)
@@ -9,6 +9,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-longcheer-l8150.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8916-samsung-a3u-eur.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8916-samsung-a5u-eur.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8992-bullhead-rev-101.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += msm8992-msft-lumia-talkman.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8992-xiaomi-libra.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8994-angler-rev-101.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += msm8994-sony-xperia-kitakami-sumire.dtb
diff --git a/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-talkman.dts b/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-talkman.dts
new file mode 100644 (file)
index 0000000..3cc01f0
--- /dev/null
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2020, Konrad Dybcio
+ */
+
+/dts-v1/;
+
+#include "msm8992.dtsi"
+#include "pm8994.dtsi"
+#include "pmi8994.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/gpio-keys.h>
+
+/ {
+       model = "Microsoft Lumia 950";
+       compatible = "microsoft,talkman", "qcom,msm8992";
+
+       /* Most Lumia 950 users use GRUB to load their kernels,
+        * hence there is no need for msm-id and friends.
+        */
+
+       /* This enables graphical output via bootloader-enabled display.
+        * acpi=no is required due to WP platforms having ACPI support, but
+        * only for Windows-based OSes.
+        */
+       chosen {
+               bootargs = "earlycon=efifb console=efifb acpi=no";
+
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+       };
+};
+
+&sdhc_1 {
+       status = "okay";
+
+       mmc-hs200-1_8v;
+};