Hello, For our custom board, we'll have 512MB LPDDR4 MT53E128M32D2DS-046 from micron. In the EVK DT, 6GB memory configured as follows:
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0xc0000000>,
<0x1 0x00000000 0 0xc0000000>;
};
According to memory mapping from Reference Manual of the processor DDR addressing is like this:

So can I configure for our board like this:
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0x20000000>;
};
or do I need to configure like this?
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0x10000000>,
<0x1 0x00000000 0 0x10000000>;
};