[meta-ti] [rocko/master][PATCH] linux-ti-staging: Increase CMEM for am574x only
Djordje Senicic
x0157990 at ti.com
Mon Aug 20 13:32:41 PDT 2018
* CMEM increased to 384MB is required by TIDL to run both DSP and EVEs concurrently
Signed-off-by: Djordje Senicic <x0157990 at ti.com>
---
recipes-kernel/linux/cmem.inc | 1 +
recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi | 29 ++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc
index 8325c00..b17ca9d 100644
--- a/recipes-kernel/linux/cmem.inc
+++ b/recipes-kernel/linux/cmem.inc
@@ -10,6 +10,7 @@ CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x"
# Set cmem.dtsi per machine or machine variant
CMEM_DTSI = "cmem.dtsi"
CMEM_DTSI_am571x = "cmem-am571x.dtsi"
+CMEM_DTSI_am574x = "cmem-am574x.dtsi"
CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
new file mode 100644
index 0000000..9d207db
--- /dev/null
+++ b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
@@ -0,0 +1,29 @@
+/ {
+ reserved-memory {
+ #address-cells = <2>;
+ #size-cells = <2>;
+ ranges;
+
+ cmem_block_mem_0: cmem_block_mem at a0000000 {
+ reg = <0x0 0xa0000000 0x0 0x18000000>;
+ no-map;
+ status = "okay";
+ };
+ };
+
+ cmem {
+ compatible = "ti,cmem";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ #pool-size-cells = <2>;
+
+ status = "okay";
+
+ cmem_block_0: cmem_block at 0 {
+ reg = <0>;
+ memory-region = <&cmem_block_mem_0>;
+ cmem-buf-pools = <1 0x0 0x18000000>;
+ };
+ };
+};
--
1.9.1
More information about the meta-ti
mailing list