summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjordje Senicic <x0157990@ti.com>2019-12-06 04:26:12 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-12-06 22:38:10 +0000
commit50056525982b86311da80224c09f4b07a381770c (patch)
treeb6cdd2d352756b687e065fb41efa443dfc10575d
parentc9df259df4d915ca205ff69d18cdc1237a8b409c (diff)
downloadmeta-ti-50056525982b86311da80224c09f4b07a381770c.tar.gz
cmem: am5729idk has specific CMEM cfg increased to 512MB
- CMEM memory block increased to 512MB to enable TIDL using 4xEVE and 2xDSP Signed-off-by: Djordje Senicic <x0157990@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-kernel/linux/cmem.inc9
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi40
2 files changed, 45 insertions, 4 deletions
diff --git a/recipes-kernel/linux/cmem.inc b/recipes-kernel/linux/cmem.inc
index 8bd643f4..23e48f12 100644
--- a/recipes-kernel/linux/cmem.inc
+++ b/recipes-kernel/linux/cmem.inc
@@ -2,14 +2,15 @@
2# 2#
3# Use these for temporary overrides 3# Use these for temporary overrides
4CMEM_MACHINE = "${MACHINE}" 4CMEM_MACHINE = "${MACHINE}"
5CMEM_MACHINE_am57xx-evm = "am571x am572x am574x" 5CMEM_MACHINE_am57xx-evm = "am571x am572x am572idk am574x"
6CMEM_MACHINE_am57xx-hs-evm = "am571x am572x am574x" 6CMEM_MACHINE_am57xx-hs-evm = "am571x am572x am572idk am574x"
7CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x dra76x" 7CMEM_MACHINE_dra7xx-evm = "dra71x dra72x dra74x dra76x"
8CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x dra76x" 8CMEM_MACHINE_dra7xx-hs-evm = "dra71x dra72x dra74x dra76x"
9 9
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_am572idk = "cmem-am572idk.dtsi"
13CMEM_DTSI_am574x = "cmem-am574x.dtsi" 14CMEM_DTSI_am574x = "cmem-am574x.dtsi"
14CMEM_DTSI_dra71x = "cmem-dra71x.dtsi" 15CMEM_DTSI_dra71x = "cmem-dra71x.dtsi"
15CMEM_DTSI_dra72x = "cmem-dra72x.dtsi" 16CMEM_DTSI_dra72x = "cmem-dra72x.dtsi"
@@ -18,8 +19,8 @@ CMEM_DTSI_dra76x = "cmem-dra76x.dtsi"
18# Split device trees between variants 19# Split device trees between variants
19CMEM_DEVICETREE = "${KERNEL_DEVICETREE}" 20CMEM_DEVICETREE = "${KERNEL_DEVICETREE}"
20CMEM_DEVICETREE_am571x = "am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb" 21CMEM_DEVICETREE_am571x = "am571x-idk.dtb am571x-idk-lcd-osd101t2045.dtb am571x-idk-lcd-osd101t2587.dtb"
21CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revc.dtb \ 22CMEM_DEVICETREE_am572x = "am57xx-beagle-x15.dtb am57xx-beagle-x15-revc.dtb"
22 am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb" 23CMEM_DEVICETREE_am572idk = "am572x-idk.dtb am572x-idk-lcd-osd101t2045.dtb am572x-idk-lcd-osd101t2587.dtb"
23CMEM_DEVICETREE_am574x = "am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb" 24CMEM_DEVICETREE_am574x = "am574x-idk.dtb am574x-idk-lcd-osd101t2587.dtb"
24CMEM_DEVICETREE_dra71x = "dra71-evm.dtb" 25CMEM_DEVICETREE_dra71x = "dra71-evm.dtb"
25CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \ 26CMEM_DEVICETREE_dra72x = "dra72-evm.dtb dra72-evm-lcd-osd101t2045.dtb dra72-evm-lcd-osd101t2587.dtb \
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi
new file mode 100644
index 00000000..6c39e22c
--- /dev/null
+++ b/recipes-kernel/linux/files/dra7xx/cmem-am572idk.dtsi
@@ -0,0 +1,40 @@
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 0x20000000>;
9 no-map;
10 status = "okay";
11 };
12
13 cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
14 reg = <0x0 0x40500000 0x0 0x100000>;
15 no-map;
16 status = "okay";
17 };
18 };
19
20 cmem {
21 compatible = "ti,cmem";
22 #address-cells = <1>;
23 #size-cells = <0>;
24
25 #pool-size-cells = <2>;
26
27 status = "okay";
28
29 cmem_block_0: cmem_block@0 {
30 reg = <0>;
31 memory-region = <&cmem_block_mem_0>;
32 cmem-buf-pools = <1 0x0 0x20000000>;
33 };
34
35 cmem_block_1: cmem_block@1 {
36 reg = <1>;
37 memory-region = <&cmem_block_mem_1_ocmc3>;
38 };
39 };
40};