ARM: dts: msm: enabling mem-object node for sdxkova

Enable mem-object node and heap buf.

Change-Id: I00dae06164ab2893a23ce3b54c9f4c0984c0d56c
Signed-off-by: kundan kumar <quic_kunkum@quicinc.com>
This commit is contained in:
kundan kumar
2024-12-18 09:11:07 +05:30
parent 02f2e181d1
commit c7ac0d1333
2 changed files with 64 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
&soc {
qcom,dma-heaps {
compatible = "qcom,dma-heaps";
depends-on-supply = <&scm>;
qcom,qseecom {
qcom,dma-heap-name = "qcom,qseecom";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&qseecom_mem>;
};
qcom,qseecom_ta {
qcom,dma-heap-name = "qcom,qseecom-ta";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&qseecom_ta_mem>;
};
qcom_audio: qcom,audio {
qcom,dma-heap-name = "qcom,audio";
qcom,dma-heap-type = <HEAP_TYPE_CARVEOUT>;
memory-region = <&audio_heap_mem>;
};
};
};

View File

@@ -11,7 +11,9 @@
/delete-node/ &apps_smmu; /delete-node/ &apps_smmu;
/delete-node/ &tcsr_mutex; /delete-node/ &tcsr_mutex;
#include "msm-arm-smmu-sdxkova.dtsi" #include "msm-arm-smmu-sdxkova.dtsi"
/{ #include "sdxkova-dma-heaps.dtsi"
/ {
qcom_tzlog: tz-log@14680720 { qcom_tzlog: tz-log@14680720 {
compatible = "qcom,tz-log"; compatible = "qcom,tz-log";
reg = <0x0 0x14680720 0x0 0x3000>; reg = <0x0 0x14680720 0x0 0x3000>;
@@ -20,6 +22,16 @@
hyplog-size-offset = <0x414>; hyplog-size-offset = <0x414>;
}; };
qcom,mem-buf {
compatible = "qcom,mem-buf";
qcom,mem-buf-capabilities = "supplier";
qcom,vmid = <3>;
};
qcom,mem-buf-msgq {
compatible = "qcom,mem-buf-msgq";
};
/delete-node/ timer; /delete-node/ timer;
arch_timer: timer { arch_timer: timer {
@@ -45,6 +57,23 @@
size = <0x0 0x2000000>; size = <0x0 0x2000000>;
linux,cma-default; linux,cma-default;
}; };
qseecom_mem: qseecom_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x800000>;
};
qseecom_ta_mem: qseecom_ta_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x400000>;
};
}; };
soc: soc { soc: soc {
@@ -1248,7 +1277,9 @@
qcom_smcinvoke { qcom_smcinvoke {
compatible = "qcom,smcinvoke"; compatible = "qcom,smcinvoke";
}; };
qcom_mem_object {
compatible = "qcom,mem-object";
};
}; };
#include "sdxkova-regulators.dtsi" #include "sdxkova-regulators.dtsi"