dts: cma-memory: Fix the conflict between dtb memory and cma reserved memory

1. Dtb memory is allocated by grub/uboot and passed to the kernel

Change-Id: I411c1b9b9c4cbf4f3afdf078321d2bd094b087fa
Signed-off-by: lijuan <juan.li@spacemit.com>
This commit is contained in:
lijuan 2025-04-30 15:35:22 +08:00 committed by 张猛
parent 208bd98a19
commit eda1141990

View file

@ -94,8 +94,8 @@
linux,cma {
compatible = "shared-dma-pool";
/* alloc memory from 0x40000000~0x80000000 */
alloc-ranges = <0 0x40000000 0 0x40000000>;
/* alloc memory from 0x40000000~0x70000000 */
alloc-ranges = <0 0x40000000 0 0x30000000>;
/* size of cma buffer is 384MByte */
size = <0 0x18000000>;
/* start address is 1Mbyte aligned */