From: Jeremy McNicoll Date: Mon, 12 Mar 2018 08:36:57 +0000 (-0700) Subject: arm64: dts: msm8992: add pstore-ramoops support X-Git-Tag: android-x86-8.1-r1~875^2~4^2~19 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0295d4dfa8c08d62cb85ee325ad21c785a374557;p=android-x86%2Fkernel.git 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 Acked-by: Bjorn Andersson Signed-off-by: Andy Gross --- diff --git a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts index 3fc9a33de233..8c69516f97ed 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts @@ -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"