[PATCH] arm64: dts: ti: k3-am625-sk: enable ramoops

Kevin Hilman khilman at baylibre.com
Wed May 11 14:28:24 PDT 2022


From: Guillaume La Roque <glaroque at baylibre.com>

enable ramoops fetures to easily debug some issues

Signed-off-by: Guillaume La Roque <glaroque at baylibre.com>
Signed-off-by: Kevin Hilman <khilman at baylibre.com>
---
 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 0de4113ccd5d..ff22bb7887d0 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -53,6 +53,15 @@ wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory at 9db00000 {
 			reg = <0x00 0x9db00000 0x00 0xc00000>;
 			no-map;
 		};
+
+		ramoops at e0000000 {
+			compatible = "ramoops";
+			reg = <0x0 0xe0000000 0x0 0x00100000>;
+			record-size = <0x8000>;
+			console-size = <0x8000>;
+			ftrace-size = <0x0>;
+			pmsg-size = <0x8000>;
+		};
 	};
 
 	vmain_pd: regulator-0 {
-- 
2.34.0




More information about the linux-arm-kernel mailing list