ARM: dts: qcom-msm8974-rhine: Add pstore node
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Fri, 15 Apr 2022 11:56:32 +0000 (13:56 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 20 Apr 2022 02:10:56 +0000 (21:10 -0500)
Add pstore node to allow for retrieving crash logs.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220415115633.575010-23-konrad.dybcio@somainline.org
arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi

index 15beb9d..91082d3 100644 (file)
                        linux,code = <KEY_VOLUMEUP>;
                };
        };
+
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               ramoops@3e8e0000 {
+                       compatible = "ramoops";
+                       reg = <0x3e8e0000 0x200000>;
+
+                       console-size = <0x100000>;
+                       record-size = <0x10000>;
+                       ftrace-size = <0x10000>;
+                       pmsg-size = <0x80000>;
+               };
+       };
 };
 
 &blsp1_i2c2 {