diff mbox series

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

Message ID 20220517122828.2985179-1-glaroque@baylibre.com (mailing list archive)
State New
Headers show
Series [v4] arm64: dts: ti: k3-am625-sk: enable ramoops | expand

Commit Message

Guillaume La Roque May 17, 2022, 12:28 p.m. UTC
Enable ramoops features to easily debug some issues.

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
---
Changes in :
v4:
- fix typo in commit message

v3:
- run dtbs_check

v2:
- Apply script create-mem_map.py  with args given by Nishanth Menon
- Spelling fix
---
 arch/arm64/boot/dts/ti/k3-am625-sk.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

--
2.25.1
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am625-sk.dts b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
index 0de4113ccd5d..62d8503b5923 100644
--- a/arch/arm64/boot/dts/ti/k3-am625-sk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am625-sk.dts
@@ -36,6 +36,15 @@  reserved-memory {
 		#size-cells = <2>;
 		ranges;

+		ramoops@9ca00000 {
+			compatible = "ramoops";
+			reg = <0x00 0x9ca00000 0x00 0x00100000>;
+			record-size = <0x8000>;
+			console-size = <0x8000>;
+			ftrace-size = <0x00>;
+			pmsg-size = <0x8000>;
+		};
+
 		secure_tfa_ddr: tfa@9e780000 {
 			reg = <0x00 0x9e780000 0x00 0x80000>;
 			alignment = <0x1000>;