aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.15/194-dts-mt7968a-add-ramoops.patch
blob: 161c1e75168cff60609becfb6128bf57f3291468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
@@ -68,6 +68,14 @@
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;
+
+		/* 64 KiB reserved for ramoops/pstore */
+		ramoops@42ff0000 {
+			compatible = "ramoops";
+			reg = <0 0x42ff0000 0 0x10000>;
+			record-size = <0x1000>;
+		};
+
 		/* 192 KiB reserved for ARM Trusted Firmware (BL31) */
 		secmon_reserved: secmon@43000000 {
 			reg = <0 0x43000000 0 0x30000>;