Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce support for NXP MR-CANHUBK3 board #58332

Merged
merged 12 commits into from
Jul 6, 2023

Commits on Jul 5, 2023

  1. soc: arm: introduce support for NXP S32K344

    The S32K3 MCUs are 32-bit Arm Cortex-M7-based microcontrollers with a
    focus on automotive and industrial applications. The S32K344 features
    a lock-step core, internal flash, RAM and TCM with ECC.
    
    Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
    Co-authored-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    3 people committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    0c23e7e View commit details
    Browse the repository at this point in the history
  2. soc: nxp: s32k: support minimal power and reset

    Introduce minimal power initialization for NXP S32 SoCs and allow to
    reset the SoC through the sys_reboot() API.
    
    Presently only S32K3 SoCs is supported but it can be extended later to
    other NXP S32 SoCs, hence it's placed in a common directory.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    59fe8ce View commit details
    Browse the repository at this point in the history
  3. boards: arm: introduce NXP MR-CANHUBK3 board

    NXP MR-CANHUBK3 is an evaluation board for mobile robotics applications.
    It features an NXP S32K344 MCU based on an Arm Cortex-M7 core
    (lock-step).
    
    By default, this board configuration uses Lauterbach TRACE32 West runner
    for flashing and debugging applications, but other debuggers can be used
    to download the program to flash.
    
    Co-authored-by: Dat Nguyen Duy <dat.nguyenduy@nxp.com>
    Co-authored-by: Cong Nguyen Huu <cong.nguyenhuu@nxp.com>
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    3 people committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    311242d View commit details
    Browse the repository at this point in the history
  4. drivers: clock_control: add NXP S32 driver

    The clock controller is a singleton controller for all the system-level
    clocks (XOSC, PLL, CGM, etc) to provide run-time information to the
    peripheral device drivers about the module's clocks.
    Clock configuration is not yet supported.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    f76bf61 View commit details
    Browse the repository at this point in the history
  5. soc: nxp: s32k3: enable clock control

    Enable clock control by default on S32K344 SoCs and add clock
    definitions.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    e35ad6b View commit details
    Browse the repository at this point in the history
  6. soc: nxp_s32: generalize pinctrl header for all family

    Unify the pinctrl_soc.h header for all the NXP S32 family by using
    the HAL macros that expose the features supported on specific
    devices. This approach still need a different binding for each device to
    expose in DT different properties and allowed values.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ee65721 View commit details
    Browse the repository at this point in the history
  7. boards: mr_canhubk3: support pinctrl

    Support pin control for NXP S32K3 devices and enable it by default on
    mr_canhubk3 board configuration.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    054982b View commit details
    Browse the repository at this point in the history
  8. drivers: intc: nxp_s32: support multiple interrupt handlers

    SIUL2 may require multiple interrupt handlers instead of a single one as
    currently supported for S32Z/E. This is needed to enable support on
    S32K3.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    c74b532 View commit details
    Browse the repository at this point in the history
  9. boards: arm: mr_canhubk3: add support for GPIO

    Add GPIO support for mr_canhubk3 board and enable GPIO tests.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    3eca7b1 View commit details
    Browse the repository at this point in the history
  10. modules: mcux: allow to build with MCUX for NXP S32 devices

    Some NXP S32 devices share common harwdware blocks with other non-S32
    devices which are already supported using MCUX-based drivers. In order
    to leverage existing support, allow to build with MCUX enabled for NXP
    S32 family.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    78c8aac View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. 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>
    manuargue committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    1b6b142 View commit details
    Browse the repository at this point in the history
  2. boards: arm: mr_canhubk3: add docs

    Document current support for mr_canhubk3 board.
    
    Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
    manuargue committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8a75545 View commit details
    Browse the repository at this point in the history