[U-Boot] [RFC PATCH 0/5] WIP Add support for i.MXRT family

Giulio Benetti giulio.benetti at benettiengineering.com
Wed Oct 30 21:09:01 UTC 2019


This patchset is a WIP for adding i.MXRT family.
It provides:
- soc family entry
- pinctrl driver
- serial driver tweaking
- partial sdram controller driver
- imxrt1050-evk board partial support

To get it working as at least SPL and Falcon mode it still needs sdram
controller driver to be finished and clock driver to be done.

I would like to receive some comment from you all since this is my first
big contribution(at least for me it is).

Giulio Benetti (5):
  Add support for the NXP IMXRT10xx SoC family
  pinctrl: add i.MXRT driver
  serial_lpuart: add support for i.MXRT
  ram: add SDRAM driver for i.MXRT SoCs
  Add support for the NXP IMXRT1050-EVK board

 arch/arm/Kconfig                              |  10 +
 arch/arm/Makefile                             |   4 +-
 arch/arm/dts/Makefile                         |   2 +
 arch/arm/dts/imxrt1050-evk.dts                | 124 +++
 arch/arm/dts/imxrt1050.dtsi                   |  73 ++
 arch/arm/include/asm/arch-imxrt/clock.h       |  10 +
 arch/arm/include/asm/arch-imxrt/gpio.h        |  10 +
 arch/arm/include/asm/arch-imxrt/imx-regs.h    |  10 +
 arch/arm/include/asm/arch-imxrt/imxrt.h       |  11 +
 arch/arm/mach-imx/Makefile                    |   1 +
 arch/arm/mach-imx/imxrt/Kconfig               |  17 +
 arch/arm/mach-imx/imxrt/Makefile              |   7 +
 arch/arm/mach-imx/imxrt/soc.c                 |  29 +
 board/freescale/imxrt1050-evk/Kconfig         |  19 +
 board/freescale/imxrt1050-evk/MAINTAINERS     |   6 +
 board/freescale/imxrt1050-evk/Makefile        |   6 +
 board/freescale/imxrt1050-evk/imxrt1050-evk.c |  94 ++
 configs/imxrt1050-evk_defconfig               |  52 +
 drivers/pinctrl/nxp/Kconfig                   |  14 +
 drivers/pinctrl/nxp/Makefile                  |   1 +
 drivers/pinctrl/nxp/pinctrl-imxrt.c           |  40 +
 drivers/ram/Kconfig                           |   8 +
 drivers/ram/Makefile                          |   2 +
 drivers/ram/imxrt_sdram.c                     | 406 +++++++
 drivers/serial/serial_lpuart.c                |  15 +-
 include/configs/imxrt1050-evk.h               |  68 ++
 include/dt-bindings/clock/imxrt-clock.h       | 272 +++++
 include/dt-bindings/memory/imxrt-sdram.h      | 168 +++
 include/dt-bindings/pinctrl/pins-imxrt1050.h  | 993 ++++++++++++++++++
 include/fsl_lpuart.h                          |   3 +-
 30 files changed, 2468 insertions(+), 7 deletions(-)
 create mode 100644 arch/arm/dts/imxrt1050-evk.dts
 create mode 100644 arch/arm/dts/imxrt1050.dtsi
 create mode 100644 arch/arm/include/asm/arch-imxrt/clock.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/gpio.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/imx-regs.h
 create mode 100644 arch/arm/include/asm/arch-imxrt/imxrt.h
 create mode 100644 arch/arm/mach-imx/imxrt/Kconfig
 create mode 100644 arch/arm/mach-imx/imxrt/Makefile
 create mode 100644 arch/arm/mach-imx/imxrt/soc.c
 create mode 100644 board/freescale/imxrt1050-evk/Kconfig
 create mode 100644 board/freescale/imxrt1050-evk/MAINTAINERS
 create mode 100644 board/freescale/imxrt1050-evk/Makefile
 create mode 100644 board/freescale/imxrt1050-evk/imxrt1050-evk.c
 create mode 100644 configs/imxrt1050-evk_defconfig
 create mode 100644 drivers/pinctrl/nxp/pinctrl-imxrt.c
 create mode 100644 drivers/ram/imxrt_sdram.c
 create mode 100644 include/configs/imxrt1050-evk.h
 create mode 100644 include/dt-bindings/clock/imxrt-clock.h
 create mode 100644 include/dt-bindings/memory/imxrt-sdram.h
 create mode 100644 include/dt-bindings/pinctrl/pins-imxrt1050.h

-- 
2.20.1



More information about the U-Boot mailing list