arm64/dt add kpanic modules

Add pstore, watchdog_cpu_ctx, tzlog_dump, and
mmi_annotate modules to capture data during
panics and watchdogs.

Change-Id: I59760ee4db0e57131ea632a311515be1f320de9f
Reviewed-on: https://gerrit.mot.com/1773401
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
This commit is contained in:
jixj 2020-10-14 10:21:27 +08:00 • committed by panyq6
commit b6eb34da87

View file

@ -16,6 +16,7 @@
#include "display/holi-sde-display-mtp.dtsi"
#include "holi-thermal-overlay.dtsi"
#include <dt-bindings/iio/qti_power_supply_iio.h>
#include <dt-bindings/moto/moto-mem-reserve.h>
&utags {
compatible = "mmi,utags";
@ -29,6 +30,35 @@
mmi,main-utags = "/dev/block/bootdevice/by-name/hw";
};
&reserved_memory {
ramoops_mem {
compatible = "ramoops";
no-map;
reg = <0x0 RAMOOPS_BASE_ADDR 0x0 RAMOOPS_SIZE>;
console-size = <RAMOOPS_CONSOLE_SIZE>;
pmsg-size = <RAMOOPS_PMSG_SIZE>;
record-size = <RAMOOPS_RECORD_SIZE>;
};
wdog_cpuctx_mem: wdog_cpuctx_region {
no-map;
reg = <0x0 WDOG_CPUCTX_BASE
0x0 WDOG_CPUCTX_SIZE>;
};
tzlog_dump_mem: tzlog_dump_mem_region {
no-map;
reg = <0x0 TZLOG_BCK_BASE
0x0 TZLOG_BCK_SIZE>;
};
mmi_annotate_mem: mmi_annotate_mem_region {
no-map;
reg = <0x0 MMI_ANNOTATE_BASE
0x0 MMI_ANNOTATE_SIZE>;
};
};
&sdhc_1 {
status = "ok"