linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Weiss <luca@z3ntu.xyz>
To: linux-arm-msm@vger.kernel.org
Cc: Luca Weiss <luca@z3ntu.xyz>
Subject: [PATCH v2 1/5] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone
Date: Wed, 11 Oct 2017 13:02:25 +0200	[thread overview]
Message-ID: <20171011110229.24413-1-luca@z3ntu.xyz> (raw)

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>
---
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 arch/arm/boot/dts/Makefile                         |  1 +
 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts   | 22 ++++++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 69183f0fbc78..d5e423cad16a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index faf46abaa4a2..549afb6ed13c 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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-honami.dtb \
 	qcom-mdm9615-wp8548-mangoh-green.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
index 000000000000..79a5aa8b856a
--- /dev/null
+++ b/arch/arm/boot/dts/qcom-msm8974-fairphone-fp2.dts
@@ -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";
+	};
+};
-- 
2.14.2

             reply	other threads:[~2017-10-11 11:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11 11:02 Luca Weiss [this message]
2017-10-11 11:02 ` [PATCH v2 2/5] ARM: dts: msm8974-FP2: Introduce gpio-keys nodes Luca Weiss
2017-10-11 17:12   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 3/5] ARM: dts: msm8974-FP2: Add regulator nodes for FP2 Luca Weiss
2017-10-11 17:20   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 4/5] ARM: dts: msm8974-FP2: Add sdhci1 node Luca Weiss
2017-10-11 17:20   ` Bjorn Andersson
2017-10-11 11:02 ` [PATCH v2 5/5] ARM: dts: msm8974-FP2: Add USB node Luca Weiss
2017-10-11 17:21   ` Bjorn Andersson
2017-10-11 17:11 ` [PATCH v2 1/5] ARM: dts: qcom: Add initial DTS file for Fairphone 2 phone Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171011110229.24413-1-luca@z3ntu.xyz \
    --to=luca@z3ntu.xyz \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).