boards: mr_canhubk3: enable LPUART serial driver

Reuse existing MCUX-based shim driver for LPUART that is compatible with
the hardware block in S32K344. DMA is not yet supported.

Use the board's debug connector (P6 / LPUART2) as default console.

Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
Manuel Arguelles 2023-05-26 00:00:00 +00:00 committed by Mahesh Mahadevan
commit 405160ca62
7 changed files with 259 additions and 1 deletions

View file

@ -14,5 +14,7 @@ config SOC_SERIES_S32K3_M7
select PLATFORM_SPECIFIC_INIT if XIP
select USE_DT_CODE_PARTITION if XIP
select CLOCK_CONTROL
select HAS_MCUX
select HAS_MCUX_LPUART
help
Enable support for NXP S32K3 MCUs family on Cortex-M7 cores