summaryrefslogtreecommitdiffstats
path: root/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi')
-rw-r--r--bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi38
1 files changed, 38 insertions, 0 deletions
diff --git a/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi b/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi
new file mode 100644
index 00000000..23119861
--- /dev/null
+++ b/bsp/meta-sancloud/recipes-kernel/linux/linux-bbe-5.4/cmem.dtsi
@@ -0,0 +1,38 @@
+/*
+ * This is a placeholder for CMEM reserved memory declarations. This
+ * is simply an example and does not actually reserve any memory for
+ * CMEM.
+ *
+ * The commented sections below provide an example for how to provide
+ * a reserved memory region for CMEM to use as a buffer pool.
+ */
+/ {
+/*
+ reserved-memory {
+ cmem_block_mem_0: cmem_block_mem@a0000000 {
+ reg = <0x0 0xa0000000 0x0 0x0a000000>;
+ no-map;
+ status = "okay";
+ };
+ };
+*/
+
+ cmem {
+ compatible = "ti,cmem";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ #pool-size-cells = <2>;
+
+ status = "disabled";
+/*
+ status = "okay";
+
+ cmem_block_0: cmem_block@0 {
+ reg = <0>;
+ memory-region = <&cmem_block_mem_0>;
+ cmem-buf-pools = <1 0x0 0x0a000000>;
+ };
+*/
+ };
+};