This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: Configuring memory entry in device tree

Part Number: AM5728


Hello,

We're making a custom board based on AM572x EVM. We have 2 GB of DDR3L memory attached to each controller - so a total of 4 GB. I'm assuming that the the fact we have different controllers is not relevant logically to Linux. So, the device tree should indicate that we have 4 GB of memory. Is this correct? What should the device tree entry for our configuration be?

The reason I'm confused is the eval board has this -

memory@0 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x80000000>;
	};

I assume that the two entries here correspond to the two controllers? If not, why are there two entries? And why are both entries 2GB? I thought the eval board has 1 GB on each controller giving a total of 2 GB.

  • I assume that the two entries here correspond to the two controllers? If not, why are there two entries? And why are both entries 2GB? I thought the eval board has 1 GB on each controller giving a total of 2 GB.

    0x0 0x80000000 the first instance is describing the starting address of DDR. & the second instance "0x0 0x80000000" is describing the size of DDR.

    So the size is 2GB.

    - Keerthy