Blame view

recipes-kernel/linux/files/cmem.dtsi 838 Bytes
17b7218c5   Eric Lee   Initial Release, ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>;
                  };
  */
          };
  };