From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Andy Gross <andy.gross@linaro.org>, David Brown <david.brown@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 5/8] arm64: dts: qcom: msm8998: Add smem related nodes
Date: Mon, 3 Sep 2018 22:01:20 -0700 [thread overview]
Message-ID: <20180904050123.26601-6-bjorn.andersson@linaro.org> (raw)
In-Reply-To: <20180904050123.26601-1-bjorn.andersson@linaro.org>
Add reserve-memory nodes, tcsr-mutex nodes and the smem node.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
---
Changes since v2:
- New patch
arch/arm64/boot/dts/qcom/msm8998.dtsi | 49 +++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index f92f04f9ed6d..335bbc339932 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -20,6 +20,38 @@
reg = <0 0 0 0>;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ memory@85800000 {
+ reg = <0x0 0x85800000 0x0 0x800000>;
+ no-map;
+ };
+
+ smem_mem: smem-mem@86000000 {
+ reg = <0x0 0x86000000 0x0 0x200000>;
+ no-map;
+ };
+
+ memory@86200000 {
+ reg = <0x0 0x86200000 0x0 0x2600000>;
+ no-map;
+ };
+
+ rmtfs {
+ compatible = "qcom,rmtfs-mem";
+
+ size = <0x0 0x200000>;
+ alloc-ranges = <0x0 0xa0000000 0x0 0x2000000>;
+ no-map;
+
+ qcom,client-id = <1>;
+ qcom,vmid = <15>;
+ };
+ };
+
clocks {
xo_board {
compatible = "fixed-clock";
@@ -205,6 +237,12 @@
};
};
+ tcsr_mutex: hwlock {
+ compatible = "qcom,tcsr-mutex";
+ syscon = <&tcsr_mutex_regs 0 0x1000>;
+ #hwlock-cells = <1>;
+ };
+
psci {
compatible = "arm,psci-1.0";
method = "smc";
@@ -225,6 +263,12 @@
};
};
+ smem {
+ compatible = "qcom,smem";
+ memory-region = <&smem_mem>;
+ hwlocks = <&tcsr_mutex 3>;
+ };
+
thermal-zones {
cpu-thermal0 {
polling-delay-passive = <250>;
@@ -474,6 +518,11 @@
#thermal-sensor-cells = <1>;
};
+ tcsr_mutex_regs: syscon@1f40000 {
+ compatible = "syscon";
+ reg = <0x1f40000 0x20000>;
+ };
+
apcs_glb: mailbox@9820000 {
compatible = "qcom,msm8998-apcs-hmss-global";
reg = <0x17911000 0x1000>;
--
2.18.0
next prev parent reply other threads:[~2018-09-04 5:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 5:01 [PATCH v3 0/8] MSM8998 and MTP dts Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 1/8] arm64: dts: Add msm8998 SoC and MTP board support Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 2/8] arm64: dts: qcom: msm8998: Add RPM and regulators for MTP Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 3/8] arm64: dts: qcom: msm8998: Add tsens and thermal-zones Bjorn Andersson
2018-09-06 13:53 ` Amit Kucheria
2018-09-06 15:46 ` Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 4/8] arm64: dts: qcom: msm8998: Add pmi8998 file Bjorn Andersson
2018-09-04 5:01 ` Bjorn Andersson [this message]
2018-09-04 5:01 ` [PATCH v3 6/8] arm64: dts: qcom: msm8998: Add firmware node Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 7/8] arm64: dts: qcom: msm8998: Add the qfprom node Bjorn Andersson
2018-09-04 5:01 ` [PATCH v3 8/8] arm64: dts: qcom: msm8998: Add smp2p nodes 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=20180904050123.26601-6-bjorn.andersson@linaro.org \
--to=bjorn.andersson@linaro.org \
--cc=andy.gross@linaro.org \
--cc=david.brown@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@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).