Hi @AngelF,
The following values are used to configure 8GB of RAM:
#define PHYS_SDRAM_2_SIZE 0x140000000
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0xc0000000>,
<0x1 0x00000000 0 0x140000000>;
};
The i.MX8MP platform supports two memory regions:
The first region starts at 0x40000000 and has a size of 3GB.
The second region starts at 0x100000000 and covers the remaining 5GB.

Best regards,
Chavira