diff options
author | Guodong Xu <guodong.xu@linaro.org> | 2017-08-14 11:50:45 +0200 |
---|---|---|
committer | Wei Xu <xuwei5@hisilicon.com> | 2017-08-16 10:32:09 +0200 |
commit | 9c24dc9d00ee68270a8cd8ef1a8fc127ba616ea8 (patch) | |
tree | fe96fdc8608315e093ee2a6dae209b32eca341c5 /arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | |
parent | arm64: dts: hikey960: Add support for syscon-reboot-mode (diff) | |
download | linux-9c24dc9d00ee68270a8cd8ef1a8fc127ba616ea8.tar.xz linux-9c24dc9d00ee68270a8cd8ef1a8fc127ba616ea8.zip |
arm64: dts: hikey960: Add pstore support
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>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
Diffstat (limited to 'arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts')
-rw-r--r-- | arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts index ce5e8747219e..7770ec7c566a 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>; |