arm64/dts: add dontpanic memory
Add reserved memory regions for the modules used to create dontpanic logs. Change-Id: Ied77ac3d060dc89980f1e643927535e334f4d424 Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com> Reviewed-on: https://gerrit.mot.com/1509738 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang <wangwang1@lenovo.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
5e83f36519
commit
d11618fa2b
1 file changed
+66
@@ -1,6 +1,20 @@
|
||||
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include "carrier-channel-ids.dtsi"
|
||||
#include <dt-bindings/moto/moto-mem-reserve.h>
|
||||
|
||||
|
||||
&utags {
|
||||
compatible = "mmi,utags";
|
||||
@@ -19,3 +33,55 @@
|
||||
qcom,auto-recharge-soc = <99>;
|
||||
qcom,flash-disable-soc = <1>;
|
||||
};
|
||||
|
||||
&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>;
|
||||
no-dump-oops;
|
||||
};
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
wdog_cputctx {
|
||||
compatible = "mmi,watchdog_cpu_ctx";
|
||||
memory-region = <&wdog_cpuctx_mem>;
|
||||
};
|
||||
|
||||
tzlog_dump {
|
||||
compatible = "mmi,tzlog-dump";
|
||||
memory-region = <&tzlog_dump_mem>;
|
||||
};
|
||||
|
||||
mmi_annotate {
|
||||
compatible = "mmi,annotate";
|
||||
memory-region = <&mmi_annotate_mem>;
|
||||
mem-size = <0x20000>;
|
||||
};
|
||||
|
||||
wdog: qcom,wdt@17c10000 {
|
||||
qcom,bark-time = <22000>;
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user