arm-trusted-firmware/drivers/nxp/ddr/nxp-ddr
Maninder Singh e3a234971a fix(nxp-drivers): ddr: corrects mapping of HNFs nodes
Corrects mapping of HNFs nodes with SNFs nodes based on their
proximity in CCN508 ring when disabling unused ddr controller.

When DDRC 2 disabled and DDR 1 is active the mapping is 0x3/3/8/8/8/8/3/3.
When DDRC 1 is disabled and DDR2 is active the mapping is 0x
18/18/13/13/13/13/18/18 .

Signed-off-by: Maninder Singh <maninder.singh_1@nxp.com>
Signed-off-by: JaiPrakash Singh <JaiPrakash.singh@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I6ec1e02f8ad7e8bb8628913625ff5313a054dcc6
2022-01-26 10:19:08 +08:00
..
README.odt nxp: ddr driver enablement for nxp layerscape soc 2021-03-24 09:49:31 +05:30
ddr.c fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
ddr.mk refactor: moved drivers hdr files to include/drivers/nxp 2021-08-03 12:19:56 +02:00
ddrc.c nxp: ddr driver enablement for nxp layerscape soc 2021-03-24 09:49:31 +05:30
dimm.c nxp: ddr driver enablement for nxp layerscape soc 2021-03-24 09:49:31 +05:30
regs.c nxp: ddr driver enablement for nxp layerscape soc 2021-03-24 09:49:31 +05:30
utility.c fix(nxp-drivers): ddr: corrects mapping of HNFs nodes 2022-01-26 10:19:08 +08:00

README.odt

Table for dynamic ODT for DDR4 with PHY generation 2
====================================================
Two-slot system
Only symmetric configurations are supported for interleaving. Non-symmetric
configurations are possible but not covered here. First slot empty is possbile
but prohibited for simplicity.
+-----------------------+-------------+---------------+-----------------------------+-----------------------------+
|     Configuration     |             |DRAM controller|           Slot 1            |           Slot 2            |
+-----------+-----------+-------------+-------+-------+--------------+--------------+--------------+--------------+
|           |           |             |       |       |    Rank 1    |   Rank 2     |   Rank 1     |    Rank 2    |
|  Slot 1   |  Slot 2   | Write/Read  | Write | Read  |-------+------+-------+------+-------+------+-------+------+
|           |           |             |       |       | Write | Read | Write | Read | Write | Read | Write | Read |
+-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |      |Rank 1|  off  |  60   |  240  | off  |   60  | 240  |   60  |  60  |   60  |  60  |
|           |           |Slot 1|------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |      |Rank 2|  off  |  60   |   60  | 240  |  240  | off  |   60  |  60  |   60  |  60  |
| Dual Rank | Dual Rank |------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |      |Rank 1|  off  |  60   |   60  |  60  |   60  |  60  |  240  | off  |   60  | 240  |
|           |           |Slot 2|------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |      |Rank 2|  off  |  60   |   60  |  60  |   60  |  60  |   60  | 240  |  240  | off  |
+-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |  Slot 1     |  off  |  60   |   80  |  off |       |      |       |      |       |      |
|Single Rank|Single Rank|-------------+-------+-------+-------+------+-------+------+-------+------+-------+------+
|           |           |  Slot 2     |  off  |  60   |       |      |       |      |   80  | off  |
+-----------+-----------+------+------+-------+-------+-------+------+-------+------+-------+------+
|           |           |      |Rank 1|  off  |  80   |   80  | off  |  off  | off  |
| Dual Rank |           |Slot 1|------+-------+-------+-------+------+-------+------+
|           |           |      |Rank 2|  off  |  80   |   80  | off  |  off  | off  |
+-----------+-----------+-------------+-------+-------+-------+------+-------+------+
|Single Rank|           |  Slot 1     |  off  |  80   |   80  | off  |
+-----------+-----------+-------------+-------+-------+-------+------+