summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi
diff options
context:
space:
mode:
authorCaleb Robey <c-robey@ti.com>2019-12-06 03:13:21 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-12-06 22:38:10 +0000
commit7c8249c7dcf6b61961f8cb6baab33eb3c2103d4b (patch)
tree6dac8e80078c117dad5ec1d6c36465332a812e89 /recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi
parent50056525982b86311da80224c09f4b07a381770c (diff)
downloadmeta-ti-7c8249c7dcf6b61961f8cb6baab33eb3c2103d4b.tar.gz
cmem: Adding am5729 beagleboneai CMEM configuration
CMEM memory block for bbai should be 402MB to allow full EVE acceleration and DSP use, but accounting for the BBAI only having 1GB of RAM. Signed-off-by: Caleb Robey <c-robey@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi')
-rw-r--r--recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi40
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi b/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.dtsi
new file mode 100644
index 00000000..e0511d08
--- /dev/null
+++ b/recipes-kernel/linux/files/dra7xx/cmem-am5729-beagleboneai.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 0x18000000>;
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 0x18000000>;
33 };
34
35 cmem_block_1: cmem_block@1 {
36 reg = <1>;
37 memory-region = <&cmem_block_mem_1_ocmc3>;
38 };
39 };
40};