ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone
authorLuca Weiss <luca@z3ntu.xyz>
Wed, 11 Oct 2017 11:02:25 +0000 (13:02 +0200)
committerAndy Gross <andy.gross@linaro.org>
Wed, 11 Oct 2017 20:52:36 +0000 (15:52 -0500)
This DTS has support for the Fairphone 2 (codenamed FP2).
This first version of the DTS supports just the serial console via the
MSM UART pins.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Documentation/devicetree/bindings/vendor-prefixes.txt
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts [new file with mode: 0644]

index 1ea1fd4..f6d148f 100644 (file)
@@ -113,6 +113,7 @@ everspin    Everspin Technologies, Inc.
 exar   Exar Corporation
 excito Excito
 ezchip EZchip Semiconductor
+fairphone      Fairphone B.V.
 faraday        Faraday Technology Corporation
 fcs    Fairchild Semiconductor
 firefly        Firefly
index 4da1b19..f5cc9be 100644 (file)
@@ -700,6 +700,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-ipq8064-ap148.dtb \
        qcom-msm8660-surf.dtb \
        qcom-msm8960-cdp.dtb \
+       qcom-msm8974-fairphone-fp2.dtb \
        qcom-msm8974-lge-nexus5-hammerhead.dtb \
        qcom-msm8974-sony-xperia-castor.dtb \
        qcom-msm8974-sony-xperia-honami.dtb \
diff --git a/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
new file mode 100644 (file)
index 0000000..79a5aa8
--- /dev/null
@@ -0,0 +1,22 @@
+#include "qcom-msm8974.dtsi"
+#include "qcom-pm8841.dtsi"
+#include "qcom-pm8941.dtsi"
+
+/ {
+       model = "Fairphone 2";
+       compatible = "fairphone,fp2", "qcom,msm8974";
+
+       aliases {
+               serial0 = &blsp1_uart2;
+       };
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+};
+
+&soc {
+       serial@f991e000 {
+               status = "ok";
+       };
+};