rockchip — ion dts 配置
1、不可缺少属性
- compatible: Should be "rockchip,ion"
2、可选属性:
- cma-heap: 分配连续的物理内存域,reg的值需要是u32的整数 - reg0: cma 域的基地址 - reg1: cma 域的空间大小 - system-heap: 分配连续的虚拟内存域
3、例子
ion { compatible = "rockchip,ion"; #address-cells = <1>; #size-cells = <0>; cma-heap { reg = <0x00000000 0x02000000>; }; system-heap { }; };