aboutsummaryrefslogtreecommitdiff
path: root/target/linux/mediatek/patches-6.6/105-dts-mt7622-enable-pstore.patch
blob: 3e36a503ed2747ad51d449b7563b69af02535daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
@@ -135,6 +135,13 @@
 		#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>;