I found that there are many overlaps in the device tree of Linux SDK for memory reservation. Take the 7.2 SDK as an example:
in k3-j721e-vision-apps.dtso contains fields
vision_apps_main_r5fss0_core0_dma_memory_region: vision_apps-r5f-dma-memory@a1000000 {
compatible = "shared-dma-pool";
reg = <0x00 0xa1000000 0x00 0x00100000>;
no-map;
};
in k3-j721e-som-p0.dtsi contains fields
mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 {
compatible = "shared-dma-pool";
reg = <0x00 0xa1000000 0x00 0x100000>;
no-map;
};
There are many memory fields in these two files that overlap. Can I ask if this is used for two purposes for the same memory, or what? Is there no risk like this?