summaryrefslogtreecommitdiffstats
path: root/bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi
diff options
context:
space:
mode:
authorToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
committerToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp>2020-03-30 09:24:26 +0900
commit5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch)
treeb4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi
parent706ad73eb02caf8532deaf5d38995bd258725cb8 (diff)
agl-basesystem
Diffstat (limited to 'bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi')
-rw-r--r--bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi37
1 files changed, 37 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi b/bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi
new file mode 100644
index 00000000..4c68d82d
--- /dev/null
+++ b/bsp/meta-ti/recipes-kernel/linux/files/k2g/cmem.dtsi
@@ -0,0 +1,37 @@
+/ {
+ reserved-memory {
+
+ cmem_block_mem_0: cmem_block_mem@818000000 {
+ reg = <0x00000008 0x18000000 0x00000000 0x5000000>;
+ 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@0 {
+ reg = <0>;
+ memory-region = <&cmem_block_mem_0>;
+ cmem-buf-pools = <1 0x00000000 0x5000000>;
+ };
+
+ cmem_block_1: cmem_block@1 {
+ reg = <1>;
+ sram = <&sram_cmem>;
+ };
+ };
+};
+
+&msm_ram {
+ sram_cmem: sram-cmem@a0000 {
+ reg = <0xa0000 0x57000>;
+ };
+};