arm64: dts: msm8992: add pstore-ramoops support

With the addition of this ramoops node it enables post mortem
analysis if a debug cable is not attached and/or not available.

All addresses and values were extracted from CAF AOSP marshmallow
DR 1.6.

Signed-off-by: Jeremy McNicoll <jeremymc@redhat.com>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
This commit is contained in:
Jeremy McNicoll 2018-03-12 01:36:57 -07:00 committed by Andy Gross
parent 6d4cf750d0
commit 0295d4dfa8
1 changed files with 15 additions and 0 deletions

View File

@ -38,6 +38,21 @@
pinctrl-1 = <&blsp1_uart2_sleep>;
};
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
ramoops@1ff00000 {
compatible = "ramoops";
reg = <0x0 0x1ff00000 0x0 0x40000>;
console-size = <0x10000>;
record-size = <0x10000>;
ftrace-size = <0x10000>;
pmsg-size = <0x20000>;
};
};
};
#include "msm8994-smd-rpm.dtsi"