RPMSG needs to share memory with M4, and SCD needs to set
this shared memory property accordingly, so the memory
region needs to be fixed.
Here make CMA range same as its size, so that SCD only sets
this region as share property. And also reserve another
4MB for RPMSG.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
compatible = "shared-dma-pool";
reusable;
size = <0 0x28000000>;
- alloc-ranges = <0 0x80000000 0 0x80000000>;
+ alloc-ranges = <0 0x90000000 0 0x28000000>;
linux,cma-default;
};
+
+ rpmsg_reserved: rpmsg@0xb8000000 {
+ no-map;
+ reg = <0 0xb8000000 0 0x400000>;
+ };
};
gic: interrupt-controller@51a00000 {
compatible = "shared-dma-pool";
reusable;
size = <0 0x28000000>;
- alloc-ranges = <0 0x80000000 0 0x80000000>;
+ alloc-ranges = <0 0x90000000 0 0x28000000>;
linux,cma-default;
};
+
+ rpmsg_reserved: rpmsg@0xb8000000 {
+ no-map;
+ reg = <0 0xb8000000 0 0x400000>;
+ };
};
gic: interrupt-controller@51a00000 {