[PATCH v2 2/2] ARM: i.MX8MP: add initial Polyhex DEBIX Model A support

Sascha Hauer sha at pengutronix.de
Fri Feb 10 01:45:40 PST 2023


On Wed, Feb 08, 2023 at 02:35:19PM +0100, Lucas Stach wrote:
> From: Ahmad Fatoum <a.fatoum at pengutronix.de>
> 
> The Polyhex DEBIX Model A is an i.MX8MP based Rpi form factor board.
> This commit imports the v6 of the Linux device tree[1], and the timings
> from the vendor U-Boot[2] and combines it with existing barebox i.MX8MP
> support.
> 
> [1]: https://lore.kernel.org/all/20221213152024.2638377-4-dan.scally@ideasonboard.com/
> [2]: https://github.com/debix-tech/uboot/blob/lf_v2021.04/board/freescale/imx8mp_evk/lpddr4_timing.c
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> [lst: cleaned up WIP patch]
> Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> ---
>  arch/arm/boards/Makefile                      |    1 +
>  arch/arm/boards/polyhex-debix/Makefile        |    4 +
>  arch/arm/boards/polyhex-debix/board.c         |   48 +
>  .../flash-header-polyhex-debix.imxcfg         |    7 +
>  arch/arm/boards/polyhex-debix/lowlevel.c      |  138 ++
>  arch/arm/boards/polyhex-debix/lpddr4-timing.c | 1849 +++++++++++++++++
>  arch/arm/dts/Makefile                         |    1 +
>  .../arm/dts/imx8mp-debix-model-a-upstream.dts |  506 +++++
>  arch/arm/dts/imx8mp-debix-model-a.dts         |   68 +
>  arch/arm/mach-imx/Kconfig                     |   10 +
>  images/Makefile.imx                           |    5 +
>  11 files changed, 2637 insertions(+)
>  create mode 100644 arch/arm/boards/polyhex-debix/Makefile
>  create mode 100644 arch/arm/boards/polyhex-debix/board.c
>  create mode 100644 arch/arm/boards/polyhex-debix/flash-header-polyhex-debix.imxcfg
>  create mode 100644 arch/arm/boards/polyhex-debix/lowlevel.c
>  create mode 100644 arch/arm/boards/polyhex-debix/lpddr4-timing.c
>  create mode 100644 arch/arm/dts/imx8mp-debix-model-a-upstream.dts
>  create mode 100644 arch/arm/dts/imx8mp-debix-model-a.dts

Added this board to imx_v8_defconfig while applying.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list