summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorDjordje Senicic <x0157990@ti.com>2018-08-21 02:32:41 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-08-22 02:24:50 +0000
commita2de0fa0513565ad1a5c0d93fe19846447d885a2 (patch)
tree8802236f762d3f3c4615b0b938e3632db36e6aa9 /recipes-kernel
parent085c1389cf416f77d4ba12e524cf2b7ad10a2182 (diff)
downloadmeta-ti-a2de0fa0513565ad1a5c0d93fe19846447d885a2.tar.gz
linux-ti-staging: Increase CMEM for am574x only
* CMEM increased to 384MB is required by TIDL to run both DSP and EVEs concurrently Signed-off-by: Djordje Senicic <x0157990@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/cmem.inc1
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi29
2 files changed, 30 insertions, 0 deletions
diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc
index 8325c00f..b17ca9dd 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"
10# Set cmem.dtsi per machine or machine variant 10# Set cmem.dtsi per machine or machine variant
11CMEM_DTSI = "cmem.dtsi" 11CMEM_DTSI = "cmem.dtsi"
12CMEM_DTSI_am571x = "cmem-am571x.dtsi" 12CMEM_DTSI_am571x = "cmem-am571x.dtsi"
13CMEM_DTSI_am574x = "cmem-am574x.dtsi"
13CMEM_DTSI_dra71x = "cmem-dra71x.dtsi" 14CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
14CMEM_DTSI_dra72x = "cmem-dra72x.dtsi" 15CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
15 16
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 00000000..9d207db5
--- /dev/null
+++ b/recipes-kernel/linux/files/dra7xx/cmem-am574x.dtsi
@@ -0,0 +1,29 @@
1/ {
2 reserved-memory {
3 #address-cells = <2>;
4 #size-cells = <2>;
5 ranges;
6
7 cmem_block_mem_0: cmem_block_mem@a0000000 {
8 reg = <0x0 0xa0000000 0x0 0x18000000>;
9 no-map;
10 status = "okay";
11 };
12 };
13
14 cmem {
15 compatible = "ti,cmem";
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 #pool-size-cells = <2>;
20
21 status = "okay";
22
23 cmem_block_0: cmem_block@0 {
24 reg = <0>;
25 memory-region = <&cmem_block_mem_0>;
26 cmem-buf-pools = <1 0x0 0x18000000>;
27 };
28 };
29};