mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-13 22:30:44 +00:00
1010d17019
* Supply the entire cmem.dtsi per machine - Disabled by default - Currently only supported for dra7xx and k2hk-evm * Enable by setting RESERVE_CMEM = "1" Signed-off-by: Jacob Stiffler <j-stiffler@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
39 lines
838 B
Devicetree
39 lines
838 B
Devicetree
/*
|
|
* 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>;
|
|
};
|
|
*/
|
|
};
|
|
};
|