arm64: dts: msm8992: add pstore-ramoops support
authorJeremy McNicoll <jeremymc@redhat.com>
Mon, 12 Mar 2018 08:36:57 +0000 (01:36 -0700)
committerAndy Gross <andy.gross@linaro.org>
Wed, 23 May 2018 04:28:49 +0000 (23:28 -0500)
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>
arch/arm64/boot/dts/qcom/msm8992-bullhead-rev-101.dts

index 3fc9a33..8c69516 100644 (file)
                        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"