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:
31
qcom/sdxkova-dma-heaps.dtsi
Normal file
31
qcom/sdxkova-dma-heaps.dtsi
Normal 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>;
|
||||
};
|
||||
};
|
||||
};
|
@@ -11,6 +11,8 @@
|
||||
/delete-node/ &apps_smmu;
|
||||
/delete-node/ &tcsr_mutex;
|
||||
#include "msm-arm-smmu-sdxkova.dtsi"
|
||||
#include "sdxkova-dma-heaps.dtsi"
|
||||
|
||||
/ {
|
||||
qcom_tzlog: tz-log@14680720 {
|
||||
compatible = "qcom,tz-log";
|
||||
@@ -20,6 +22,16 @@
|
||||
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;
|
||||
|
||||
arch_timer: timer {
|
||||
@@ -45,6 +57,23 @@
|
||||
size = <0x0 0x2000000>;
|
||||
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 {
|
||||
@@ -1248,7 +1277,9 @@
|
||||
qcom_smcinvoke {
|
||||
compatible = "qcom,smcinvoke";
|
||||
};
|
||||
|
||||
qcom_mem_object {
|
||||
compatible = "qcom,mem-object";
|
||||
};
|
||||
};
|
||||
|
||||
#include "sdxkova-regulators.dtsi"
|
||||
|
Reference in New Issue
Block a user