[PATCH 0/9] ARM: i.MX8M: add nano support

Ahmad Fatoum a.fatoum at pengutronix.de
Sun Sep 5 06:51:13 PDT 2021


The i.MX8MN is basically a downsized i.MX8MM, but got also shares
some details with the i.MX8MP. This series adds SoC and EVK board
support. Main thing missing is imx-usb-loader support:

  found i.MX8MN USB device [1fc9:013e]

  4 in err=-7, last_trans=0  00 00 00 00
  status failed

And no serial output indicating PBL started up, but that can
follow later.

Cheers,
Ahmad Fatoum (8):
  ARM: i.MX: add i.MX8MN (Nano) SoC support boilerplate
  clk: imx: add i.MX8MN (Nano) support
  ARM: i.MX8MN: adapt early clock support
  ARM: i.MX: extend drivers for i.MX8MN (Nano) support
  ddr: imx8m: add i.MX8MN (Nano) support
  ddr: imx8m: ddrphy_train: add DDR4 support
  scripts: imx: add i.MX8MN support to imx-image
  ARM: i.MX8MN: add i.MX8MN-EVK support

Andrey Zhizhikin (1):
  ARM: i.MX8MM: correct unrecognized fracpll frequency

 Documentation/boards/imx/nxp-imx8mn-evk.rst   |   60 +
 arch/arm/boards/Makefile                      |    1 +
 arch/arm/boards/mnt-reform/lpddr4-timing.c    |    1 +
 .../arm/boards/nxp-imx8mm-evk/lpddr4-timing.c |    1 +
 arch/arm/boards/nxp-imx8mn-evk/Makefile       |    2 +
 arch/arm/boards/nxp-imx8mn-evk/board.c        |   62 +
 arch/arm/boards/nxp-imx8mn-evk/ddr4-timing.c  | 1055 +++++++++++
 .../flash-header-imx8mn-evk.imxcfg            |    5 +
 arch/arm/boards/nxp-imx8mn-evk/lowlevel.c     |  231 +++
 .../arm/boards/nxp-imx8mn-evk/lpddr4-timing.c | 1591 +++++++++++++++++
 .../arm/boards/nxp-imx8mp-evk/lpddr4-timing.c |    1 +
 arch/arm/boards/nxp-imx8mq-evk/ddrphy_train.c |    6 +-
 .../boards/phytec-som-imx8mq/ddrphy_train.c   |    6 +-
 .../protonic-imx8m/lpddr4-timing-prt8mm.c     |    1 +
 arch/arm/boards/zii-imx8mq-dev/ddrphy_train.c |    6 +-
 arch/arm/configs/imx_v8_defconfig             |    1 +
 arch/arm/dts/Makefile                         |    1 +
 arch/arm/dts/imx8mn-evk.dts                   |   62 +
 arch/arm/mach-imx/Kconfig                     |   16 +
 arch/arm/mach-imx/atf.c                       |    5 +
 arch/arm/mach-imx/boot.c                      |    6 +
 arch/arm/mach-imx/cpu_init.c                  |    3 +
 arch/arm/mach-imx/esdctl.c                    |    8 +
 arch/arm/mach-imx/imx-bbu-internal.c          |    8 +-
 arch/arm/mach-imx/imx.c                       |    4 +
 arch/arm/mach-imx/imx8m.c                     |   39 +-
 arch/arm/mach-imx/include/mach/atf.h          |    2 +
 arch/arm/mach-imx/include/mach/esdctl.h       |    1 +
 arch/arm/mach-imx/include/mach/generic.h      |   18 +-
 .../mach-imx/include/mach/imx8m-ccm-regs.h    |    1 +
 arch/arm/mach-imx/include/mach/imx8mn-regs.h  |   34 +
 arch/arm/mach-imx/include/mach/imx8mq.h       |   11 +
 .../arm/mach-imx/include/mach/imx_cpu_types.h |    1 +
 arch/arm/mach-imx/include/mach/iomux-mx8mn.h  |  774 ++++++++
 arch/arm/mach-imx/include/mach/xload.h        |    1 +
 drivers/clk/imx/Makefile                      |    2 +
 drivers/clk/imx/clk-imx8mn.c                  |  558 ++++++
 drivers/ddr/imx8m/Kconfig                     |    2 +-
 drivers/ddr/imx8m/ddr_init.c                  |    8 +-
 drivers/ddr/imx8m/ddrphy_train.c              |   26 +-
 drivers/ddr/imx8m/ddrphy_utils.c              |    3 +-
 drivers/mci/imx-esdhc-pbl.c                   |    3 +
 drivers/mci/imx-esdhc.c                       |    1 +
 drivers/nvmem/ocotp.c                         |    3 +
 drivers/pinctrl/imx-iomux-v3.c                |    2 +
 drivers/serial/serial_imx.c                   |    3 +
 drivers/usb/imx/imx-usb-misc.c                |    4 +
 firmware/Kconfig                              |    6 +
 firmware/Makefile                             |    7 +
 images/Makefile.imx                           |    6 +
 include/soc/imx8m/ddr.h                       |   22 +-
 scripts/imx/imx.c                             |    1 +
 scripts/imx/imx.h                             |    1 +
 53 files changed, 4655 insertions(+), 28 deletions(-)
 create mode 100644 Documentation/boards/imx/nxp-imx8mn-evk.rst
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/Makefile
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/board.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/ddr4-timing.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/flash-header-imx8mn-evk.imxcfg
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/lowlevel.c
 create mode 100644 arch/arm/boards/nxp-imx8mn-evk/lpddr4-timing.c
 create mode 100644 arch/arm/dts/imx8mn-evk.dts
 create mode 100644 arch/arm/mach-imx/include/mach/imx8mn-regs.h
 create mode 100644 arch/arm/mach-imx/include/mach/iomux-mx8mn.h
 create mode 100644 drivers/clk/imx/clk-imx8mn.c

-- 
2.30.2




More information about the barebox mailing list