diff mbox series

[22/23] ARM: dts: qcom-msm8974-rhine: Add pstore node

Message ID 20220415115633.575010-23-konrad.dybcio@somainline.org (mailing list archive)
State Accepted
Headers show
Series [01/23] ARM: dts: qcom-*-sony*: Mention SONY board names in DT filenames | expand

Commit Message

Konrad Dybcio April 15, 2022, 11:56 a.m. UTC
Add pstore node to allow for retrieving crash logs.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 .../boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
index 15beb9df3631..91082d31f3c6 100644
--- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-rhine.dtsi
@@ -49,6 +49,22 @@  volume-up {
 			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 {