mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] ARM: nxp-imx93-frdm: support both 2 GiB LPDDR4
@ 2026-11-27  9:41 Freimut Diener
  2026-11-27  9:41 ` [PATCH 1/5] ARM: nxp-imx93-frdm: name the existing DDR timings for 1CS Freimut Diener
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Freimut Diener @ 2026-11-27  9:41 UTC (permalink / raw)
  To: Sascha Hauer, open list:BAREBOX; +Cc: Ahmad Fatoum, Freimut Diener

NXP replaced the original Micron single-rank (1CS) LPDDR4 on the
i.MX93 FRDM with a JSC dual-rank (2CS) part. Both variants have 2 GiB.

This series imports the new DDR timings from NXP's U-Boot and adds
runtime timing selection, allowing a single barebox image to boot
both board revisions.

The existing 1CS timings are retained unchanged, as is the behavior
of the i.MX8M DDR training code.

Successfully boot-tested on:
- i.MX93 FRDM with Micron 1CS DRAM
- i.MX93 FRDM with JSC 2CS DRAM
- i.MX8MP FRDM (regression test)

Signed-off-by: Freimut Diener <f.diener@pengutronix.de>
---
Freimut Diener (5):
      ARM: nxp-imx93-frdm: name the existing DDR timings for 1CS
      ARM: nxp-imx93-frdm: import 2CS DDR timings from U-Boot
      ARM: nxp-imx93-frdm: adapt the 2CS DDR timings for barebox
      ddr: imx9: allow DDR PHY training errors to propagate
      ARM: nxp-imx93-frdm: select DDR timings at boot

 arch/arm/boards/nxp-imx93-frdm/Makefile            |    2 +-
 arch/arm/boards/nxp-imx93-frdm/lowlevel.c          |   26 +-
 ...ddr4x_2gb_timing.c => lpddr4x_1cs_2gb_timing.c} |    2 +-
 .../boards/nxp-imx93-frdm/lpddr4x_2cs_2gb_timing.c | 1922 ++++++++++++++++++++
 drivers/ddr/imx/ddrphy_utils.c                     |    2 +
 drivers/ddr/imx/imx9_ddr_init.c                    |   28 +
 include/soc/imx/ddr.h                              |    1 +
 include/soc/imx9/ddr.h                             |   18 +-
 8 files changed, 1995 insertions(+), 6 deletions(-)
---
base-commit: 2cdf9539292f7f76b8d8b241913f6eebc3041324
change-id: 20261123-imx93-frdm-2cs-ddr-4d16c5f4bd02

Best regards,
--  
Freimut Diener <f.diener@pengutronix.de>




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-27 12:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  9:41 [PATCH 0/5] ARM: nxp-imx93-frdm: support both 2 GiB LPDDR4 Freimut Diener
2026-11-27  9:41 ` [PATCH 1/5] ARM: nxp-imx93-frdm: name the existing DDR timings for 1CS Freimut Diener
2026-11-27 10:37   ` Ahmad Fatoum
2026-11-27  9:42 ` [PATCH 2/5] ARM: nxp-imx93-frdm: import 2CS DDR timings from U-Boot Freimut Diener
2026-11-27  9:42 ` [PATCH 3/5] ARM: nxp-imx93-frdm: adapt the 2CS DDR timings for barebox Freimut Diener
2026-11-27  9:42 ` [PATCH 4/5] ddr: imx9: allow DDR PHY training errors to propagate Freimut Diener
2026-11-27  9:42 ` [PATCH 5/5] ARM: nxp-imx93-frdm: select DDR timings at boot Freimut Diener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox