[PATCH 0/5] ARM: nxp-imx93-frdm: support both 2 GiB LPDDR4
Freimut Diener
f.diener at pengutronix.de
Fri Nov 27 01:41:58 PST 2026
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 at 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 at pengutronix.de>
More information about the barebox
mailing list