Files
android_kernel_motorola_sm6225/qcom/bengal-moto-base.dts
T
huangzq2 496f82f3a3 import cdsp optimization for all targets by default
Change-Id: I42801009482bd9ec242f0ad77fa7d595cd233275
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1606437
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-31 17:01:00 -03:00

91 lines
2.2 KiB
Devicetree

/* 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.
*/
/dts-v1/;
#include "bengal.dtsi"
/ {
qcom,board-id = <0 0>;
channel-id-map = "";
/*
* Some nodes need labels assigned to appear in __symbols__
*/
chosen: chosen { };
aliases: aliases { };
reserved_memory: reserved-memory { };
mot_batterydata: qcom,battery-data { };
utags: utags { };
hw: hw { };
};
/*
* Moto huangzq2 BEGIN: Reduce cdsp caverout for all targets as it only be used by FOD feature.
* The size in qdsp6.xml need to be changed as well.
* - remove cdsp_sec_mem; -30M
* - reduce pil_cdsp_mem; -22M
*/
/delete-node/ &pil_cdsp_mem;
/delete-node/ &pil_adsp_mem;
/delete-node/ &pil_ipa_fw_mem;
/delete-node/ &pil_ipa_gsi_mem;
/delete-node/ &pil_gpu_mem;
/delete-node/ &cdsp_sec_mem;
&reserved_memory {
pil_cdsp_mem: cdsp_regions@91b00000 {
compatible = "removed-dma-pool";
no-map;
reg = <0x0 0x91b00000 0x0 0x800000>;
};
pil_adsp_mem: pil_adsp_region@92300000 {
compatible = "removed-dma-pool";
no-map;
reg = <0x0 0x92300000 0x0 0x1c00000>;
};
pil_ipa_fw_mem: ipa_fw_region@93f00000 {
compatible = "removed-dma-pool";
no-map;
reg = <0x0 0x93f00000 0x0 0x10000>;
};
pil_ipa_gsi_mem: ipa_gsi_region@93f10000 {
compatible = "removed-dma-pool";
no-map;
reg = <0x0 0x93f10000 0x0 0x5000>;
};
pil_gpu_mem: gpu_region@93f15000 {
compatible = "removed-dma-pool";
no-map;
reg = <0x0 0x93f15000 0x0 0x2000>;
};
};
&soc {
qcom,ion {
/delete-node/ qcom,ion-heap@14;
};
};
/*
* Moto huangzq2 END
*/
&pmi632_charger {
/delete-property/ qcom,sw-jeita-enable;
/delete-property/ qcom,step-charging-enable;
/delete-property/ qcom,hw-die-temp-mitigation;
/delete-property/ qcom,hw-connector-mitigation;
};