[PATCH v2] ARM: i.MX8MP: add TQ mba8mpxl board

Sascha Hauer sha at pengutronix.de
Thu Oct 27 02:31:20 PDT 2022


On Wed, Oct 26, 2022 at 11:38:45AM +0200, Holger Assmann wrote:
> This commit adds support for the TQ MBa8MPxL with TQMa8MPxL module with
> i.MX8M Plus Quad/Dual SoC. This very combination results in configuration
> symbol "MACH_TQ_MBA8MPXL". A possible variant based on i.MX8M Plus Dual
> would be supported transparently, once barebox deleted the CPU nodes
> when it detects that they were fused away. It already does so for
> i.MX8MM and i.MX8MN.
> 
> We use the respective Linux upstream device trees and their implications
> regarding hardware support.
> 
> Known to be unsupported for now is the second Ethernet interface around
> the eqos dwmac IP. This has to be resolved by porting over the fitting
> wrapper from Linux.
> 
> Signed-off-by: Leonard Göhrs <l.goehrs at pengutronix.de>
> Signed-off-by: Holger Assmann <h.assmann at pengutronix.de>
> Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> 
> Changes v1 -> v2:
>  - removed barebox environment partname bindings in device tree
>  - streamlined bbu_flag determination in board.c
>  - removed trailing whitespace
>  - added review acknowledgement

Applied with two little changes. I enabled the board in
imx_v8_defconfig.

>  arch/arm/boards/mba8mpxl/Makefile             |    4 +
>  arch/arm/boards/mba8mpxl/board.c              |   49 +

Also I renamed the board directory to tqma8mpxl as this aligns better
with the other TQ boards. With this we use the SoM name rather than
the baseboard name, but I think that's fine as other baseboards for this
SoM could be handled in that directory as well.

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