diff --git a/qcom/bengal-moto-common-overlay.dtsi b/qcom/bengal-moto-common-overlay.dtsi index b54f9f0d588d..53b04cbb7c55 100644 --- a/qcom/bengal-moto-common-overlay.dtsi +++ b/qcom/bengal-moto-common-overlay.dtsi @@ -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 #include #include "carrier-channel-ids.dtsi" +#include + &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 = ; + pmsg-size = ; + 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>; + }; +};