From: Guodong Xu <guodong.xu@linaro.org>
To: xuwei5@hisilicon.com, robh+dt@kernel.org, mark.rutland@arm.com,
catalin.marinas@arm.com, will.deacon@arm.com,
keescook@chromium.org, anton@enomsg.org, ccross@android.com,
tony.luck@intel.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Guodong Xu <guodong.xu@linaro.org>,
John Stultz <john.stultz@linaro.org>
Subject: [PATCH v2 6/9] arm64: dts: hikey960: Add pstore support
Date: Thu, 10 Aug 2017 10:26:12 +0800 [thread overview]
Message-ID: <20170810022615.19204-7-guodong.xu@linaro.org> (raw)
In-Reply-To: <20170810022615.19204-1-guodong.xu@linaro.org>
This patch reserves some memory in the DTS and sets up a
pstore device tree node to enable pstore support on HiKey960.
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
index ce5e874..7770ec7 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
+++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
@@ -39,6 +39,20 @@
reg = <0x0 0x0 0x0 0x0>;
};
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ ramoops@32000000 {
+ compatible = "ramoops";
+ reg = <0x0 0x32000000 0x0 0x00100000>;
+ record-size = <0x00020000>;
+ console-size = <0x00020000>;
+ ftrace-size = <0x00020000>;
+ };
+ };
+
reboot-mode-syscon@32100000 {
compatible = "syscon", "simple-mfd";
reg = <0x0 0x32100000 0x0 0x00001000>;
--
2.10.2
next prev parent reply other threads:[~2017-08-10 2:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 2:26 [PATCH v2 0/9] arm64: dts: hi3660: add more device nodes Guodong Xu
2017-08-10 2:26 ` [PATCH v2 1/9] arm64: dts: hi3660: enable idle states Guodong Xu
2017-08-10 10:07 ` Daniel Lezcano
[not found] ` <b3d8f55b-3d70-9b3a-a4c6-474a933a13a9-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-11 1:50 ` Leo Yan
2017-08-10 2:26 ` [PATCH v2 2/9] arm64: dts: hi3660: add L2 cache topology Guodong Xu
2017-08-10 2:26 ` [PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660 Guodong Xu
2017-08-10 2:26 ` [PATCH v2 4/9] arm64: dts: hikey960: Add optee node Guodong Xu
[not found] ` <20170810022615.19204-1-guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-10 2:26 ` [PATCH v2 5/9] arm64: dts: hikey960: Add support for syscon-reboot-mode Guodong Xu
2017-08-10 2:26 ` Guodong Xu [this message]
2017-08-10 2:26 ` [PATCH v2 7/9] arm64: dts: hi3660: Reset the mmc hosts Guodong Xu
2017-08-10 2:26 ` [PATCH v2 8/9] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Guodong Xu
2017-08-10 2:26 ` [PATCH v2 9/9] arm64: dts: hi3660: add bindings for DMA Guodong Xu
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=20170810022615.19204-7-guodong.xu@linaro.org \
--to=guodong.xu@linaro.org \
--cc=anton@enomsg.org \
--cc=catalin.marinas@arm.com \
--cc=ccross@android.com \
--cc=devicetree@vger.kernel.org \
--cc=john.stultz@linaro.org \
--cc=keescook@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tony.luck@intel.com \
--cc=will.deacon@arm.com \
--cc=xuwei5@hisilicon.com \
/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).