Skip to content

Commit

Permalink
doc/dt: Fix memory-heirachy block
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
  • Loading branch information
oohal committed Dec 16, 2019
1 parent 7b4619a commit 0f46e5c
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions doc/device-tree/memory-hierarchy.rst
Expand Up @@ -7,18 +7,20 @@ traverse from chip to DIMM like below:
xscom@<addr>/mcbist@<mcbist_id>/mcs@<mcs_id>/mca@<mca_id>/dimm@<resource_id>

Example of dimm node:

.. code-block:: dts
dimm@d00e {
memory-id = <0xc>; /* DRAM Device Type. 0xc = DDR4 */
product-version = <0x32>; /* Module Revision Code */
device_type = "memory-dimm-ddr4";
serial-number = <0x15d9ad1c>;
status = "okay";
size = <0x4000>;
phandle = <0xd2>;
ibm,loc-code = "UOPWR.0000000-Node0-DIMM14";
part-number = "36ASF2G72PZ-2G6B2 ";
reg = <0xd00e>;
manufacturer-id = <0x802c>; /* Vendor ID, we can get vendor name from this ID */
};
dimm@d00e {
memory-id = <0xc>; /* DRAM Device Type. 0xc = DDR4 */
product-version = <0x32>; /* Module Revision Code */
device_type = "memory-dimm-ddr4";
serial-number = <0x15d9ad1c>;
status = "okay";
size = <0x4000>;
phandle = <0xd2>;
ibm,loc-code = "UOPWR.0000000-Node0-DIMM14";
part-number = "36ASF2G72PZ-2G6B2 ";
reg = <0xd00e>;
manufacturer-id = <0x802c>; /* Vendor ID, we can get vendor name from this ID */
};

0 comments on commit 0f46e5c

Please sign in to comment.